npm.io
3.29.3 • Published 5 months ago

@voiceflow/api-sdk

Licence
ISC
Version
3.29.3
Deps
5
Size
226 kB
Vulns
23
Weekly
0
Stars
6

api-sdk

SDK for Voiceflow API, with typings for general voiceflow data structures.

Getting Started

Environment

In order to run this package locally, make sure you have yarn and brew installed. You also need to acquire a .env file and a local_sercrets.yaml file from engineering to load development secrets.

Package Manager

This Repository Relies on yarn and does not work with npm

Install Dependencies

Use yarn to install this project's dependencies.

yarn install
Generate SSL Certificates

Use mkcert to generate and install SSL certificates for local development.

yarn gen-certs

Usage

Build

Run tsc to generate a compiled version of the server.

yarn build
Start

Run the express server locally.

yarn local
Testing
Linting

Test the code for linting errors with estlint.

yarn lint
Unit Tests

Run unit tests with mocha.

yarn test

Keywords