This sets up the dev environment which allows you to focus on developing your reusable React component.
- Support ES6 syntax by using Babel6
- Hot reload React modules with react-transform-hmr and react-transform-catch-errors. If you are only interested in hot reloading, check this repo out (https://github.com/gaearon/react-transform-boilerplate)
- Webpack for bundling assets
- Use ESlint for js linting
- Use Karma + Jasmine for unit testing
npm install
npm start
open http://localhost:3000
PORT=5000 npm start
npm run lint
npm run test (Runs tests once)
npm run testDev (Runs tests in watch mode)
npm run build
MIT