This is a boilerplate for starting a new React Application with the following configured:
- webpack
- babel
- react-hot-loader
- jest
- prettier
- accessibility (jsx-a11y, react-axe)
- React Strict Mode
- React error boundary
- eslint
Install
$ git clone [email protected]:hossamelmansy/egghead-react-boilerplate.git my-awesome-app
$ cd my-awesome-app
$ npm install
$ npm run dev
Scripts
- Build
$ npm run build - Development mode
$ npm run dev - Development mode with hot loader
$ npm run dev:hot - Testing
$ npm run test - Format using prettier
$ npm run format - Check linting using eslint
$ npm run lint