-
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.78 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.78 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
{
"name": "@y/hub",
"version": "0.2.11",
"description": "Scalable websocket provider for Yjs",
"sideEffects": false,
"type": "module",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad"
},
"scripts": {
"start": "docker compose --profile all up",
"start:dbs": "docker compose --profile db up",
"start:minio": "docker compose --profile db up minio",
"docker:rebuild": "docker compose --profile all build --no-cache",
"debug:server": "node --env-file .env --inspect-brk ./bin/server.js | pino-pretty -S",
"debug:worker": "node --env-file .env --inspect-brk ./bin/worker.js | pino-pretty -S",
"start:init": "node --env-file .env $(test -f .env.testing && echo '--env-file .env.testing') ./bin/init-db.js | pino-pretty -S",
"dist": "npm run types",
"types": "tsc --skipLibCheck",
"lint": "standard && tsc --skipLibCheck",
"test": "FORCE_COLOR=true node --expose-gc --max-old-space-size=8192 --env-file .env $(test -f .env.testing && echo '--env-file .env.testing') tests/index.js | pino-pretty -S -L debug",
"debug:test": "FORCE_COLOR=true node --expose-gc --max-old-space-size=8192 --env-file .env $(test -f .env.testing && echo '--env-file .env.testing') --inspect-brk tests/index.js | pino-pretty -S",
"preversion": "npm run lint && npm run dist",
"clean": "rm -rf **/dist "
},
"bin": {
"yhub": "./bin/yhub.js"
},
"files": [
"dist/*",
"bin/*",
"src/*"
],
"exports": {
"./package.json": "./package.json",
".": {
"default": "./src/index.js",
"types": "./dist/src/index.d.ts"
},
"./plugins/s3": {
"default": "./src/plugins/s3.js",
"types": "./dist/src/storage/s3.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/yjs/yhub.git"
},
"keywords": [
"Yjs"
],
"author": "Kevin Jahns <kevin.jahns@protonmail.com>",
"license": "AGPL-3.0 OR PROPRIETARY",
"bugs": {
"url": "https://github.com/yjs/yhub/issues"
},
"homepage": "https://github.com/yjs/yhub#readme",
"standard": {
"ignore": [
"/dist",
"/node_modules",
"/demos"
]
},
"dependencies": {
"@y/protocols": "^1.0.6-rc.1",
"@y/y": "^14.0.0-rc.1",
"lib0": "^1.0.0-rc.2",
"minio": "^8.0.6",
"pino": "^10.3.1",
"postgres": "^3.4.3",
"redis": "^5.10.0",
"uws": "github:uNetworking/uWebSockets.js#v20.57.0"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=22.0.0"
},
"devDependencies": {
"@types/node": "^24.0.6",
"@types/ws": "^8.5.10",
"@y/websocket": "^4.0.0-rc.0",
"concurrently": "^8.2.2",
"pino-pretty": "^13.1.3",
"standard": "^17.1.0",
"standardjs": "^1.0.0-alpha",
"typescript": "^5.9.3",
"ws": "^8.16.0",
"y-websocket": "^2.0.4"
}
}