🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

generator-koapp-module

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-koapp-module

Scaffold out a King of App Module

1.1.10
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
4
Weekly downloads
 
Created
Source

generator-koapp-module

Koa-logo

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 categories separated by comma

Then start your new module:

cd {Project-name} && gulp

Automated Tasks (Gulp)

Main Tasks

  • gulp It runs watch-config, watch-bower, watch-documentation
  • gulp distribution It runs dist-zip

All Tasks

  • gulp lint Linter for your code.
  • gulp e2e It runs integration test with Protractor.
  • gulp jsdoc It creates JsDoc documentation.
  • gulp dist-zip It generates a compression file ready to upload
  • gulp watch-documentation It is monitoring for changes in documentation, also it will update config.json
  • gulp watch-bower It's monitoring for changes in bower.json.
  • gulp watch-config It'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

Keywords

yeoman-generator

FAQs

Package last updated on 23 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts