drd0rk/strgen — Issue #3: ship lib and src when using coffeescript
Author: mwawrusch
Created: 2011-12-21 12:31:31+00:00
State: open

It is much better form to ship compiled coffeescript code in lib and src in source. You can do something like this:

"scripts": {
"test": "NODE_ENV=test node_modules/.bin/vows --spec spec/*-spec.coffee",
"watch" : "node_modules/.bin/coffee -c -w -o lib src",
},

in your package json and develop with
npm run-script watch