generator-react-6 ![Build Status](https://camo.githubusercontent.com/888939d108529f70cc5f251488a1b8e75a317a513e24bea366b19cb7f77944bd/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6461726b6c696768743732312f67656e657261746f722d72656163742d362e706e673f6272616e63683d6d6173746572)
Yeoman generator for facebook's React framework with es6 support.
Getting Started
$ npm install -g yo # Install Yeoman (if you don't have it yet)...
$ npm install -g generator-react-6 # ...then install this generator...
$ yo react-6 # ...and run it.
You can run the last command with --skip-install
if you wish to skip
the installation of npm
and bower
dependencies.
Also make sure that you have ruby
with sass (>= 3.4)
gem installed.
Now, when everything is ready, you can run these tasks to help you develop your React components.
$ yo react-6:component [ComponentName] # generates a react component with the given name
$ gulp watch # starts up the local server and auto-reloads the browser
$ gulp test # runs the test specs, available only if jest is included
$ gulp build:production # minifies your app, ready for production
$ gulp serve:production # to preview the built files
What's inside?
Bundled:
- React
- Gulp
- Browserify
- Watchify
- Babelify
- Bower
- Sass
Optional:
- Bootstrap - Twitter Bootstrap's official Sass version
- Modernizr
- Jest for unit tests
License
MIT