2.0.0 • Published 8 years ago

grunt-react-boilerplate v2.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

grunt-react-boilerplate Build Status

My boilerplate for starting React.js ES2015 based applications.

It uses Babel & Browserify to handle modules and compile them into plain clean Javascript, LESS for CSS.

Installing

npm install -g grunt-cli

Running

grunt

Building for production

grunt build

Running tests

npm test

Project structure

Put your JS code into src/js directory. It will be automatically picked by Grunt Watch and bundeled into dist directory as app.js. Put all you LESS files into src/less and it will be compiled to dist/styles.less.

In order to create production ready build just run grunt build and change js src in index.html to point to dist/app.min.js.