Yeoman generator for facebook's React framework - Integrate with gulp and browserify.
- Added watchify support
- We use browserify extension instead of gulp extension
- Autorun
bower install
&npm install
by default
Bundled:
- Gulp
- Bower
- jQuery
- Browserify
- Reactify - Help to transform JSX
- watchify support!
- livereload
Optional:
- Sass with Compass
- Bootstrap - Twitter Bootstrap's official Sass version
- Modernizr
- Jade for HTML templates
- CoffeeScript for JavaScript
- Jest for unit tests
$ npm install -g yo # Install Yeoman (if you don't have it yet)...
$ npm install -g generator-react-gulp-browserify # ...then install this generator...
$ yo react-gulp-browserify # ...and run it.
If you chosen to use sass, you'll need to install it with gem install sass
.
If you find your css build results are empty, update your sass gem.
Now, when everything is ready, run watch task and begin to develop your React components.
$ gulp watch
MIT