Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @panz3r/react-native-toolbox with all npm packages installed. Try it out:

var reactNativeToolbox = require("@panz3r/react-native-toolbox")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@panz3r/react-native-toolbox v2.0.0

A set of scripts to simplify React Native development

React Native Toolbox

A set of scripts to simplify React Native development

License oclif

Version Downloads/week

* [Install](#install) * [Commands](#commands)

Install

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

or use it directly with

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

Commands

* [`rn-toolbox dotenv ENVIRONMENTNAME`](#rn-toolbox-dotenv-environmentname) * [`rn-toolbox help [COMMAND]`](#rn-toolbox-help-command) * [`rn-toolbox icons [FILE]`](#rn-toolbox-icons-file) * [`rn-toolbox splash [FILE]`](#rn-toolbox-splash-file)

rn-toolbox dotenv ENVIRONMENTNAME

manage .env files for react-native-dotenv

USAGE
  $ rn-toolbox dotenv ENVIRONMENTNAME

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

OPTIONS
  -h, --help  show CLI help

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

See code: src/commands/dotenv.ts

rn-toolbox help [COMMAND]

display help for rn-toolbox

USAGE
  $ rn-toolbox help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

rn-toolbox icons [FILE]

generate app icons

USAGE
  $ rn-toolbox icons [FILE]

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

OPTIONS
  -a, --appName=appName  the appName used to build output assets path. Default is retrieved from 'app.json' file.
  -h, --help             show CLI help

DESCRIPTION
  Generate app icons using FILE as base.
  The base icon file should be at least 1024x1024px.

See code: src/commands/icons.ts

rn-toolbox splash [FILE]

generate app splashscreen for react-native-splash-screen

USAGE
  $ rn-toolbox splash [FILE]

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

OPTIONS
  -a, --appName=appName  the appName used to build output assets path. Default is retrieved from 'app.json' file.
  -h, --help             show CLI help

DESCRIPTION
  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: src/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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free