Home

Awesome

React Native Toolbox

A set of scripts to simplify React Native development

License oclif

Version Downloads/week

<!-- toc --> <!-- tocstop -->

Install

yarn add -D @forward-software/react-native-toolbox

or use it directly with

npx @forward-software/react-native-toolbox <command>

Commands

<!-- commands -->

rn-toolbox dotenv ENVIRONMENTNAME

manage .env files for react-native-dotenv

USAGE
  $ rn-toolbox dotenv [ENVIRONMENTNAME] [-h]

ARGUMENTS
  ENVIRONMENTNAME  name of the environment to load .dotenv file for

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  manage .env files for react-native-dotenv

  Manage .env files for react-native-dotenv for a specific environment (development, production, etc...)

See code: dist/commands/dotenv.ts

rn-toolbox help [COMMAND]

Display help for rn-toolbox.

USAGE
  $ rn-toolbox help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for rn-toolbox.

See code: @oclif/plugin-help

rn-toolbox icons [FILE]

generate app icons

USAGE
  $ rn-toolbox icons [FILE] [-h] [-a <value>]

ARGUMENTS
  FILE  [default: ./assets/icon.png] input icon file

FLAGS
  -a, --appName=<value>  the appName used to build output assets path. Default is retrieved from 'app.json' file.
  -h, --help             Show CLI help.

DESCRIPTION
  generate app icons

  Generate app icons using FILE as base.

  The base icon file should be at least 1024x1024px.

See code: dist/commands/icons.ts

rn-toolbox splash [FILE]

generate app splashscreen for react-native-splash-screen

USAGE
  $ rn-toolbox splash [FILE] [-h] [-a <value>]

ARGUMENTS
  FILE  [default: ./assets/splashscreen.png] input splashscreen file

FLAGS
  -a, --appName=<value>  the appName used to build output assets path. Default is retrieved from 'app.json' file.
  -h, --help             Show CLI help.

DESCRIPTION
  generate app splashscreen for react-native-splash-screen

  Generate app splashscreen using FILE as base to be used with crazycodeboy/react-native-splash-screen module.

  The base splashscreen file should be at least 1242x2208px.

See code: dist/commands/splash.ts

<!-- commandsstop -->

License

Mozilla Public License 2.0


Made with ✨ & ❤️ by ForWarD Software and contributors

If you found this project to be helpful, please consider contacting us to develop your React and React Native projects.