A front end boilerplate using Webpack, Babel (ES8), React, React Router, Styled Components, Jest + Enzyme, ESLint, and Hot Module Reloading.
- Yarn
git clone https://github.com/mildrenben/broiler.git your-project
cd your-project
rm -rf .git
yarn install
git init
yarn start
Head over to localhost:8080
.
There are already some routes and components created as an example!
- Webpack
- Babel - Babel ES8 with features like async functions
- React 16
- React Router V4 - Docs
- Styled Components - Docs
- Test runners - Jest + Enzyme for testing React components and other js
- Hot Module Reloading
- Image Minification - When you run
yarn build:prod
all your images will be crushed - ESLint
- Git hooks - When committing and pushing, linting and testing is run
- Minification + tree shaking
None right now. Raise an issue if you find any.