Based on Pro React, Appendix A: Webpack for React.
- ECMAScript 2015
- Optimized, minified, compressed production builds
- Hot module reloading
- End-to-end tests
app/
– Front-end source code (ES2015/JSX, CSS)build/
– Built filesspec/
– Jasmine tests
git clone [email protected]:leonidas/webpack-react-project-template
npm install
npm start
open http://localhost:8080
npm install -g webdriver-manager
webdriver-manager update
webdriver-manager start
npm start
npm test
npm run build
- Add a server and proxy some endpoints to it
- Start the required server components from
npm test
- Redux
- Clean old files from
build/