Skip to content

kanzitelli/cli-rn

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Purpose of cli-rn is to simplify and accelerate the process of React Native App development. It is not a replacer for react-native cli but a good addition!

Quick start

> npx cli-rn new App

# or install it globally first
> npm i -g cli-rn
> cli-rn new App

It will generate a new production-ready Expo (React Native) App bootstrapped from expo-starter.

For React Native Navigation (by Wix) setup:

> cli-rn new App -t rnn

For React Navigation (w/out Expo) setup:

> cli-rn new App -t rn

Example with all possible options:

> cli-rn new App -b com.company.App -t expo

> cli-rn new --help

Usage: cli-rn new [options] <App>

Generates a new production ready React Native App. Try it: > cli-rn new app

Options:
  -t, --template <template>  Template option. Possible values: ['expo', 'rn', 'rnn']. Default: 'expo'.
  -b, --bundleId <bundleId>  Bundle identifier. Default: 'clirn.<app>'. This option will be ignored for 'expo' template.
  -h, --help                 display help for command

Starters

  • expo-starter - Production-ready starter for Expo (React Native) App! Powered by cli-rn, React Navigation (v6), RN UI lib, Mobx, Reanimated 2, Dark Mode, Localization, and much more.
  • rn-starter - Production-ready starter for your next React Native App! Powered by cli-rn, React Navigation (v6), RN UI lib, Mobx, Reanimated 2, Dark Mode, Localization, Notifications, Permissions, and much more.
  • rnn-starter - Production-ready starter for your next React Native App! Powered by cli-rn, React Native Navigation, RN UI lib, Mobx, Reanimated 2, Dark Mode, Localization, Notifications, Permissions, and much more.

Worth checking

Articles

  • cli-rn making RN app developing experience as smooth as possible - Medium, Dev.to