grunt-init-mootools

Grunt plugin to generate Mootools plugin stub.

MooTools plugin template (Grunt 0.3)

This is a boilerplate to generate MooTools plugins using Grunt.

Please note, that it is for now-outdated Grunt 0.3 version. The new grunt-init that complements Grunt 0.4 doesn't seem to allow to put multiple templates into one package. The solution will probably be to create a yo generator instead.

  1. Install this Grunt plugin with:
```bash
$ npm install -g grunt-init-mootools
```
  1. Create a new grunt MooTools plugin stub in an empty directory
```bash
$ grunt-init-mootools init:mootools
```
  1. Answer some questions.

  2. Now you have your new plugin stub ready. These files with the placeholder code have been created:

* Docs
  * ProjectName.md
* Source
  * ProjectName.js
* Specs
  * ProjectName.js
  * Tests.html
* grunt.js
* README.md
* LICENSE.md
* package.yml

Now just add code, specs and API docs into the prepared template files

  1. To create additional set of a source, specs and docs files, type in your previously initialized project directory:
```bash
$ grunt-init-mootools init:class
```
  1. Answer some questions.

  2. You're done, have fun.

This work is based on Grunt init template generator from Rodrigo Valerio and borrows a lot from Grunt's own init templates.

Copyright (c) 2013 Korney Czukowski. Licensed under the MIT license.