0.2.8 • Published 3 years ago
generator-zjcomeon v0.2.8
generator-zjcomeon
自定义generator initializing -- 初始化方法(检查状态、获取配置等) prompting -- 获取用户交互数据(this.prompt()) configuring -- 编辑和配置项目的配置文件 default -- 如果generator内部还有不符合任意一个任务队列任务名的方法,将会被放在default这个任务下进行运行 writing -- 填充预置模板 conflicts -- 处理冲突(仅限内部使用) install -- 进行依赖的安装(eg:npm,bower) end -- 最后调用,做一些clean工作
Installation
First, install Yeoman and generator-zjcomeon using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-zjcomeon
Then generate your new project:
yo zjcomeon
Getting 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 © wzj