Skip to content

drewlyton/react-native-expo-typescript-template

Repository files navigation

React Native Starter Boilerplate

Getting started.

Install the correct node version listed in the .nvmrc using the command:

nvm i

Next, install the project dependencies by running:

npm i

Finally, run the app using any of the following commands:

npm run start # Starts the expo server without launching a simulator
npm run ios # Starts the expo server and launches ios simulator
npm run android # Starts the expo server and launches android simulator

Testing

To run the unit test suite with jest, use the following command:

npm run test

This runs jest in --watch mode which means it will rerun affected tests as you write and refactor code.