1.0.1 • Published 3 years ago

@beekeeper/mobile-bridge-setup v1.0.1

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
3 years ago

@beekeeper/mobile-bridge-setup

A script to generate bridge configuration for Beekeeper mobile bridge mock.

Installation

For a one-off run, you can use npx:

$ npx @beekeeper/mobile-bridge-setup --help

It can also be installed into devDependencies of your widget:

# Using NPM
$ npm install @beekeeper/mobile-bridge-setup --dev

# Using Yarn
$ yarn add --dev @beekeeper/mobile-bridge-setup

# Running it
$ node_modules/.bin/mobile-bridge-setup --help

Usage

In most cases, something like this will suffice:

$ npx @beekeeper/mobile-bridge-setup \
    --tenant-url https://momcorp.beekeeper.io/ \
    --auth-token 262859b4-3012-4905-b29a-cbe5c1a7a8f4

This will print out a code snippet that can be run in the browser's developer console to populate the bridge with data it expects.

Run the command with --help for an up to date list of additional parameters.