jhen0409 / react-native-boilerplate

The React Native, Redux boilerplate for personal usage
MIT License
246 stars 80 forks source link

React Native Boilerplate

Build Status Dependency Status devDependency Status Greenkeeper badge

The React Native, Redux boilerplate for personal usage

Included

Installation

See Getting Started to install requirement tools.

$ npm install -g react-native-cli
$ npm install

Also, you can use generator-rnb to create project with this boilerplate.

Development

Start local server

$ npm start

iOS

Run command to open iOS simulator and run app:

$ npm run ios

Android (5.0+)

Open Android emulator (recommended Genymotion) and run command: (Or connect real device via USB)

$ npm run android

DevTools

In development mode, you can install React Native Debugger as default debugger. if not install, it will use Remote Redux DevTools and RemoteDev RN Debugger.

Test

$ npm test

Credits

LICENSE

MIT