Skip to content

randylien/generator-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yeoman Generator for Yeoman Generators

Build Status

Yo dawg, I heard you like generators?

generator-generator scaffolds out a new basic Yeoman generator with some sensible defaults.

How is this different from the built-in generator?

The built-in yo generator command only generates an index.js file for you. generator-generator instead comes with a full project directory structure:

.
├── app
│   ├── index.js
│   └── templates
│       ├── editorconfig
│       └── jshintrc
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .jshintrc
├── LICENSE
├── package.json
├── README.md
└── test
    ├── test-creation.js
    └── test-load.js

Last but not least, you don't need to copy-paste the ASCII Art Yeoman anymore. \o/

Getting started

  • Make sure you have yo installed: npm install -g yo
  • Install the generator locally: npm install generator-generator
  • Run: yo generator:app (Be sure to include :app as generator alone is part of yeoman itself.)

License

MIT License | (c) Pascal Hartig

About

An improved generator for creating your own yeoman scaffolds with sensible defaults.

Resources

License

Stars

Watchers

Forks

Packages

No packages published