Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/wix-incubator/react-native-extended-cli

Extended CLI with convenient scripts and utilities for developing React Native apps
https://github.com/wix-incubator/react-native-extended-cli

Last synced: about 2 months ago
JSON representation

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

Lists

README

        

# 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``

```shell
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.

```shell

#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:

#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

```