generator-mygenerator

0.0.3 • Public • Published

generator-mygenerator

Generate a Yeoman generator

what is mygenerator

mygenerator and generator-generator, is used to more easily generate yeoman generator tool. Different from the official generator which copying and templating files one by one, I think that the interaction with the user to generate a complete phase configuration, all files for batch processing, files beginning with _ need templating, or direct copy. The advantage of this:

  1. Do not need to change your code when modify the template files. It really relaxing.
  2. It is convenient to process the template directory automatically by the prefix _ and configuration props on this, you don't need to use template or copy files.
  3. Clear directory structure

Getting started

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

What do you get?

Scaffolds out a complete project directory structure for you:

.
├── generators
│   └── app
│       ├── index.js
│       └── templates
│           ├── _bower.json
│           ├── _package.json
│           └── index.js
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .jshintrc
├── .travis.yml
├── .yo-rc.json
├── package.json
├── README.md
└── test
    └── test-app.js

License

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

Package Sidebar

Install

npm i generator-mygenerator

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • yeatz