The idea of this project is to keep things as simple and clean as possible but with all the essential packages for a modern React project.
Heres a breakdown:
- Ready for production and development
- Minimial React boiler
Includes individual build scripts for produciton and development
- Automatically wipe and rebuild the public directory
- Analyze addon
- Source maps
- Dev server with hot reloading
- Includes minimal .gitignore
- Run
npm run testto run tests - Run
npm run test:watchto run test continuously
-
Includes support for Roboto with charsets [latin] and styles [300,700,regular] includes the formats [woff,woff2] (Modern browsers).
More fonts can be downloaded from here: https://google-webfonts-helper.herokuapp.com/fonts
- Clone or Fork this repo
- Install prettier globally
npm install -g prettier - run
npm installto install - In the project root folder create two files like so:
.env.development
NODE_ENV=development
.env.production
NODE_ENV=production
- Run
npm run developto run the webpack development server - Run
npm run buildto have webpack build your production bundle in the public folder