Skip to content

isener/boilerplate_ts_rn

 
 

Repository files navigation

Example App

Source code for the Web & the React Native app for iOS and Android.

Project dependencies

To use the version of Node set in the .nvmrc file run:

nvm install && nvm use

Build/Run

Start React Native server:

yarn start

Build & Run the source-code with Typescript:

# Build & Run iOS
yarn start:ios

# Build & Run Android
yarn start:android

Run multiple simulators

  • cd /Applications/Xcode.app/Contents/Developer/Applications
  • open -n Simulator.app
  • Go to new simulator Hardware > Device > Chosen iOS version > and choose any of the other iOS devices

Tests

To run the tests use:

# To run the unit tests. Report is in './.coverage'
yarn test:unit

# To update snapshots
yarn test:unit -- -u

For development with TypeScript

yarn ts

About

Simple React Native example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 44.3%
  • Python 19.7%
  • Java 16.2%
  • TypeScript 14.5%
  • JavaScript 5.3%