New react projects should be bootstrapped with CRA, and this repo should be generally considered deprecated.
This provides a minimal react starter application with some sensible defaults:
- clone this repo
- run
yarn install - run
yarn startto start the dev-server.
- run
yarn test - run
yarn coverage
- ES7/2016
- environment based configuration
- es-lint with AirBnB style
- Prettier
- Precommit hooks for linting and formatting.
- JS/CSS minification/uglification.
- dev server with hot module replacement
- Jest - Facebook's test runner.
- Enzyme - AirBnB's react testing utils, including a jQuery like API for component manipulation and DOM traversal.
- SASS integration via
sass-loaderandnode-sass-chokidar. - Using vanilla-framework-react
- Example vanilla component usage in
components/HelloWorld.js
- Redux - state management with actions and reducers.
- Lodash - swissarmy knife lib with many useful functional tools.