Skip to content

Instantly share code, notes, and snippets.

@melvinstanly
Last active February 6, 2020 06:33
Show Gist options
  • Save melvinstanly/0651a433309b1350baa50163c660923b to your computer and use it in GitHub Desktop.
Save melvinstanly/0651a433309b1350baa50163c660923b to your computer and use it in GitHub Desktop.
Installing Grunt in Project
NB : Node should be installed
Installing grunt CLI globally
* npm install -g grunt-cli
Go to project folder and enter
* npm install grunt --save-dev
Install the modules required
* npm install grunt-contrib-watch --save-dev
* npm install grunt-contrib-concat --save-dev
* npm install grunt-contrib-cssmin --save-dev
* npm install grunt-contrib-uglify --save-dev
N.B : Use `sudo` before npm in cli if using mac os( Not necessary.Only if there is any error )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment