-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.19 KB
/
package.json
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
{
"name": "y-crossws",
"version": "0.0.2",
"description": "yjs websocket server powered by crossws, works on Node.js, Deno, Bun, Cloudflare Workers and more without any framework dependency and compatible with unmodified y-websocket client provider.",
"keywords": [
"yjs",
"unjs",
"crossws",
"websocket",
"server",
"node",
"deno",
"bun",
"cloudflare",
"workers"
],
"repository": "pi0/y-crossws",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./provider": {
"types": "./dist/provider.d.mts",
"default": "./dist/provider.mjs"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"lint": "eslint . && prettier -c src playground",
"lint:fix": "automd && eslint . --fix && prettier -w src playground",
"prepack": "pnpm build",
"play:bun": "PORT=3000 bun run --watch ./playground/bun.ts",
"play:cf": "wrangler dev -c ./playground/wrangler.toml --port 3000",
"play:deno": "PORT=3000 deno run --unstable-byonm -A ./playground/deno.ts",
"play:node": "PORT=3000 jiti ./playground/node.ts",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && pnpm test:types",
"test:types": "tsc --noEmit --skipLibCheck"
},
"dependencies": {
"lib0": "^0.2.98",
"y-protocols": "^1.0.6"
},
"devDependencies": {
"@cloudflare/kv-asset-handler": "^0.3.4",
"@cloudflare/workers-types": "^4.20241011.0",
"@types/deno": "^2.0.0",
"@types/node": "^22.7.6",
"@types/ws": "^8.5.12",
"automd": "^0.3.12",
"changelogen": "^0.5.7",
"crossws": ">=0.2.0 <0.4.0",
"eslint": "^9.12.0",
"eslint-config-unjs": "^0.4.1",
"jiti": "^2.3.3",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"wrangler": "^3.81.0",
"ws": "^8.18.0",
"yjs": "^13.6.20"
},
"peerDependencies": {
"crossws": ">=0.2.0 <0.4.0",
"yjs": "^13.5.6"
},
"packageManager": "pnpm@9.12.0"
}