Join us to discuss the challenges, solutions and best practices for in-house JavaScript code sharing. Tuesday, 12/17 at 10am PT/1pm ET.Sign up here »

@bluebase/cli-expo

0.0.38 • Public • Published

BlueBase CLI Expo

🤖 BlueBase CLI plugin to build expo apps.


oclif Version

Table of Contents

Usage

$ npm install -g @bluebase/cli-expo
$ bluebase COMMAND
running command...
$ bluebase (-v|--version|version)
@bluebase/cli-expo/0.0.38 darwin-x64 node-v12.10.0
$ bluebase --help [COMMAND]
USAGE
  $ bluebase COMMAND
...

Commands

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

Keywords

Install

npm i @bluebase/cli-expo

DownloadsWeekly Downloads

21

Version

0.0.38

License

MIT

Unpacked Size

103 kB

Total Files

51

Last publish

Collaborators

  • avatar
  • avatar
  • avatar