-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
101 lines (101 loc) · 3.27 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
97
98
99
100
101
{
"name": "radar",
"description": "Realtime apps with a high level API based on engine.io",
"version": "0.42.1",
"author": "Zendesk, Inc.",
"license": "Apache-2.0",
"engines": {
"node": ">=10"
},
"contributors": [
"Mikito Takada <mikito.takada@gmail.com>",
{
"name": "Sam Shull",
"url": "http://github.com/samshull"
},
{
"name": "Vanchi Koduvayur",
"url": "https://github.com/vanchi-zendesk"
},
{
"name": "Nicolas Herment",
"url": "https://github.com/nherment"
},
"jden <jason@denizac.org>"
],
"keywords": [
"realtime",
"real-time",
"pubsub",
"pub-sub",
"socketio",
"server",
"socket.io",
"engine.io",
"comet",
"ajax"
],
"bin": "./bin/server.js",
"repository": {
"type": "git",
"url": "https://github.com/zendesk/radar.git"
},
"dependencies": {
"@gerhobbelt/nomnom": "^1.8.4-31",
"async": "^3.2.4",
"callback_tracker": "0.1.0",
"concat-stream": "^2.0.0",
"content-type": "^1.0.5",
"engine.io": "^6.5.2",
"http-attach": "^1.0.0",
"javascript-state-machine": "^3.1.0",
"lodash": "^4.17.21",
"miniee": "0.0.5",
"minilog": "^2.1.0",
"mobx": "^6.10.2",
"nonblocking": "^1.0.3",
"persistence": "^2.1.0",
"radar_message": "^1.4.0",
"semver": "^7.5.4",
"uuid": "^8.3.2"
},
"devDependencies": {
"chai": "^4.3.8",
"chai-interface": "^2.0.3",
"literal-stream": "^0.1.0",
"mocha": "^9.2.2",
"node-fetch": "^3.3.2",
"proxyquire": "^2.1.3",
"radar_client": "^0.17.3",
"simple_sentinel": "github:zendesk/simple_sentinel",
"sinon": "^13.0.2",
"sinon-chai": "^3.7.0",
"smooth-progress": "^1.1.0",
"standard": "^16.0.4"
},
"scripts": {
"prestart": "npm run check-modules",
"start": "node bin/server.js",
"check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then echo updating modules && npm install; fi",
"check-clean": "if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != \"\" ]]; then npm run warn-dirty-tree && exit 1; fi",
"warn-dirty-tree": "echo 'Your repo tree is dirty.'",
"pretest": "npm run check-modules && npm run lint",
"lint": "standard",
"test": "npm run test:sentinel",
"test:integration": "TEST=\"test/integration/*\" npm run test:one",
"test:full": "npm run test:sentinel && npm run test:redis",
"test:redis": "ls ./test/*.test.js | xargs -n 1 -t -I {} sh -c 'TEST=\"{}\" npm run test:one'",
"pretest:sentinel": "./node_modules/.bin/simple_sentinel start",
"test:sentinel": "ls ./test/*.test.js | xargs -n 1 -t -I {} sh -c 'TEST=\"{}\" RADAR_SENTINEL_URLS=sentinel://localhost:26379 RADAR_SENTINEL_MASTER_NAME=mymaster npm run test:one'",
"posttest:sentinel": "./node_modules/.bin/simple_sentinel stop",
"test:one": "./node_modules/.bin/mocha --reporter spec --slow 10000ms --timeout 25000ms --exit \"$TEST\"",
"test:one-solo": "./node_modules/.bin/mocha --reporter spec --slow 10000ms --timeout 25000ms --exit",
"test:debug": "./node_modules/.bin/mocha debug --reporter spec --slow 10000ms --exit \"$TEST\"",
"test:memory": "mocha --expose-gc test/*.memory.test.js --reporter spec"
},
"standard": {
"ignore": [
"sample/"
]
}
}