👾 React Native Template TypeScript · npm Travis

Clean and minimalist React Native template for a quick start with TypeScript.

This template can be used with the React Native CLI, which means it doesn't mess with the platform specific files. Instead of including a lot of dependencies, my aim when creating this template was to provide a very easy and minimalist way to start your React Native project with TypeScript. Of course you can always include other dependencies as you need them.

⭐ Features

  • Seamless integration with the React Native CLI
  • Always latest dependencies
  • React Native TypeScript transformer directly integrated into the packager! (No separate process for TSC)
  • Unit testing in TypeScript with Jest

▶️ Quick Start

react-native init MyApp --template typescript
cd MyApp
node setup.js

❓ FAQ

What is included in this template?

This template always uses the latest versions of the dependencies at the time when the setup script (node setup.js) is being executed. This means you don't have to worry about old versions.

Lots of ❤️ and credits to the owners and maintainers of those packages.

Why the setup script?

The React Native CLI supports automatic installation of production dependencies only. Since TypeScript and the other dependencies are dev dependencies, the setup script is being used to install those. It also takes care of obsolete files like the .flowconfig and the setup.js itself after the setup.

How will this template affect the React Native CLI workflow?

The React Native CLI will do everything just as without a template and afterwards overwrite the files with the ones from this template. This means you don't have to worry about incompatibility issues with later React Native upgrades.

💻 Contributing

Contributions are very welcome. Please try to stay consistent with the other files I've created.

Donations

I created this project in my spare time because I enjoy coding. Of course you can support me by buying me a coffee if you wish. ☕ 😌

S
Description
No description provided
Readme
579 KiB
0 Stars 1 Watchers 0 Forks
Languages
Java 38.3%
Objective-C 27.8%
TypeScript 17.3%
JavaScript 7%
Ruby 5.9%
Other 3.7%