lopezjurip / ReactNativeTS

Boilerplate of a React Native project in Typescript.

Home Page:https://medium.com/@patriciolpezjuri/react-native-and-typescript-ad57b7413ead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Boilerplate of a React Native project in Typescript.

https://medium.com/@patriciolpezjuri/react-native-and-typescript-ad57b7413ead


Languages

Language:Objective-C 41.3%Language:TypeScript 27.4%Language:Python 16.2%Language:Java 12.4%Language:JavaScript 2.7%