-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
62 lines (62 loc) · 2.11 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
{
"name": "@socket.io/redis-streams-adapter",
"version": "0.2.2",
"description": "The Socket.IO adapter based on Redis Streams, allowing to broadcast events between several Socket.IO servers",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:socketio/socket.io-redis-streams-adapter.git"
},
"files": [
"dist/"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"compile": "rimraf ./dist && tsc",
"format:check": "prettier --parser typescript --check \"lib/**/*.ts\" \"test/**/*.ts\"",
"format:fix": "prettier --parser typescript --write \"lib/**/*.ts\" \"test/**/*.ts\"",
"prepack": "npm run compile",
"test": "npm run format:check && npm run compile && npm run test:redis-standalone && npm run test:redis-cluster && npm run test:ioredis-standalone && npm run test:ioredis-cluster && npm run test:valkey-standalone",
"test:redis-standalone": "nyc mocha --require ts-node/register test/**/*.ts",
"test:redis-cluster": "cross-env REDIS_CLUSTER=1 mocha --require ts-node/register test/**/*.ts",
"test:ioredis-standalone": "cross-env REDIS_LIB=ioredis mocha --require ts-node/register test/**/*.ts",
"test:ioredis-cluster": "cross-env REDIS_LIB=ioredis REDIS_CLUSTER=1 mocha --require ts-node/register test/**/*.ts",
"test:valkey-standalone": "cross-env VALKEY=1 mocha --require ts-node/register test/**/*.ts"
},
"prettier": {
"endOfLine": "auto"
},
"dependencies": {
"@msgpack/msgpack": "~2.8.0",
"debug": "~4.3.1"
},
"peerDependencies": {
"socket.io-adapter": "^2.5.4"
},
"devDependencies": {
"@types/expect.js": "^0.3.29",
"@types/mocha": "^8.2.1",
"@types/node": "^18.15.11",
"cross-env": "7.0.3",
"expect.js": "0.3.1",
"ioredis": "^5.3.2",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "^2.8.7",
"redis": "^4.6.5",
"rimraf": "^5.0.5",
"socket.io": "^4.6.1",
"socket.io-client": "^4.6.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14.0.0"
},
"keywords": [
"socket.io",
"redis",
"adapter"
]
}