 $ = require 'jquery'
 _ = require 'underscore'
 fsUtils = require 'fs-utils'
+path = require 'path'
 
 module.exports =
 class PackageGeneratorView extends View


  getPackagePath: ->
    packagePath = @miniEditor.getText()
    packageName = _.dasherize(fsUtils.base(packagePath))
    fsUtils.join(fsUtils.directory(packagePath), packageName)

  validPackagePath: ->


  createPackageFiles: ->
    templatePath = fsUtils.resolveOnLoadPath(fsUtils.join("package-generator", "template"))
    packageName = path.basename(@getPackagePath())

    for path in fsUtils.listTree(templatePath)
      relativePath = path.replace(templatePath, "")
