A set of scripts to simplify React Native development
yarn add -D @forward-software/react-native-toolboxor use it directly with
npx @forward-software/react-native-toolbox <command>Manage .env files for react-native-dotenv for a specific environment (development, production, etc...)
USAGE
$ rn-toolbox dotenv ENVIRONMENTNAME [-h] [-v]
ARGUMENTS
ENVIRONMENTNAME name of the environment to load .dotenv file for.
FLAGS
-h, --help Show help
-v, --verbose Print more detailed log messages
DESCRIPTION
Manage .env files for react-native-dotenv for a specific environment (development, production, etc...)
EXAMPLES
$ rn-toolbox dotenv production
$ rn-toolbox dotenv development -v
See code: src/commands/dotenv.ts
Generate app icons using a file as template.
USAGE
$ rn-toolbox icons [FILE] [-a <value>] [-h] [-v]
ARGUMENTS
FILE [default: ./assets/icon.png] Input icon file
FLAGS
-a, --appName=<value> App name used to build output assets path. Default is retrieved from 'app.json' file.
-h, --help Show help
-v, --verbose Print more detailed log messages
DESCRIPTION
Generate app icons using a file as template.
The template icon file should be at least 1024x1024px.
EXAMPLES
$ rn-toolbox icons
$ rn-toolbox icons ./my-icon.png --appName MyApp
$ rn-toolbox icons -v
See code: src/commands/icons.ts
Generate app splashscreens using a file as template.
USAGE
$ rn-toolbox splash [FILE] [-a <value>] [-h] [-v]
ARGUMENTS
FILE [default: ./assets/splashscreen.png] Input splashscreen file
FLAGS
-a, --appName=<value> App name used to build output assets path. Default is retrieved from 'app.json' file.
-h, --help Show help
-v, --verbose Print more detailed log messages
DESCRIPTION
Generate app splashscreens using a file as template.
The template splashscreen file should be at least 1242x2208px.
EXAMPLES
$ rn-toolbox splash
$ rn-toolbox splash ./my-splash.png --appName MyApp
$ rn-toolbox splash -v
See code: src/commands/splash.ts
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.