0.1.1 • Published 5 years ago

@datarockets/react-native-template-js v0.1.1

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

šŸš€ React Native Template JS

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.js
└── styles.js

screens

src/screens/AScreen
ā”œā”€ā”€ index.js
ā”œā”€ā”€ styles.js
└── view.js

models

src/models/AModel
ā”œā”€ā”€ actions.js
ā”œā”€ā”€ api.js
ā”œā”€ā”€ reducer.js
ā”œā”€ā”€ saga.js
ā”œā”€ā”€ selectors.js
└── types.js

šŸ— Usage

Simply start you project using the template:

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

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-js
0.1.1

5 years ago

0.1.0

5 years ago

0.0.1-3

5 years ago

0.0.1-2

5 years ago

0.0.1

5 years ago