Generator that helps to set up a simple node project in coffeescript.
No bullshit. No boilerplate. Just a good simple foundation to build upon.
-
Grunt
- test running
- linting
- watchers
- building
- version bumps
-
Mocha
should.js
by default- coveralls support
-
Coffeelint
-
Out of the box travis support
To install generator-node-cs, run:
$ npm install -g generator-node-cs
Initialize the generator:
$ yo node-cs
Start hacking!
Running spec tests and lint your amazing code
$ grunt test
Coverage (you will need to pipe the results)
$ grunt cov > cov.html
Building coffeescript to js
$ grunt build
Bump the version
$ grunt bump
Linting your coffeescript (by rules defined in coffeelint.json)
$ grunt lint
Watching files for changes. Will trigger test
job on file changes
$ grunt watch
MIT