This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
grunt-init-node-bin with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Create a Grunt Task module with grunt-init, including:
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
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.
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)
Copyright (c) We Are Interactive under the MIT license.