npm install universalgrunt-init template for making a universal JavaScript module
grunt-init and the template
sh
$ npm install -g grunt-init
$ git clone https://github.com/ryanve/universal.git .grunt-init/universal
`
#### Setup a new project via the template
`sh
$ mkdir example # or clone a repo
$ cd example
$ grunt-init universal
`
#### Install devDependencies and then run grunt tasks
`sh
$ npm install # install dependencies listed in local package.json
`
#### grunt tasks
Builds for distribution are created in the package root via grunt based on the package.json .main field.
`sh
$ grunt jshint:all # jshint all applicable files
$ grunt jshint:sub # jshint in all sub dirs
$ grunt test # run tests
$ grunt build # generate a build in the package root named by .main in package.json
$ grunt # run the "default" task
``