At the base of every Grunt plugin lies a Node.js project that contains information about its purpose, version, dependencies, and so forth. Due to the basic project structure for all Grunt plugins being pretty much the same, we'll make use of a project generator to provide us with a starting point.
In this recipe, we'll make use of the Yeoman project's scaffolding tool to generate our basic Grunt plugin project. It provides generators for a large variety of project setups, all of which have Grunt as their core automation tool.
You can learn more about the Yeoman project at the following URL:
The only requirement for this recipe is a global installation of Node.js, with Grunt installed ...