@datarockets/react-native-template-ts

0.1.3 • Public • Published

🚀 React Native Template TS

npm version

📦 What's included

  • Preconfigured react-navigation, redux, react-native-config and react-native-code-push
  • Two preconfigured environments: dev and prod
  • Easy components, screens and models generation by template

🧱 Structure

components

src/components/AComponent
├── index.tsx
└── styles.ts

screens

src/screens/AScreen
├── index.tsx
├── styles.ts
└── view.tsx

models

src/models/AModel
├── actions.ts
├── api.ts
├── reducer.ts
├── saga.ts
├── selectors.ts
└── types.ts

🏗 Usage

Simply start you project using the template:

npx react-native init MyApp --template @datarockets/react-native-template-ts

If you experience issue initializing the project with the template try to use the latest CLI explicitly:

npx react-native@latest init MyApp --template @datarockets/react-native-template-ts

Package Sidebar

Install

npm i @datarockets/react-native-template-ts

Weekly Downloads

5

Version

0.1.3

License

MIT

Unpacked Size

647 kB

Total Files

97

Last publish

Collaborators

  • lesha12012
  • ezhlobo
  • vshkl