I modified the following repo to use Browserify instead. I prefer writing my moduleds
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.
- Clone the repo
Building Your Component
public/index.htmland view your awesome creation
Testing Your Component
- To have your tests run continuously, just run
npm run test:watchor you can always change the Karma configuration file
- Special thanks to iamrandys