grunt-init-browser

Grunt init template for generating and testing multiple versions of a browser script

grunt-init-browser

Grunt init template for generating and testing multiple versions of a browser script

This template creates a vanilla JS and require.js out of the box in minified and unminified flavors.

More variants can be added via mustache templates.

Install grunt-init-browser globally and call it from the shell

sudo npm install -g grunt-init-browser
grunt-grunt-init-browser

The browser template should be added to your grunt userDir (~/.grunt for Linux or %USERPROFILE% for Windows).

You can now call grunt init:browser and the init prompt will start.

Clone the repository, enter the directory, and run grunt to install grunt-grunt-init-browser.

git clone git://github.com/twolfson/grunt-init-browser.git grunt-grunt-init-browser
cd grunt-grunt-init-browser
grunt

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint your code using grunt and test via npm test.

Copyright (c) 2013 Todd Wolfson Licensed under the MIT license.