@ajoykarmakar/rn-init

1.0.5 • Public • Published

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"

Readme

Keywords

none

Package Sidebar

Install

npm i @ajoykarmakar/rn-init

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

13.1 kB

Total Files

22

Last publish

Collaborators

  • ajoykarmakar