-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@signalwire/sdk",
"version": "3.2.0",
"description": "SignalWire AI Agents SDK for TypeScript/Node.js",
"keywords": [
"signalwire",
"ai",
"voice",
"agents",
"swml",
"swaig",
"telephony",
"sdk"
],
"repository": {
"type": "git",
"url": "git+https://github.com/signalwire/signalwire-typescript.git"
},
"homepage": "https://github.com/signalwire/signalwire-typescript#readme",
"bugs": {
"url": "https://github.com/signalwire/signalwire-typescript/issues"
},
"author": "SignalWire <open.source@signalwire.com>",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./livewire": {
"types": "./dist/livewire/index.d.ts",
"import": "./dist/livewire/index.js",
"default": "./dist/livewire/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md"
],
"bin": {
"swaig-test": "./dist/cli/swaig-test.js"
},
"scripts": {
"generate:rest-types": "npx tsx scripts/generate-rest-types.ts",
"generate:rest-types:check": "npx tsx scripts/generate-rest-types.ts --check",
"generate:relay-protocol": "npx tsx scripts/generate-relay-protocol.ts",
"generate:relay-protocol:check": "npx tsx scripts/generate-relay-protocol.ts --check",
"generate:swaig-payloads": "npx tsx scripts/generate-swaig-payloads.ts",
"generate:swaig-payloads:check": "npx tsx scripts/generate-swaig-payloads.ts --check",
"generate:swml-verbs": "npx tsx scripts/generate-swml-verbs.ts",
"generate:swml-verbs:check": "npx tsx scripts/generate-swml-verbs.ts --check",
"prebuild": "npm run generate:rest-types && npm run generate:relay-protocol && npm run generate:swaig-payloads && npm run generate:swml-verbs",
"build": "tsc",
"postbuild": "cp src/schema.json dist/schema.json",
"prepack": "npm run build",
"prepublishOnly": "npm run build",
"test": "vitest run",
"test:watch": "vitest",
"test:examples": "tsc --noEmit --project tsconfig.examples.json",
"dev": "tsc --watch",
"enumerate:doc-surface": "npx tsx scripts/enumerate-doc-surface.ts",
"enumerate:signatures": "PORTING_SDK=\"${PORTING_SDK:-../porting-sdk}\" PORTING_SDK_PATH=\"${PORTING_SDK_PATH:-../porting-sdk}\" npx tsx scripts/enumerate-signatures.ts",
"enumerate:surface": "PORTING_SDK=\"${PORTING_SDK:-../porting-sdk}\" PORTING_SDK_PATH=\"${PORTING_SDK_PATH:-../porting-sdk}\" npx tsx scripts/enumerate-surface.ts",
"ci:gates": "bash scripts/run-ci.sh",
"lint": "eslint src tests examples",
"format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts' 'examples/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts' 'examples/**/*.ts'"
},
"engines": {
"node": ">=22.0.0"
},
"license": "MIT",
"dependencies": {
"@hono/node-server": "^2.0.0",
"ajv": "^8.18.0",
"hono": "^4.4.0",
"js-yaml": "^4.1.1",
"ws": "^8.17.1"
},
"optionalDependencies": {
"cheerio": "^1.2.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.0.0",
"@types/ws": "^8.5.10",
"cheerio": "^1.2.0",
"eslint": "^10.5.0",
"prettier": "^3.8.4",
"tsx": "^4.21.0",
"typescript": "^6.0.0",
"typescript-eslint": "^8.61.0",
"vitest": "^4.1.5"
}
}