Grunt
Once your local dev environment is set-up, it's a good idea to get started with Grunt. This is an extremely powerful JavaScript task runner, a build tool and and automation tool.
Some typical Grunt taks:
Concatenation.
Minification.
Pre-processing Sass and Coffeescript.
Image Optimization.
Running tests.
Starting a development Server.
Installation:
Global: npm -g install grunt-cli
Dev: npm install grunt --save-dev
Create a package.json file in your root directory with npm init
Create a Gruntfile.js
npm install
to install dependencies.
Here is an example of Grunt compiling SASS.
Last updated
Was this helpful?