A personal boilerplate I made for when I use React.
Preconfigured with support for CSS modules and Emotion.
git clone https://github.com/plusreed-com/react-boilerplate.git
cd react-boilerplate
npm i
# Make your changes in ./src
npm run build:prod # Build a production version
npm run build:dev # Build a development version
npm run dev-server # Starts an instance of `webpack-dev-server`
npm run web-server # Uses `serve` to run a local web server with the `build` folder as the webroot
npm run build:prod # Production build
npm run build:dev # Development build
# If you want to serve your build folder locally:
npm run web-server
npm run dev-server # Starts `webpack-dev-server`
MIT