|
1 | | -# :space_invader: React Native Template TypeScript · [](https://travis-ci.org/emin93/react-native-template-typescript) |
2 | | - |
3 | | -Clean and minimalist React Native template for a quick start with TypeScript. |
4 | | - |
5 | | -[](https://medium.com/@emin93/react-native-typescript-b965059109d3) |
| 1 | +# :space_invader: React Native Template TypeScript |
| 2 | + |
| 3 | +<p> |
| 4 | + <a href="https://github.com/emin93/react-native-template-typescript#readme"> |
| 5 | + <img alt="Build Status" src="https://img.shields.io/travis/emin93/react-native-template-typescript.svg" target="_blank" /> |
| 6 | + </a> |
| 7 | + <a href="https://github.com/emin93/react-native-template-typescript#readme"> |
| 8 | + <img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" target="_blank" /> |
| 9 | + </a> |
| 10 | + <a href="https://github.com/emin93/react-native-template-typescript/graphs/commit-activity"> |
| 11 | + <img alt="Maintenance" src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" target="_blank" /> |
| 12 | + </a> |
| 13 | + <a href="https://github.com/emin93/react-native-template-typescript/blob/master/LICENSE"> |
| 14 | + <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" target="_blank" /> |
| 15 | + </a> |
| 16 | +</p> |
| 17 | + |
| 18 | +> Clean and minimalist React Native template for a quick start with TypeScript. |
6 | 19 |
|
7 | 20 | ## :star: Features |
8 | 21 |
|
9 | | -- Seamlessly integrated into the React Native CLI! :sparkles: |
| 22 | +- Elegant usage directly within the [React Native CLI](https://github.com/react-native-community/cli) |
10 | 23 | - Consistent with the default React Native template |
11 | | -- Always latest dependencies :raised_hands: |
| 24 | +- Minimal additional dependencies |
12 | 25 |
|
13 | | -## :arrow_forward: Quick Start |
| 26 | +## :arrow_forward: Usage |
14 | 27 |
|
15 | | -```bash |
| 28 | +### React Native >= 0.60 |
| 29 | + |
| 30 | +```sh |
16 | 31 | npx react-native init MyApp --template=typescript |
17 | 32 | ``` |
18 | 33 |
|
19 | | -## :question: FAQ |
20 | | - |
21 | | -### What additional dependencies are included in this template? |
22 | | - |
23 | | -- [TypeScript](https://github.com/Microsoft/TypeScript) |
24 | | -- [Type definitions for React & React Native](https://github.com/DefinitelyTyped/DefinitelyTyped) |
25 | | - |
26 | | -This template always uses the latest versions of the dependencies at the time when the `react-native init` command is being executed. This means you don't have to worry about old versions. |
27 | | - |
28 | | -Lots of :heart: and credits to the owners and maintainers of those packages. |
| 34 | +### React Native <= 0.59 |
29 | 35 |
|
30 | | -### Does debugging work? |
31 | | - |
32 | | -Yes it does. :tada: |
33 | | - |
34 | | -[](https://medium.com/@emin93/react-native-typescript-b965059109d3) |
35 | | - |
36 | | -### How to do type checking? |
37 | | - |
38 | | -`npx tsc` |
| 36 | +```sh |
| 37 | +react-native init MyApp --template typescript |
| 38 | +``` |
39 | 39 |
|
40 | | -## :globe_with_meridians: Links |
| 40 | +## :computer: Contributing |
41 | 41 |
|
42 | | -- ["Using React Native with TypeScript just became simple" on Medium](https://medium.com/@emin93/react-native-typescript-b965059109d3) |
43 | | -- ["24 tips for React Native you probably want to know" on Albert Gao's blog](http://albertgao.xyz/2018/05/30/24-tips-for-react-native-you-probably-want-to-know/#9-For-Typescript) |
44 | | -- ["3 Easy Steps to Set Up React Native with TypeScript, Jest and Enzyme" on Medium by Jan Hesters](https://medium.com/@jan.hesters/3-easy-steps-to-set-up-react-native-with-typescript-jest-and-enzyme-592ca042262f) |
45 | | -- ["Configs to make in an existing React Native project to migrate it to Typescript" - Gist by Italo Menezes](https://gist.github.com/italomlp/4d16bf0f19d09f9fae48d272f9e6306e) |
| 42 | +Contributions are very welcome. Please check out the [contributing document](CONTRIBUTING.md). |
46 | 43 |
|
47 | | -## :computer: Contributing |
| 44 | +## :bookmark: License |
48 | 45 |
|
49 | | -Contributions are very welcome. Please check out the [contributing document](https://github.com/emin93/react-native-template-typescript/blob/master/CONTRIBUTING.md). |
| 46 | +This project is [MIT](LICENSE) licensed. |
0 commit comments