react-native-template-ts icon indicating copy to clipboard operation
react-native-template-ts copied to clipboard

[DEPRECATED] ⚛️ Start a new React Native project with TypeScript, Prettier & TSLint

React Native + TypeScript = 💙

Start a new React Native project with TypeScript, Prettier & TSLint

Usage

When creating a new React Native project, use the command:

react-native init projectname --template ts

That's it! 🎉 Then, proceed as usual:

  • cd projectname
  • npm start

Includes

  • [x] TypeScript
  • [x] Prettier (with commit hook)
  • [x] TSLint
  • [x] Jest (broken on react-native 0.56)
  • [ ] Web support (soon; waiting for react-scripts v2)

Requirements

  • npm i -g react-native-cli