-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
96 lines (96 loc) · 2.63 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@y/redis",
"version": "0.1.6",
"description": "Scalable websocket provider for Yjs using redis",
"sideEffects": false,
"type": "module",
"funding": {
"type": "GitHub Sponsors ❤",
"url": "https://github.com/sponsors/dmonad"
},
"scripts": {
"dev": "concurrently -r 'npm run start:server' 'npm run start:worker' 'npm run minio'",
"start:server": "node --env-file .env ./bin/server.js",
"debug:server": "node --env-file .env --inspect-brk ./bin/worker.js ./bin/server.js",
"start:worker": "node --env-file .env ./bin/worker.js",
"debug:worker": "node --env-file .env --inspect-brk ./bin/worker.js",
"minio": "docker run -p 9000:9000 -p 9001:9001 quay.io/minio/minio server /data --console-address \":9001\"",
"redis": "docker run -p 6379:6379 redis",
"dist": "tsc",
"lint": "standard && tsc",
"test": "node --env-file .env tests/index.js",
"test-inspect": "node --env-file .env --inspect-brk tests/index.js",
"preversion": "npm run lint && npm run dist",
"clean": "rm -rf **/dist "
},
"bin": {
"y-redis-server": "./bin/server.js",
"y-redis-worker": "./bin/worker.js"
},
"files": [
"dist/*",
"bin/*",
"src/*"
],
"exports": {
"./package.json": "./package.json",
".": {
"default": "./src/index.js",
"types": "./dist/src/index.d.ts"
},
"./storage/memory": {
"default": "./src/storage/memory.js",
"types": "./dist/src/storage/memory.d.ts"
},
"./storage/s3": {
"default": "./src/storage/s3.js",
"types": "./dist/src/storage/s3.d.ts"
},
"./storage/postgres": {
"default": "./src/storage/postgres.js",
"types": "./dist/src/storage/postgres.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/yjs/y-redis.git"
},
"keywords": [
"Yjs"
],
"author": "Kevin Jahns <kevin.jahns@protonmail.com>",
"license": "AGPL-3.0 OR PROPRIETARY",
"bugs": {
"url": "https://github.com/yjs/y-redis/issues"
},
"homepage": "https://github.com/yjs/y-redis#readme",
"standard": {
"ignore": [
"/dist",
"/node_modules"
]
},
"dependencies": {
"lib0": "^0.2.93",
"redis": "^4.6.12",
"uws": "github:uNetworking/uWebSockets.js#v20.40.0",
"yjs": "^13.5.6"
},
"optionalDependencies": {
"postgres": "^3.4.3",
"minio": "^7.1.3"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=20.0.0"
},
"devDependencies": {
"@types/node": "^20.11.5",
"@types/ws": "^8.5.10",
"concurrently": "^8.2.2",
"standard": "^17.1.0",
"typescript": "^5.3.3",
"ws": "^8.16.0",
"y-websocket": "^2.0.4"
}
}