UNPKG

vapi-typescript-sdk

Version:
56 lines 1.72 kB
{ "name": "vapi-typescript-sdk", "version": "1.2.0", "description": "Interact with Vapi API in a type-safe way", "keywords": [ "vapi", "api", "typescript", "sdk", "client", "http", "rest" ], "main": "dist/index.js", "homepage": "https://github.com/nathanbrachotte/vapi-typescript-sdk", "bugs": { "url": "https://github.com/nathanbrachotte/vapi-typescript-sdk/issues" }, "author": "Nathan Brachotte <hey+vts@nathanbrachotte.dev> (https://nathanbrachotte.dev)", "repository": { "type": "git", "url": "git+https://github.com/nathanbrachotte/vapi-typescript-sdk.git" }, "files": [ "dist" ], "license": "MIT", "type": "module", "scripts": { "ci": "npm run build && npm run prettier:check && npm run test", "build": "tsc", "check-exports": "attw --pack .", "prettier:format": "prettier --write .", "prettier:check": "prettier --check .", "test": "vitest run", "test:dev": "vitest", "schema:fetch": "tsx bin/downloadSchema.ts", "schema:prepare": "tsx bin/fixSchema.ts", "codegen:generate": "npx openapi-typescript ./src/generated/fixed-vapi-schema.json -o ./src/generated/vapiOpenApi.ts", "codegen:all": "npm run schema:fetch && npm run schema:prepare && npm run codegen:generate", "release:local": "npm run ci && changeset version && changeset publish", "release:prepare": "npm changeset" }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.4", "@changesets/cli": "^2.27.7", "openapi-typescript": "^7.0.0-rc.1", "prettier": "^3.3.3", "tsx": "^4.17.0", "typescript": "^5.5.4", "vitest": "^2.0.5" }, "dependencies": { "openapi-fetch": "^0.11.1" } }