generator-generator

Generate a Yeoman generator

Github星跟踪图

generator-generator Build Status Coverage Status

Yeoman generator generating a Yeoman generator

Yo dawg, I heard you like generators?

Getting started

  • Install: npm install -g generator-generator
  • Run: yo generator

Commands

  • yo generator shows a wizard for generating a new generator
  • yo generator:subgenerator <name> generates a subgenerator with the name <name>

What do you get?

Scaffolds out a complete generator directory structure for you:

.
├── generators/
│   └── app/
│       ├── index.js
│       └── templates/
│           └── dummyfile.txt
├── .editorconfig
├── .eslintignore
├── .gitattributes
├── .gitignore
├── .travis.yml
├── .yo-rc.json
├── LICENSE
├── README.md
├── package.json
└── __tests__/
    └── app.js

Refer to our documentation to learn more about creating a Yeoman generator.

Running tests

Run npm test to run your test suite.

These tests will be run automatically in your git repository if you connect Travis CI. You can also track test coverage using Coveralls.

Contributing

See the contribution docs.

When submitting an issue, please follow the
guidelines
.
It is especially important to make sure Yeoman is up-to-date, and providing the
command or commands that cause the issue.

License

MIT © Pascal Hartig phartig@rdrei.net and other contributors

主要指标

概览
名称与所有者yeoman/generator-generator
主编程语言JavaScript
编程语言JavaScript (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-03-03 06:05:35
推送于2025-11-02 00:01:22
最后一次提交
发布数33
最新版本名称v5.2.0 (发布于 )
第一版名称v0.1.0 (发布于 2013-03-03 06:53:34)
用户参与
星数1.2k
关注者数39
派生数244
提交数325
已启用问题?
问题数144
打开的问题数9
拉请求数90
打开的拉请求数5
关闭的拉请求数36
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?