react-component-boilerplate
v0.2.3
Published
A React component boilerplate. Test your component quickly and continuously with Karma.
Downloads
6
Maintainers
Readme
React Component Boilerplate
If you prefer to use browserify to compile your app and enjoy writing you modules Node Style
, please use the following => repo.
React-Component-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.
Setup
- Clone the repo
- Run
npm install
Building Your Component
- Run
npm start
- Open
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
Contribution
- Special thanks to iamrandys