My take on the shopping cart example from the redux source
This will install all npm packages and then run a live reload server at http://localhost:8080/index.html
> npm start
Runs Karma and watches for changes to re-run tests. To add a unit test, simply create a .spec.js
file anywhere in ~/src
. Karma will pick up on these files automatically. Mocha will be available within your test without the need to import it.
> npm test
Runs linter, tests, and then on success, compiles your application to ~/dist
> npm run production
- karma - Test Runner for JavaScript
- enzyme - JavaScript Testing utilities for React
- expect - Write better assertions
- phantomjs - Headless website testing
- redux-actions - Flux Standard Action utilities for Redux.
- redux-thunk - Thunk middleware for Redux
- redux-devtools - DevTools for Redux with hot reloading, action replay, and customizable UI
- redux-logger - Logger middleware for redux
- babel-react-optimize - A Babel preset and plugins for optimizing React code.
- webpack - A bundler for javascript and friends
- babel-plugin-transform-runtime - ES2015 pollyfils