/
package.json
99 lines (99 loc) · 3.36 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
{
"name": "radar",
"description": "Realtime apps with a high level API based on engine.io",
"version": "0.19.2",
"author": "Zendesk, Inc.",
"license": "Apache-2.0",
"engines": {
"node": "0.10 - 5"
},
"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"
],
"repository": {
"type": "git",
"url": "https://github.com/zendesk/radar.git"
},
"dependencies": {
"async": "^1.5.0",
"callback_tracker": "0.1.0",
"concat-stream": "^1.5.1",
"engine.io": "1.4.2",
"http-attach": "^1.0.0",
"javascript-state-machine": "^2.3.5",
"lodash.bind": "^3.1.0",
"miniee": "0.0.5",
"minilog": "2.0.8",
"nomnom": "^1.8.1",
"persistence": ">= 1.0.5",
"radar_message": "^1.1.0",
"semver": "^5.0.3",
"underscore": "^1.8.3",
"uuid": "^2.0.1"
},
"devDependencies": {
"chai": "^3.4.1",
"chai-interface": "^2.0.2",
"literal-stream": "^0.1.0",
"mocha": "^2.3.3",
"node-fetch": "^1.3.3",
"proxyquire": "^1.7.3",
"radar_client": "^0.14.6",
"simple_sentinel": "^0.1.8",
"sinon": "^1.17.2",
"sinon-chai": "^2.8.0",
"smooth-progress": "^1.0.4",
"standard": "^5.4.1"
},
"scripts": {
"prestart": "npm run check-modules",
"start": "node server.js",
"check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then npm run warn-outdated && exit 1; fi",
"check-clean": "if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != \"\" ]]; then npm run warn-dirty-tree && exit 1; fi",
"warn-outdated": "echo 'Your node_modules are out of date. Please run \"rm -rf node_modules && npm install\" in order to ensure you have the latest dependencies.'",
"warn-dirty-tree": "echo 'Your repo tree is dirty.'",
"lint": "standard",
"pretest": "npm run check-modules && npm run lint",
"test": "npm run test-sentinel",
"test:integration": "TEST=\"tests/integration/*\" npm run test-one",
"test-full": "npm run test-sentinel && npm run test-redis",
"test-redis": "ls ./tests/*.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 ./tests/*.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 --ui exports --reporter spec --slow 2000ms --timeout 4000ms --bail \"$TEST\"",
"test-one-solo": "./node_modules/.bin/mocha --ui exports --reporter spec --slow 2000ms --timeout 4000ms --bail",
"test-debug": "./node_modules/.bin/mocha debug --ui exports --reporter spec --slow 4000ms --bail \"$TEST\"",
"test:memory": "mocha --expose-gc tests/*.memory.test.js --ui exports --reporter spec"
},
"standard": {
"ignore": [
"sample/"
]
}
}