Create a Grunt Task module with grunt-init, including:
This is based on the default gruntplugin from gruntjs.
DEPRICATION NOTICE: this project hasn't been maintained and updated for a while now. Please use as is and send PRs if you need changes.
If you haven't already done so, install grunt-init.
Once grunt-init is installed, place this template in your ~/.grunt-init/
directory. It's recommended that you use git to clone this template into that
directory, as follows:
$ git clone https://github.com/weareinteractive/grunt-init-node-bin.git ~/.grunt-init/node-bin
At the command-line, cd into an empty directory, run this command and follow the prompts.
$ grunt-init node-bin
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) We Are Interactive under the MIT license.