Simple production-ready boilerplate for React and Webpack (SASS and React hot reloading) and tests with Jest.
Note: if you want React server-side rendering support, take a look at my personal site repo based on this: github.com/srn/srn.io
Clone repository and run:
$ npm installAlternatively, you can deploy your own copy with one click using this button:
node 5+
$ npm startGo 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 startAlso build the production bundle:
$ npm run dist$ npm testOnly run specific tests
$ npm test -- NotFoundComponentCoverage
$ npm test -- --coverageMIT © Søren Brokær