README
generator-koapp-module

Scaffold out a King of App Module
Installation
First, install Yeoman and generator-koapp-module using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g gulp
npm install -g generator-koapp-module
Generate your new module:
yo koapp-module moduleName
Optionally, you can include the following flags:
-u authorName-w authorHomepage-s spanishDescription-e englishDescription-p price-l license-c categoriesseparated by comma
Then start your new module:
cd {Project-name} && gulp
Automated Tasks (Gulp)
Main Tasks
gulpIt runswatch-config,watch-bower,watch-documentationgulp distributionIt runsdist-zip
All Tasks
gulp lintLinter for your code.gulp e2eIt runs integration test with Protractor.gulp jsdocIt creates JsDoc documentation.gulp dist-zipIt generates a compression file ready to uploadgulp watch-documentationIt is monitoring for changes in documentation, also it will update config.jsongulp watch-bowerIt's monitoring for changes in bower.json.gulp watch-configIt's monitoring for changes in config.json, also it will update a../../app/core/structure.json
Contribution
Please open an issue with your suggestion/question.
If you want to improve the code, please follow these steps and submit a pull request.
- Download
git clone https://github.com/KingofApp/generator-koapp-module.git && cd generator-koapp-module
- Install all dependencies
npm install
- Added to local NPM
npm link
- Execute it
yo
- Test your changes ;-)
npm test
License
MIT © King of App