README
generator-jrreact
Yeoman generator for React web projects. Mostly just for personal use, given it uses a set list of technologies based on personal preference:
- React
- Yarn (if installed, otherwise npm)
- Webpack 2
- Babel (with object rest spread and class property plugins)
- Jest
- Enzyme
- Sass
- Autoprefixer
- eslint (based mostly on airbnb rules)
- sass-lint
- Github Pages deployment (
npm run deploy
).
Other tools not included with this generator that I would recommend are:
- react-hot-loader (React hot reloading)
- react-router (routing)
- react-intl (internationalisation)
- Redux or MobX (state management)
- React Storybook (component development environment)
- TypeScript (static types)
- Prettier (code formatting)
- Husky (Git hooks)
- Travis or Circle CI (continuous integration)
Prerequisites
npm i -g yo
Installation
npm i -g generator-jrreact
Usage
yo jrreact