Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

lopezjurip/ReactNativeTS

Repository files navigation

ReactNativeTS

⚠️ Not maintained anymore, better check Microsoft/TypeScript-React-Native-Starter.

Build Status dependencies dev-dependencies

Minimal template of a React Native project with Typescript.

This project has been updated but the Medium guide has not. Please, use this repository as reference.

preview

Recommended usage with VSCode

Getting Started

Clone this repository:

git clone https://github.com/mrpatiwi/ReactNativeTS.git
cd ReactNativeTS

Install dependencies:

yarn

Start React Native server:

yarn start

Build the source-code with Typescript:

# Build once
yarn run build

# Build and watch for changes
yarn run build -- --watch

iOS

yarn run ios

Android

yarn run android

Testing

This project uses Typescript + Jest. Run the test suite with:

yarn test