     namespace: undefined
     isPlugin: undefined
     umd: {}
+    sort: {}
   }
   (options) ->
     name ?= util.loadPackageJson().name

config = require('../../config')
util = require('../../util')
umd = require('../umd')

formatName = (name) ->
  name.replace(/-(.)/, (match, x) -> x.toUpperCase())

    options.namespace ?= options.exports

    return lib.pipe.lazypipe()
    .pipe -> sort(options.sort)
    .pipe -> lib.pipe.concat("#{name}.coffee")
    .pipe -> lib.metadata.data((file) ->
      file.data ?= {}
