- hot reloading/browser-sync/redux devtools on dev build
- minify/chunkhash/trackJS on production build
- eslint both of terminal and pre-commit
- unit test of react/redux
- es6/webapck
- sass support
- UI Kit: Ant Design
- isomorphic-fetch
- mock data
- example app
- ...
git clone [email protected]:Justin-lu/react-redux-best-practice.git demo
cd demo
npm install
# run dev
npm run start
# run mock server
npm run start:mock
# dev start with test/lint
npm run start
# prodction start with browser-sync server
npm run start:prod
# production build
npm run build
# mock data
npm run start:mock
# run test
npm run test
# generate test cover report
npm run test:cover
cd .git/hooks/ && ln -s ./../../tools/pre-commit pre-commit