Links
Snippets
Quick start example
From: Getting Started
- Requirements
grunt-clisudo npm install -g grunt-clior equivalent.- Only
grunt-cliis shared. Each package usinggruntwill typically keep its own verion ofgruntlocally.
- Basic
packages.json{ "name": "example_01", "version": "0.0.1", "devDependencies": { "grunt": "~0.4.0", "grunt-contrib-jshint": "~0.1.1", "grunt-contrib-nodeunit": "~0.1.2" } }
- Now install
gruntalongside the package.npm install grunt --save-dev- This creates a
node_modulesin a current directory if one didn't already exist.
- Continue … http://gruntjs.com/getting-started