generator-geniemouse-base
v2.0.3
Published
A Yeoman generator for producing base project structure and configuration files.
Downloads
2
Maintainers
Readme
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-base
Configuration
- Make a project directory and
cd
into it
mkdir YOUR_PROJECT_NAME && cd $_
- Call on
yo
to create the scaffold fromgeniemouse-base
generator
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:prettier
Related links
- Read more about Yeoman generators?
- Full Yeoman API