forked from cloudflare/capnweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.11 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.11 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
{
"name": "@dotdo/capnweb",
"version": "0.4.0",
"description": "JavaScript/TypeScript-native RPC library with Promise Pipelining - optimized for Cloudflare Workers",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Kenton Varda <kenton@cloudflare.com>",
"contributors": [
"Platform.do <npm@platform.do>"
],
"license": "MIT",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": {
"workerd": "./dist/index-workers.js",
"default": "./dist/index.js"
},
"require": {
"workerd": "./dist/index-workers.cjs",
"default": "./dist/index.cjs"
}
},
"./server": {
"types": "./dist/server.d.ts",
"import": {
"workerd": "./dist/server.js",
"default": "./dist/server.js"
}
},
"./hibernatable-ws": {
"types": "./dist/hibernatable-ws.d.ts",
"import": "./dist/hibernatable-ws.js",
"require": "./dist/hibernatable-ws.cjs"
}
},
"type": "module",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup --format esm,cjs",
"build:watch": "tsup --watch --format esm,cjs",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@cloudflare/vitest-pool-workers": "^0.12.10",
"@cloudflare/workers-types": "^4.20260205.0",
"@dotdo/types": "file:../types",
"@types/ws": "^8.18.1",
"@vitest/browser": "^3.2.4",
"esbuild": "^0.27.2",
"pkg-pr-new": "^0.0.60",
"playwright": "^1.56.1",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^3.2.4",
"ws": "^8.19.0"
},
"peerDependencies": {
"@dotdo/types": ">=0.1.0"
},
"peerDependenciesMeta": {
"@dotdo/types": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/dot-do/capnweb"
},
"bugs": {
"url": "https://github.com/dot-do/capnweb/issues"
},
"homepage": "https://github.com/dot-do/capnweb#readme"
}