项目作者: xmlking

项目描述 :
Mobile Starter Kit - React Native, Redux, Native Base, CodePush and TypeScript
高级语言: TypeScript
项目地址: git://github.com/xmlking/react-native-mobile-starter-kit.git
创建时间: 2016-11-05T09:06:46Z
项目社区:https://github.com/xmlking/react-native-mobile-starter-kit

开源协议:

下载


Mobile Starter Kit

Mobile Starter Kit for React Native + NativeBase + Redux + CodePush + TypeScript Apps (iOS & Android).

Getting Started

Clone or fork this repository:

  1. git clone https://github.com/xmlking/react-native-mobile-starter-kit.git
  2. cd react-native-mobile-starter-kit

Install dependencies:

one time only

  1. yarn
  2. react-native link

Build the source-code with TypeScript:

  1. # Build once
  2. yarn run build
  3. # Build and watch for changes
  4. yarn run watch

Start React Native Server:

  1. yarn start

Debug

http://localhost:8081/debugger-ui

  1. react-native log-ios
  2. react-native log-android

Test

Run

iOS Simulator

  1. yarn run ios

Android Simulator

  1. yarn run android

Reset

  1. react-native upgrade
  2. react-native link

CodePush