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.
- Install this Grunt plugin with:
```bash
$ npm install -g grunt-init-mootools
```
- Create a new grunt MooTools plugin stub in an empty directory
```bash
$ grunt-init-mootools init:mootools
```
-
Answer some questions.
-
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
- To create additional set of a source, specs and docs files, type in your previously initialized project directory:
```bash
$ grunt-init-mootools init:class
```
-
Answer some questions.
-
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.