Skip to content

Extended CLI with convenient scripts and utilities for developing React Native apps

License

Notifications You must be signed in to change notification settings

wix-incubator/react-native-extended-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-extended-cli

Extended CLI with convenient scripts and utilities for developing React Native apps and modules. This is an opinionated tool, catered toward a very specific set of conventions that makes life easier for us.

##Getting Started

Dependencies: `jq``

npm install -g react-native-extended-cli

##Common Commands

For a complete list of commands, run rnx with no arguments. Anything you pass to rnx that isn't in that list will be passed to the default react-native-cli. Most commands can be passed a --help argument for more explanation.

#run the app (currently only iOS) but don't rebuild, start the packager, or anything else. this is quick
rnx app [ios|android]

#build both android and ios
rnx build

#build just one of the platforms
rnx build:<platform>

#lint
rnx lint

#test, optionally just unit or e2e
rnx test [--unit|--e2e] [--skip-lint]

#watch - lint and unit tests on all changes
rnx watch [--skip-lint]

#open the ios project in xcode
rnx xcode

About

Extended CLI with convenient scripts and utilities for developing React Native apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published