npm install -g grunt-cli
You can do that on your command shell as Administrator (for Windows). For more details read here - http://gruntjs.com/getting-started
The Website project contains NPM configuration file, called package.json
and Grunt configuration file, called gruntfile.js
.
When you open a project with a package.json
in Visual Studio 2015, an NPM installs packages automatically into the project folder node_modules
.
gruntfile.js
, right click and select Task Runner Explorer
.
On "Task Runner Explorer" window you will see the list of Grunt
tasks, like less, mergeSvg, uglifyCompileScripts ...
build
task.Start console and press F5 in your Browser.