npm init
Install react core
npm i --save react react-dom react-router
npm i --save express body-parser
Install web pack and other dependencies
npm i --save webpack webpack-dev-server webpack-dev-middleware webpack-hot-middleware
npm i --save extract-text-webpack-plugin@2.0.0-rc.3
npm i --save babel-core babel-loader babel-preset-es2015 babel-preset-react node-sass sass-loader css-loader style-loader
Third-party packages
npm install --save react-modal
npm install --save superagent
npm install --save react-bootstrap
For developer run with
npm run dev
For production
npm start