Tutorial by Examples

Prerequesites Grunt requires Node.js and npm to be installed. If you don’t have Node.js and/or npm installed on your machine, go to https://nodejs.org and download the installer or package for your operating system. First-time install If you're installing Grunt for the first time, you'll first ha...
Run grunt -h to see the following: Command line parameters All available standalone tasks in the Gruntfile of the current directory All subtasks of each suite of tasks in the Gruntfile of the current directory
Tasks in configuration All attributes of grunt.initConfig are valid tasks, so if your Gruntfile looks like this: module.exports = function(grunt) { grunt.initConfig({ jshint: { files: ['Gruntfile.js'], } }); grunt.loadNpmTasks('grunt-contrib-jshint...

Page 1 of 1