react-browserify-boilerplate
v0.2.3 facebook react react-component boilerplate karma mocha
React Browserify Boilerplate
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.
Setup
- Clone the repo
- Run
npm install
Building Your Component
- Run
npm start
- Open
public/index.html
and view your awesome creation
Testing Your Component
- Run
npm test
- To have your tests run continuously, just run
npm run test:watch
or you can always change the Karma configuration file
Contribution
- Special thanks to iamrandys
npm i react-browserify-boilerplate
Metadata
- MIT
- Whatever
- Tyrone Michael Avnit
- released 3/10/2015