Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.33 KB

README.md

File metadata and controls

26 lines (15 loc) · 1.33 KB

React Browserify Boilerplate Dependency Status

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.

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

Contribution