I modified the following repo to use Browserify instead. I prefer writing my modules Node Style
and having Browserfiy compile and bundle my app.
React-Browserify-Boilerplate lets you create a React component quickly and test quickly as well as thoroughly using Karma. Have your tests run continuously with the added benefit of testing in your favorite and least favorite browsers while also having access to developer tools. Win Win. This was born out of the following thread.
I tried to keep this as unopinionated as possible. No gulp. No grunt. Strictly npm for tasks. I don't feel the need for Livereload, when you a have test suite that lets you run continious tests. Keeping it simple so you can fork and add as you wish.
- Clone the repo
- Run
npm install
- Run
npm start
- Open
public/index.html
and view your awesome creation
- Run
npm test
- To have your tests run continuously, just run
npm run test:watch
- Special thanks to iamrandys