0.1.3 • Published 5 years ago

@datarockets/react-native-template-ts v0.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

šŸš€ 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
0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1-2

5 years ago

0.0.1

5 years ago