generator-base
Generator for creating Yeoman generators that are capable of remembering certain user answers, resulting in a better user experience. Generators come with the basic necessities, including docs.
Install
Install globally with npm:
npm i -g generator-base
Usage
Once installed globally, simply run:
yo base
to to start a new project
yo base
Running the generator with yo base
will add the following files to your project:
app
: this is the controller for your generator, inside this directory you will also find the main templates used by your generator.docs
: basic starter documentation for your generator..verbrc.md
: a "docs-config" file for Verb. YAML front-matter can be used in this file, and the markdown content is used to generate your project's README.md.test
: the test directory for your generatorpackage.json
: with minimal properties defined.LICENSE-MIT
.gitattributes
.gitignore
.jshintrc
Generator options
Command: -s
| --skip-install
Skips the automatic execution of bower
and npm
after scaffolding has finished.
Command: -w
| --skip-welcome-message
Skips the Yeoman welcome message.
Author
Jon Schlinkert
Brian Woodward
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on May 02, 2014.