nemophrost / generator-react

A Yeoman generator for React applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React App generator

Yeoman generator that scaffolds out a React web app.

Features

  • CSS Autoprefixing (new)
  • Built-in preview server with LiveReload
  • Automagically lint your scripts
  • Automagically wire up your Bower components with bower-install.
  • Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
  • Mocha Unit Testing with PhantomJS
  • Optional - Leaner Modernizr builds
  • Optional - RequireJS AMD support

For more information on what generator-react can do for you, take a look at the Grunt tasks used in package.json.

Getting Started

  • Install: npm install -g generator-react
  • Run: yo react
  • Run grunt for building and grunt serve for preview

Options

  • --skip-install

    Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework=<framework>

    Defaults to mocha. Can be switched for another supported testing framework like jasmine.

Contribute

Submit a pull request and I'll see what I can do. Thanks!

License

BSD license

About

A Yeoman generator for React applications


Languages

Language:Perl 45.9%Language:JavaScript 38.2%Language:HTML 13.4%Language:PHP 1.5%Language:CSS 0.9%