Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lopezjurip/ReactNativeTS
Boilerplate of a React Native project in Typescript.
https://github.com/lopezjurip/ReactNativeTS
boilerplate react react-native template typescript vscode
Last synced: about 2 months ago
JSON representation
Boilerplate of a React Native project in Typescript.
- Host: GitHub
- URL: https://github.com/lopezjurip/ReactNativeTS
- Owner: lopezjurip
- Archived: true
- Created: 2015-11-17T22:28:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T17:37:06.000Z (over 7 years ago)
- Last Synced: 2024-07-30T03:41:04.698Z (5 months ago)
- Topics: boilerplate, react, react-native, template, typescript, vscode
- Language: Objective-C
- Homepage: https://medium.com/@patriciolpezjuri/react-native-and-typescript-ad57b7413ead
- Size: 645 KB
- Stars: 367
- Watchers: 12
- Forks: 42
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-react-native - ReactNativeTS ★353 - Boilerplate of a React Native project in Typescript. (Seeds / Other Platforms)
- awesome-react-native-ui - ReactNativeTS ★190 - Boilerplate of a React Native project in Typescript. (Seeds / Other Platforms)
- awesome-react-native - ReactNativeTS ★353 - Boilerplate of a React Native project in Typescript. (Seeds / Other Platforms)
README
# ReactNativeTS
**:warning: Not maintained anymore, better check [`Microsoft/TypeScript-React-Native-Starter`](https://github.com/Microsoft/TypeScript-React-Native-Starter).**
[![Build Status][ci-image]][ci-url] [![dependencies][dependencies-image]][dependencies-url] [![dev-dependencies][dev-dependencies-image]][dev-dependencies-url]
Minimal template of a [React Native](https://facebook.github.io/react-native/) project with [Typescript](https://www.typescriptlang.org/).
> **This project has been updated but the Medium guide has not**. Please, use this repository as reference.
![preview](https://github.com/mrpatiwi/ReactNativeTS/raw/images/preview.png)
> Recommended usage with [VSCode](https://code.visualstudio.com/)
## Getting Started
* Requirements: [Node.js](https://nodejs.org) and [Yarn](https://yarnpkg.com/)
Clone this repository:
```sh
git clone https://github.com/mrpatiwi/ReactNativeTS.git
cd ReactNativeTS
```Install dependencies:
```sh
yarn
```Start React Native server:
```sh
yarn start
```Build the source-code with Typescript:
```sh
# Build once
yarn run build# Build and watch for changes
yarn run build -- --watch
```### iOS
```sh
yarn run ios
```### Android
```sh
yarn run android
```## Testing
This project uses Typescript + Jest. Run the test suite with:
```sh
yarn test
```[ci-image]: https://travis-ci.org/mrpatiwi/ReactNativeTS.svg
[ci-url]: https://travis-ci.org/mrpatiwi/ReactNativeTS
[dependencies-image]: https://david-dm.org/mrpatiwi/ReactNativeTS.svg
[dependencies-url]: https://david-dm.org/mrpatiwi/ReactNativeTS
[dev-dependencies-image]: https://david-dm.org/mrpatiwi/ReactNativeTS/dev-status.svg
[dev-dependencies-url]: https://david-dm.org/mrpatiwi/ReactNativeTS#info=devDependencies