2.0.3 • Published 6 years ago
generator-geniemouse-base v2.0.3
Base project generator
Yeoman generator that produces base project structure.
Out-of-the-box
Accepting the default options (ESLint, Prettier, Jest), geniemouse-base adds the following packages (and rulesets):
Generated files
.
├── __tests__/ *
├── .editorconfig
├── .eslintignore *
├── .eslintrc *
├── .gitattributes
├── .gitignore
├── .prettierrc.js *
├── .prettierignore *
├── package.json
├── CHANGELOG.md
└── README.md
* Installed only if related package is.Installation
Install Yeoman (yo) & generator-geniemouse-base globally.
# Using npm:
npm install --global yo generator-geniemouse-base
# Using yarn:
yarn global add yo generator-geniemouse-baseConfiguration
- Make a project directory and
cdinto it
mkdir YOUR_PROJECT_NAME && cd $_- Call on
yoto create the scaffold fromgeniemouse-basegenerator
yo geniemouse-base(Calling yo on its own lists all the installed generators, which can be selected and run from there.)
- Yeoman will run through a series of questions; customize the choices, as you see fit.
Sub-generators
Each of the project features is available as a sub-generator, which can be called individually:
# ESLint install
yo geniemouse-base:eslint
# Jest install
yo geniemouse-base:jest
# Prettier install
yo geniemouse-base:prettierRelated links
- Read more about Yeoman generators?
- Full Yeoman API