darklight721 / generator-react-6

A Yeoman Generator for facebook's React framework. It includes gulp, browserify, livereload and babelify to transpile es6 codes to es5.

Home Page:https://www.npmjs.com/package/generator-react-6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-react-6 Build Status

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

About

A Yeoman Generator for facebook's React framework. It includes gulp, browserify, livereload and babelify to transpile es6 codes to es5.

https://www.npmjs.com/package/generator-react-6


Languages

Language:JavaScript 86.2%Language:HTML 10.4%Language:CSS 3.5%