Home

Awesome

ReactNativeTS

:warning: 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