@bluebase/cli-expo
v1.4.0
Published
An Expo plugin for BlueBaseJS CLI
Downloads
48
Keywords
Readme
Table of Contents
Usage
$ npm install -g @bluebase/cli-expo
$ bluebase COMMAND
running command...
$ bluebase (-v|--version|version)
@bluebase/cli-expo/1.4.0 linux-x64 node-v12.18.3
$ bluebase --help [COMMAND]
USAGE
$ bluebase COMMAND
...
Commands
bluebase expo:build
bluebase expo:build:android
bluebase expo:build:ios
bluebase expo:init
bluebase expo:start
bluebase expo:build
creates a expo build directory with app.json file
USAGE
$ bluebase expo:build
OPTIONS
--appJsPath=appJsPath [default: ./bluebase/expo/App] Path to App.js file relative to the root directory
--assetsDir=assetsDir [default: ./assets/expo] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/expo] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluebase/expo] Path to config directory relative to the root directory
EXAMPLE
$ bluebase expo:build
See code: src/commands/expo/build.ts
bluebase expo:build:android
creates a build for android.
USAGE
$ bluebase expo:build:android
OPTIONS
--appJsPath=appJsPath [default: ./bluebase/expo/App] Path to App.js file relative to the root directory
--assetsDir=assetsDir [default: ./assets/expo] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/expo] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluebase/expo] Path to config directory relative to the root directory
EXAMPLE
$ bluebase expo:build:android
See code: src/commands/expo/build/android.ts
bluebase expo:build:ios
creates a build for ios.
USAGE
$ bluebase expo:build:ios
OPTIONS
--appJsPath=appJsPath [default: ./bluebase/expo/App] Path to App.js file relative to the root directory
--assetsDir=assetsDir [default: ./assets/expo] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/expo] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluebase/expo] Path to config directory relative to the root directory
EXAMPLE
$ bluebase expo:build:ios
See code: src/commands/expo/build/ios.ts
bluebase expo:init
Initializes a directory with an example project.
USAGE
$ bluebase expo:init
OPTIONS
--appJsPath=appJsPath [default: ./bluebase/expo/App] Path to App.js file relative to the root directory
--assetsDir=assetsDir [default: ./assets/expo] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/expo] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluebase/expo] Path to config directory relative to the root directory
EXAMPLE
$ bluebase expo:init
See code: src/commands/expo/init.ts
bluebase expo:start
Starts or restarts a local server for your app and gives you a URL to it.
USAGE
$ bluebase expo:start
OPTIONS
-a, --android Opens your app in Expo on a connected Android device
-c, --clear Clear the React Native packager cache
-i, --ios Opens your app in Expo in a currently running iOS simulator on your computer
-s, --send-to=send-to An email address to send a link to
-w, --web Opens your app in a web browser
--appJsPath=appJsPath [default: ./bluebase/expo/App] Path to App.js file relative to the root directory
--assetsDir=assetsDir [default: ./assets/expo] Path to assets directory relative to the root directory
--buildDir=buildDir [default: ./build/expo] Path to build directory relative to the root directory
--configDir=configDir [default: ./bluebase/expo] Path to config directory relative to the root directory
--dev Turns dev flag on
--host=(lan|tunnel|localhost) [default: lan] Maximum number of tasks to allow Metro to spawn.
--https To start webpack with https protocol
--lan Same as --host lan
--localhost Same as --host localhost
--max-workers=max-workers Maximum number of tasks to allow Metro to spawn.
--minify Turns minify flag on
--no-dev Turns dev flag off
--no-https To start webpack with http protocol
--no-minify Turns minify flag off
--offline Allows this command to run while offline
--tunnel Same as --host tunnel
EXAMPLE
$ bluebase expo:start
See code: src/commands/expo/start.ts