Synopsis
CoffeeScript to JavaScript transformer for James.js.
james = require 'james'coffee = require 'james-coffee' module.exports = tasks = = -> jameslist 'src/**/*.coffee' filesforEach jamesreadfile transformcoffee bare: true write filereplace'src''dist'replace '.coffee''.js'
API
createStream(options)
Returns a new CoffeeScript compiler pipe with given options.
literate: boolean : Expect literate CoffeeScript instead of regular.
bare: boolean : Don't wrap source to a closure.
header: boolean : Print "// Compiled with CoffeeScript 1.x" on top of the compiled js file.
// TODO:
sourceMap: boolean : Produce source map