Skip to content

wonism/rn-ts

Repository files navigation

ReactNative TypeScript

Initialize typescript into your react native project

npm version Build Status

How to initialize?

$ npm i -g rn-ts
$ cd /PATH/TO/YOUR/RN_PROJECT
$ rn-ts i
# or rn-ts init / rn-ts set / rn-ts start / rn-ts s

rn-ts i will generate tsconfig.json automatically if there is no tsconfig.json in your project root.

How to run?

$ npm run build:ts