npm.io
2.0.0 • Published 10 years ago

grunt-react-boilerplate

Licence
ISC
Version
2.0.0
Deps
5
Vulns
1
Weekly
0
Stars
1

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.

Keywords