generator-wejs
v1.8.0
Published
We.js Yeoman generator for generate plugins, themes and projects
Downloads
30
Maintainers
Readme
We.js generator | generator-wejs
A Yeoman generator for generate we.js projects, plugins, themes and clientside modules
Features
- yo wejs:app :white_check_mark:
- yo wejs:blog :white_check_mark: ( for create blog project )
- yo wejs:plugin :white_check_mark:
- yo wejs:theme :white_check_mark:
- yo wejs:widget :white_check_mark:
- yo wejs:helper :white_check_mark:
- yo wejs:resource :white_check_mark:
Requirements
- Yeoman duuhh!
install it with npm
npm install -g yo
Getting Started
What is this npm module?
It generate structures for we.js features like plugins. with example files, configs and tests
How to install the generator
To install generator-wejs from npm, run:
npm install -g generator-wejs
How to generate things?
Generate one simple app structure
yo wejs:app
Generate one we.js plugin
yo wejs:plugin
Generate one we.js theme
yo wejs:theme
Generate one we.js blog project
yo wejs:blog
Generate one we.js template helper file
yo wejs:helper
Generate resource CRUD
yo wejs:resource attr1:type attr2:type
Generate Swagger documentation
yo wejs:doc
How to test
we test
For run only 'wejs:plugin' test use:
we-test -g 'wejs:plugin'
Magicaly update all project generators
npm run upp
Links
- We.js site: http://wejs.org
Sponsors
- Linky - https://linkysystems.com
License
MIT License Copyright © 2015-present, Alberto Souza