generator-gruntfilejs
Yeoman generator to create the Gruntfile.js
file.
Features:
- Create a
Gruntfile.js
file. - Allow to enable plugins:
grunt-babel
,grunt-contrib-clean
,grunt-contrib-jshint
,grunt-contrib-uglify
... - Allow to update the
devDependencies
property of thepackage.json
file with the plugins to enable. If this feature needed, thepackage.json
file must already exist, for example, using thegenerator-packagejson
generator. - Allow to create the
.jshintrc
file whengrunt-contrib-jshint
to enable. - Allow to install dependencies.
Other generators:
-
generator-packagejson
. Yeoman generator to create thepackage.json
file.
Install
npm install -g generator-gruntfilejs
Usage
Once created the project directory, run:
yo gruntfilejs