-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.6 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
{
"name": "@hackmd/y-socketio-redis",
"version": "0.0.11",
"description": "Scalable Socket.IO provider for Yjs using redis",
"sideEffects": false,
"type": "module",
"scripts": {
"dev": "concurrently -r 'npm run start:server' 'npm run start:worker' 'npm run minio'",
"start:server": "dotenvx run --env-file=.env -- node ./bin/server.js",
"debug:server": "dotenvx run --env-file=.env -- node --inspect-brk ./bin/worker.js ./bin/server.js",
"start:worker": "dotenvx run --env-file=.env -- node ./bin/worker.js",
"debug:worker": "dotenvx run --env-file=.env -- node --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",
"test-db": "docker-compose -f ./docker-compose.test.yaml up",
"dist": "tsup",
"lint": "standard && tsc",
"test": "dotenvx run --env-file=.env -- node tests/index.js",
"test-inspect": "dotenvx run --env-file=.env -- node --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/*"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./dist/client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.js",
"default": "./dist/client/index.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hackmdio/y-socketio-redis.git"
},
"keywords": [
"Yjs"
],
"author": "Kevin Jahns <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/hackmdio/y-socketio-redis#readme",
"standard": {
"ignore": [
"/dist",
"/node_modules"
]
},
"dependencies": {
"lib0": "^0.2.93",
"redis": "^4.6.12",
"socket.io": "^4.7.5",
"socket.io-client": "^4.8.0",
"y-protocols": "^1.0.6",
"yjs": "^13.6.18"
},
"optionalDependencies": {
"minio": "^7.1.3",
"postgres": "^3.4.3"
},
"engines": {
"node": ">=18.0.0"
},
"packageManager": "[email protected]",
"devDependencies": {
"@dotenvx/dotenvx": "^1.14.0",
"@redis/client": "^1.6.0",
"@types/node": "^20.11.5",
"@types/ws": "^8.5.10",
"concurrently": "^8.2.2",
"standard": "^17.1.0",
"tsup": "^8.2.4",
"typescript": "^5.3.3"
}
}