https://github.com/yinglau/react-stack
react全家桶的项目脚手架
https://github.com/yinglau/react-stack
react redux saga webpack
Last synced: 3 months ago
JSON representation
react全家桶的项目脚手架
- Host: GitHub
- URL: https://github.com/yinglau/react-stack
- Owner: yinglau
- Created: 2018-12-13T09:35:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T14:56:59.000Z (over 3 years ago)
- Last Synced: 2025-08-04T22:32:25.522Z (11 months ago)
- Topics: react, redux, saga, webpack
- Language: JavaScript
- Homepage:
- Size: 3.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-stack
> 一个使用`react`全家桶的项目脚手架
## 前期准备
### 需要的库、框架和工具:
- [express node服务器框架](http://www.expressjs.com.cn/)
- [reactjs](https://reactjs.org/)
- [react-router](https://reacttraining.com/react-router/web/example/basic)
- [redux 数据状态管理框架](https://redux.js.org/)
- [react-redux 状态绑定组件](https://react-redux.js.org/)
- [redux-saga 异步操作解决方案](https://redux-saga.js.org/docs/introduction/BeginnerTutorial.html)
- [immutable facebook出品不可变数据处理](http://facebook.github.io/immutable-js/)
- [reselect](https://github.com/reduxjs/reselect#readme)
- [webpack 项目打包方案工具](https://webpack.js.org/)
- 测试套件
- [enzyme](https://airbnb.io/enzyme/)
- [jest](https://jestjs.io/docs/zh-Hans/getting-started)
- 代码转化,检测,规范工具
- [eslint](https://cn.eslint.org/)
- [babel](https://babel.docschina.org/)
### npm scripts
**develop server start**
```bash
$ npm start
```
**lint js**
```bash
$ npm run lint
```
**lint js and fix it**
```bash
$ npm run lint:fix
```
**generators**
> generate the `container`, `component` files
```bash
$ npm run g
```