1.1.4 • Published 10 months ago

bp-integration-runner v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Botpress Integration Runner

🧰 Purpose

This utility package simplifies the local development of Botpress integrations.

Once set up, a single command will:

  • Start a local build that hot-reloads on changes to the integration.
  • Expose it to a public URL using ngrok.
  • Update the locally hosted URL of your integration in Botpress via the Botpress API.

⚙️ Setup

  • Install the package

    npm i --save-dev bp-integration-runner
  • add a .env to the root of your botpress integration project with the following keys.

    BOTPRESS_PAT: |YOUR PERSONAL ACESS TOKEN|
    BOTPRESS_WORKSPACE_ID: |YOUR WORKSPACE ID|
  • add the following to the scripts of the package.json of your botpress integration project.

    {
      "scripts": {
        "dev-local": "bp-integration-runner"
      }
    }
  • you're all setup! to start run npm run dev-local from the root of your botpress integration project. Happy bot building!

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago