3.0.0 • Published 2 years ago

@panz3r/react-native-toolbox v3.0.0

Weekly downloads
10
License
MPL-2.0
Repository
github
Last release
2 years ago

React Native Toolbox

A set of scripts to simplify React Native development

License oclif

Version Downloads/week

Install

yarn add -D @panz3r/react-native-toolbox

or use it directly with

npx @panz3r/react-native-toolbox <command>

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


Made with :sparkles: & :heart: by Mattia Panzeri and contributors

If you found this project to be helpful, please consider buying me a coffee.

buy me a coffee

3.0.0

2 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.0

6 years ago