1.0.5 • Published 2 years ago
@ajoykarmakar/rn-init v1.0.5
As we know react-native officially just came with a few files and folder. We don't get any src, screens or components folders. So we have decided to automate this feature with this CLI.
Create project with
npx react-native init MyTestApp
Project setup with
Globally install this CLI with this command -
npm i -g @ajoykarmakar/rn-init
Run this command to the newly created react native project. (Ex:- MyTestApp)
rn-init
Get these files
src
assets
fonts
imgs
layouts
components
navigation
screens
HomeScreen.js
utils
appContext.js
config.js
helper.js
theme.js
Get these libraries
"@react-native-async-storage/async-storage": "latest",
"@react-native-community/netinfo": "latest",
"@react-navigation/native": "latest",
"@react-navigation/native-stack": "latest",
"axios": "latest",
"react-native-paper": "latest",
"react-native-safe-area-context": "latest",
"react-native-screens": "latest",
"react-native-vector-icons": "latest"