typescript-react-native-starter

Quick and Easy TypeScript React Native Starter


Keywords
react-native, typescript, android, ios, babel, graphql, nodejs
License
MIT
Install
npm install typescript-react-native-starter@1.0.2

Documentation

logo

React Native with TypeScript's application generator.

NPM Version Package License NPM Downloads


🧐 What is it?

Creates a new typescript react-native application. application is configured to use TypeScript instead of plain JavaScript.

🤔 Why typescript-react-native-starter?

Node Js is great for the rapid development of web-projects, but is often neglected because of the lack of type safety. TypeScript solves this issue and (along with its linter file) can even make your code more robust than some other static languages like Java.

⚙️ Installation

$ npm install -g typescript-react-native-starter

🚀 Quick Start

The quickest way to get started is use npx and pass in the name of the project you want to create. If you don't specify a project name, the default typescript-react-native-starter will be used instead.

1. Create the app

$ npx typescript-react-native-starter "project name"

Choose the template you want. We will create more templates later.

🎠 Available commands for the server.

  • Run the Server in Android mode : npm run android.
  • Run the Server in iOS mode : npm run ios.
  • Run all unit-tests: npm run test.
  • Check for linting errors: npm run lint.

You may need to install android studio and xcode separately if you do not currently have it installed on your machine.

💳 License

MIT

🤝 Contributors