/hello-react

Hello React with webpack and ES6+ !

Primary LanguageJavaScript

Hello React with webpack Build Status

This is just my personal boilerplate, it may or may not be a good fit for your project(s).

Contains:


Packages Installation

npm install

or

npm install --save-dev webpack webpack-dev-server babel-loader babel-core babel-preset-react babel-preset-es2015 style-loader css-loader node-sass sass-loader extract-text-webpack-plugin

Production Build

npm run build

Develop with hot module replacement

npm run dev

Then, open your browser on http://localhost:8888/

Redux and Router

Dependencies:
  • redux
  • react-redux
  • react-router-redux
  • redux-devtools
  • redux-devtools-dock-monitor
  • redux-devtools-log-monitor

Unit Testing

npm test
Dependencies:
  • jest-cli
  • babl-polyfill
  • react-addons-test-utils
  • enzyme
  • sinon