git clone https://github.com/iammerrick/dot-grunt.git ~/.grunt
These are my .grunt
directory files.
Quickly scaffold a Backbone.js project driven by Require.js.
- Unit testing with Mocha.js.
- Stubbing and assertion support with Sinon and Chai.js.
- Optimization with r.js.
- Run your tests with PhantomJS.
- Develop without optimization, staying true to the Require.js principles.
- Lint integration with JSHint.
- Tied together with Grunt.js
grunt init:requirejs-backbone
npm install
grunt test
- Run your unit tests with PhantomJS.grunt requirejs
- Optimize your project with r.js.grunt lint
- Run JSHintgrunt build
- Lint, Test and Optimize. In that order.
Quickly scaffold an optimist driven command-line interface. This will automatically create a set of boilerplate files for creating and testing your awesome new program. It will automatically set the permissions and link your new binary for immediate use anywhere in your command-line environment.
grunt init:cli
- Make someones life better.
Quickly scaffold an algorithm garden. It provides a Mocha test structure with expect style syntax from Chai. Quickly work on the algorithm itself, instead of tedious set up. Great for algorithm problems in general whether you are running through Project Euler or practicing for your big job interview. The algorithm scaffold is a great place to start.
grunt init:algorithm
npm install
- Improve yourself.