0.1.2 • Published 9 years ago
generator-dev-cli v0.1.2
generator-dev-cli 
A simple cli for creating a enviroment of plugin development
Installation
First, install Yeoman and generator-dev-cli using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-dev-cliThen generate your new project:
yo dev-cliFinally install dependencies for new project:
npm installUsage
You can use either es6 or cjs to write your own plugin in the directory of src, and the entry file is index.js.
I recommond you to use es6 which gets a better support by rollup.
Build your plugin:
npm run build <plugin-name>Compress your plugin:
npm run compressBuild and compress:
npm run build-prod <plugin-name>Test your plugin:
npm testGetting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © lsa2127291