react-native-template-mario
Version:
react-native template to target multiple platforms.
55 lines (39 loc) • 702 B
Markdown
## React Native Template
React Native 项目模板.
## 技术栈
```
react-native + typescript + mario-meditation (redux + immutable + reselect + redux-observable + rxjs) + mario-architecture-components + react-navigation
```
## Installation
> 将 `<new project name>` 替换为初始化的项目名称.
```
react-native init <new project name> --template mario
cd <new project name>
node scripts/index.js
```
Happy hacking : )
## scripts
1. 编译typescript文件:
```
$ yarn build
```
或
```
$ npm run build
```
2. 实时编译typescript文件:
```
$ yarn watch
```
或
```
$ npm run watch
```
3. 删除生成文件, 重新编译:
```
$ yarn rebuild
```
或
```
$ npm run rebuild
```