@pryo/environment
v0.0.1
Published
Pryo runtime environment
Downloads
2
Readme
pryo-environment
Write yeoman generators in project instead of another package.
Usage
Folder structure
├───package.json
├───src
└───generators/
├───app/
│ └───index.js
└───router/
└───index.js
Then use `npm bin`/pryo app to execute generator generators/app/index.js
You can custom generators by add generator-folder
field to package.json
Use other installed generators
Simply use pryo
instead of yo
.
For example, I installed generator-angular, then you can execute `npm bin`/pryo angular:controller user to generate controller files.
Example
Read example for more detail.