This my boilerplate for my react project.
You should have NodeJs 6+ and npm 3+ and available on your machine.
Clone repository:
$ git clone https://github.com/fbentz/boilerplate-react.git
Install packages:
$ npm install
After installation of packages, run development server.
Developement server is available on
$ npm start
and launch your browser
$ open 0.0.0.0:3000
To have a Test Driven Development environment
$ npm run tdd
To run test once
$ npm test
To check all (flowjs and test). It's this command that run in integration service (circleci) to check the build.
$ npm run test-all
To generate docs
$ npm run docs