-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
81 lines (81 loc) · 2.06 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
{
"name": "ring-election",
"version": "2.0.0",
"description": "Leader and followers algorithm to make partitioning easy.",
"main": "index.js",
"engines": {
"node": ">=12.0.0",
"npm": ">=6.0.0"
},
"reveal": true,
"repository": {
"type": "git",
"url": "git://github.com/pioardi/ring-election.git"
},
"keywords": [
"scalability",
"concurrency",
"distributed-systems",
"leader-election",
"partitioning",
"utility",
"library",
"standard",
"javascript",
"javascript-library",
"cluster",
"election",
"replicas",
"distributed-lock",
"fault-tolerance",
"ring"
],
"scripts": {
"start": "node start.js",
"build": "npm install",
"test": "standard && export NODE_ENV=dev && nyc --check-coverage --lines 99 --reporter=text mocha --exit --timeout 10000 **/*test.js",
"test-debug": "standard && export NODE_ENV=dev && mocha --exit --inspect-brk --timeout 10000 **/*test.js",
"integration-test": "nyc mocha --exit --timeout 300000 **/*/integration/*.js",
"integration-test-debug": "mocha --inspect-brk --exit --timeout 300000 **/*/integration/*.js",
"demontest": "nodemon --exec \"npm test\"",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"standard": "npx standard",
"standard-verbose": "npx standard --verbose",
"lint": "npx standard --fix"
},
"author": "pioardi",
"license": "MIT",
"nyc": {
"exclude": [
"**/follower.js",
"**/leader.js"
]
},
"standard": {
"env": [
"mocha",
"node"
],
"parser": "babel-eslint"
},
"dependencies": {
"@reactivex/rxjs": "^5.5.11",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.16.4",
"winston": "^3.2.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"coveralls": "^3.0.3",
"expect": "^26.0.0",
"lodash": "^4.17.11",
"mocha": "^8.3.0",
"mocha-lcov-reporter": "^1.3.0",
"mock-require": "^3.0.3",
"nyc": "^15.0.0",
"request": "2.88.2",
"standard": "^16.0.1",
"supertest": "^6.0.0"
}
}