Very simple starter kit for React using Webpack. Includes:
- React Hot Loader - Hot Reloading
- Babel ES6 - ES6 Syntax Loader
- React Router
- Import SASS Files
- Jasmine Tests with Istanbul Coverage Generation
Run
npm start
and navigate to http://localhost:8080.
start
is a script located in the package.json that runs webpack-dev-server --hot --inline
Specs can be run using
npm test
This will run all __spec__.js
files and generate a coverage report on all js
files.
test
is a script located in the package.json that runs karma start
To open the coverage report. Navigate to the root of the repo and run:
open coverage/PhantomJS\ 1.9.8\ \(Mac\ OS\ X\ 0.0.0\)/index.html
TODO:
- Review SASS import
- Flux/Redux/Another Flux