Simple production-ready boilerplate for React and Webpack (SASS and React hot reloading)
# Clone repository
$ git clone https://github.com/srn/react-webpack-boilerplate.git && cd react-webpack-boilerplate
# Install dependencies
$ npm install
Alternatively, you can deploy your own copy with one click using this button:
$ npm start
Go to http://localhost:3001 and see the magic happen.
If you want to run the project in production, set the NODE_ENV
environment variable to production
.
$ NODE_ENV=production npm start
Also build the production bundle:
$ npm run dist
$ npm test
Only run specific tests
$ npm test -- NotFoundComponent
MIT © Søren Brokær