Skip to content

gukun00/react-redux-kit

Repository files navigation

react-redux-kit

本项目基于react+redux+webpack技术栈完成,ui库源自于antd。 脚手架参考: git@github.com:Justin-lu/react-redux-antd.git

Feature List

  • 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
  • ...

Getting Started

install

npm install --global yarn # install yarn
git clone git@github.com:Justin-lu/react-redux-antd.git demo
cd demo
yarn

# run dev
npm run start
# run mock server
npm run start:mock

npm script

# 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

eslint

  • enable pre-commit hook
cd .git/hooks/ && ln -s ./../../tools/pre-commit pre-commit

history

2017-02-05

  • 初次建立,可运行
  • 后面重构我的热网项目模块
      1. 热用户管理
      1. 预付费管理系统1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published