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