Now that we have an overview on using Grunt and the power that it can bring to a new or existing project, let's use the Yeoman Grunt plugin generator to create a custom Grunt plugin that will allow the use of custom created tasks in any project.
To install the Yeoman Grunt plugin generator, execute the following command:
$ npm install -g generator-gruntplugin
The preceding command will install the Grunt plugin generator globally on your system, allowing the use of the
yo gruntplugin command from within any directory.
To use the Grunt plugin generator, execute the following command:
$ yo gruntplugin
The directory structure that is created contains very few files ...