generator-koapp-service
Scaffold out a King of App service
Installation
First, install Yeoman and generator-koapp-service using npm (we assume you have pre-installed node.js).
npm install -g yonpm install -g gulpnpm install -g generator-koapp-service
Generate your new service:
yo koapp-service serviceName
Optionally, you can include the following flags:
-u authorName
-w authorHomepage
-s spanishDescription
-e englishDescription
-p price
-l license
-c categories
separated by comma
Then start your new service:
cd {Project-name} && gulp
Automated Tasks (Gulp)
Main Tasks
gulp
It runswatch-config
,watch-bower
,watch-documentation
gulp distribution
It runsdist-zip
All Tasks
gulp jsdoc
It creates JsDoc documentation.gulp watch-documentation
It is monitoring for changes in documentation, also it will update config.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-service.git && cd generator-koapp-service
- Install all dependencies
npm install
- Added to local NPM
npm link
- Execute it
yo
- Test your changes ;-)
npm test
License
MIT © King of App