Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 1.93 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 1.93 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
{
"name": "@wireboard/api",
"version": "1.0.7",
"description": "Official TypeScript SDK for the WireBoard REST and Live (SSE) APIs.",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"browser": {
"types": "./dist/index.d.ts",
"default": "./dist/index.browser.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"bin": {
"wireboard-api": "./dist/cli.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"size": "size-limit",
"verify": "node dist/cli.js verify",
"prepublishOnly": "npm run typecheck && npm run test && npm run build && npm run size"
},
"dependencies": {
"eventsource": "^2.0.2"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^14.3.0",
"@types/eventsource": "^1.1.15",
"@types/node": "^20.11.0",
"size-limit": "^14.3.0",
"tsup": "^9.0.0",
"typescript": "^5.4.0",
"vitest": "^4.1.12"
},
"size-limit": [
{
"name": "browser ESM",
"path": "dist/index.browser.js",
"limit": "15 KB",
"gzip": true
}
],
"keywords": [
"wireboard",
"analytics",
"sse",
"real-time",
"sdk"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wireboard/api-js.git"
},
"homepage": "https://github.com/wireboard/api-js#readme",
"bugs": {
"url": "https://github.com/wireboard/api-js/issues"
},
"publishConfig": {
"access": "public"
}
}