grunt-init-browser

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

npm install grunt-init-browser
8 downloads in the last week
17 downloads in the last month

grunt-init-browser Donate on Gittip

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.

Getting Started

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.

Manual Install

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

Contributing

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.

License

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

npm loves you