ship lib and src when using coffeescript #3

mwawrusch opened this Issue Dec 21, 2011 · 0 comments


None yet

2 participants


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/*",
"watch" : "node_modules/.bin/coffee -c -w -o lib src"

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

In addition this allows you to make "coffee-script": "1.2.x" a dev dependency only,

@drd0rk drd0rk closed this in 8a1f6df Dec 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment