The best boilerplate for your React projects.
This boilerplate contains all you need to start your next React.js project. Simple, robust, well-organized, all you need to do is clone, install and you're ready to start.
This boilerplate features all the latest tools and practices in the industry.
- ⚛ React — 16.7.0
- ♻ Redux — State Management
- 🛠 Babel — ES6 syntax, Airbnb & React/Recommended config
- 🚀 Webpack — Hot Reloading, Code Splitting, Optimized Build
- 💅 Bootstrap — Styles
- ✅ Tests — Jest, React Testing Library
- 💖 Lint — ESlint
- 🐶 Husky — Prevent bad commits
- Clone this repo using
https://github.com/rcabarreto/react-boilerplate.git
- Move to the appropriate directory:
cd react-bolt
. - Run
yarn install
to install dependencies. - Run
yarn dev
to see the example app athttp://localhost:1234
.
yarn start
- start the dev serveryarn build
- create a production ready build indist
folderyarn lint
- execute an eslint checkyarn lint:fix
- execute an eslint and fix the errorsyarn test
- run all testsyarn test:watch
- run all tests in watch modeyarn test:cover
- coverage mode
- Hot Module Replacement: Better HMR support;
- PWA: Turn into a PWA boilerplate;
- SEO: SEO-ready;
MIT license, Copyright (c) 2018 Rodrigo Barreto.