generator-effective
a opinionated and progressive generator to make package.json and thousands of configs effective
Installation
First, install Yeoman and generator-effective using npm (we assume you have pre-installed node.js).
npm install -g yonpm install -g generator-effective
Run one of subgenerators yo effective:[subgenerator]
like:
# init TypeScript for your project yo effective:typescript
Subgenerators
- commitlint -- Add commitlint
- eslint -- Enable eslint
-
lint-staged -- Configure project to run lint-staged at git hook
precommit
-
prettier -- Configure project to format files by
prettier
- typescript -- Enable TypeScript development environment
- react -- Enable React developement enviroment
Composite subgenerators
et
-- Compose with ESLint and Typesciprtep
-- Compose with ESLint and Prettierept
-- Compose with ESLint, Prettier and Typescript
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT © edvardchen