Base project for setting up a frontend application using React and Redux.
- node
^4.2.0
- npm
^3.0.0
- npm install
After setting up the project, type npm run dev
to start the webpack dev server.
Visit http://localhost:8080/
After setting up the project, type npm test
to start Karma and run tests.
To compile the Javascript bundle for production, use npm run build
.
Just clone the repo and install the necessary node modules:
$ git clone https://github.com/maro1987/react-redux-starter-boilerplate.git
$ cd react-redux-starter-boilerplate
$ npm install # Install Node modules listed in ./package.json (may take a while the first time)
- React (
^0.15.1
) - Redux (
^3.3.1
)- react-redux (
^4.4.0
) - redux-devtools
- redux-thunk middleware
- react-redux (
- react-router (
^2.0.0
) - react-router-redux (
^4.0.0
) - Webpack
- Bundle splitting and CSS extraction
- Sass w/ CSS modules, autoprefixer, and minification
- Karma
- Mocha w/ chai, sinon-chai, and chai-as-promised, and chai-enzyme
- Enzyme https://github.com/airbnb/enzyme
- PhantomJS
- Code coverage reports/instrumentation with isparta
- Babel (
^6.5.1
)- react-transform-hmr hot reloading for React components
- babel-plugin-transform-runtime so transforms aren't inlined
- babel-plugin-rewire
- SASS-LOADER (
^3.1.2
) - ESLint
- Uses Standard Style by default, but you're welcome to change this.