node package manager


Default tasks for testing and packaging with Grunt.


Tool which uses Grunt to:

  • Lint
  • Test
  • Package
  • Minimise

Use npm init on your project. Place JavaScript under src. Place nodeunit tests under test. If you would like to build for the browser, add the following to package.json:

"grumble": {
  "export": "State"

Now install grumble and you're good to go:

npm install --save-dev grumble