My dot grunt files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



git clone ~/.grunt


These are my .grunt directory files.

grunt init:requirejs-backbone

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
  1. grunt init:requirejs-backbone
  2. npm install
Available Commands
  1. grunt test - Run your unit tests with PhantomJS.
  2. grunt requirejs - Optimize your project with r.js.
  3. grunt lint - Run JSHint
  4. grunt build - Lint, Test and Optimize. In that order.

Require.js + Backbone using init:requirejs-backbone

grunt init:cli

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.

  1. grunt init:cli
  2. Make someones life better.

Hello World using init:cli

grunt init:algorithm

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.

  1. grunt init:algorithm
  2. npm install
  3. Improve yourself.

Fibonacci Using init:algorithm