Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeoman/generator-generator
Generate a Yeoman generator
https://github.com/yeoman/generator-generator
Last synced: 2 days ago
JSON representation
Generate a Yeoman generator
- Host: GitHub
- URL: https://github.com/yeoman/generator-generator
- Owner: yeoman
- Created: 2013-03-02T22:05:35.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T07:56:39.000Z (19 days ago)
- Last Synced: 2025-01-17T00:08:27.271Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 721 KB
- Stars: 1,235
- Watchers: 40
- Forks: 241
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-boilerplates - generator-generator - Generate a Yeoman generator (Web Development)
- jimsghstars - yeoman/generator-generator - Generate a Yeoman generator (JavaScript)
README
# generator-generator [![Build Status](https://secure.travis-ci.org/yeoman/generator-generator.svg?branch=master)](https://travis-ci.org/yeoman/generator-generator) [![Coverage Status](https://coveralls.io/repos/yeoman/generator-generator/badge.svg?branch=master&service=github)](https://coveralls.io/github/yeoman/generator-generator?branch=master)
> Yeoman generator generating a Yeoman generator
![Yo dawg, I heard you like generators?](http://i.imgur.com/2gqiift.jpg)
## Getting started
- Install: `npm install -g yo generator-generator`
- Run: `yo generator`## Commands
* `yo generator` shows a wizard for generating a new generator
* `yo generator:subgenerator ` generates a subgenerator with the 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](http://yeoman.io/authoring/) 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](https://travis-ci.org/profile). You can also track test coverage using [Coveralls](https://coveralls.io).
## Contributing
See the [contribution docs](http://yeoman.io/contributing/).
When submitting an issue, please follow [the
guidelines](http://yeoman.io/contributing/opening-issues.html).
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 and other contributors