Skip to content

imjerrybao/react-native-boilerplate

 
 

Repository files navigation

React Native Boilerplate Build Status Dependency Status devDependency Status

The React Native, Redux boilerplate for personal usage

Screenshot

screenshot

NavigationExperimental, Redux Counter example and Remote Redux DevTools control

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

Or open ios/RNBoilerplate.xcodeproj file with XCode:

$ npm run ios-open

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 On Debugger.

Test

We used react-native-mock, and test with Mocha, Enzyme.

$ npm test

Credits

LICENSE

MIT

About

The React Native, Redux boilerplate for personal usage

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 62.5%
  • Objective-C 23.1%
  • Python 7.9%
  • Java 6.5%