-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
132 lines (132 loc) · 3.34 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "leap-node",
"version": "6.0.1",
"main": "index.js",
"author": "Alex Lunyov <[email protected]>",
"license": "MPL-2.0",
"scripts": {
"start": "node index.js",
"test": "./node_modules/.bin/jest --maxWorkers=4 --detectOpenHandles --forceExit",
"lint": "./node_modules/.bin/eslint src lotion",
"test:watch": "./node_modules/.bin/jest --watch --coverage=false",
"precommit": "./node_modules/.bin/lint-staged",
"install": "node ./lotion/bin/download.js",
"build:abci": "pbjs -t static-module -w commonjs -o lotion/abci/types.js lotion/abci/proto/*.proto"
},
"bin": {
"leap-node": "./bin.js"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add",
"eslint"
]
},
"eslintIgnore": [
"docs/"
],
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true
},
"keywords": [
"blockchain",
"ethereum",
"proof-of-stake",
"plasma"
],
"dependencies": {
"axios": "^0.18.1",
"bl": "^3.0.0",
"body-parser": "^1.18.3",
"colors": "^1.3.1",
"cors": "^2.8.4",
"dashdash": "^1.14.1",
"debug": "^3.1.0",
"ethereumjs-tx": "1.3.7",
"ethereumjs-util": "6.1.0",
"ethereumjs-vm": "2.6.0",
"express": "^4.16.3",
"fs-extra": "^8.1.0",
"get-port": "^3.1.0",
"graceful-fs": "^4.2.3",
"jayson": "^2.0.6",
"jsondiffpatch": "^0.2.5",
"leap-core": "^3.0.0",
"level": "^6.0.0",
"lodash": "^4.17.13",
"lodash.get": "^4.4.2",
"mkdirp": "^0.5.1",
"protobufjs": "^6.8.8",
"protocol-buffers-encodings": "^1.1.0",
"rimraf": "^2.6.2",
"rpc-websockets": "^4.1.2",
"tinyqueue": "^2.0.0",
"unzipper": "^0.10.5",
"varstruct": "^6.1.1",
"web3": "1.2.4",
"web3-core-promievent": "^1.2.4"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jest": "^21.17.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^0.14.3",
"jest": "^25.1.0",
"lint-staged": "^7.0.5",
"prettier": "^1.12.1"
},
"jest": {
"testEnvironment": "node",
"clearMocks": true,
"resetModules": true,
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"setupFiles": [
"<rootDir>/jestSetup.js"
],
"coveragePathIgnorePatterns": [
"src/utils/cleanupLotion.js",
"src/utils/cliArgs.js",
"src/utils/debug.js",
"src/utils/printStartupInfo.js",
"src/utils/sendTransaction.js",
"src/utils/BlockTicker.js",
"src/utils/index.js",
"src/txHelpers/makeTransfer.js",
"src/txHelpers/printTx.js",
"src/txHelpers/sendTx.js",
"src/txHelpers/delayedSender.js",
"src/txHelpers/activateSlot.js",
"src/api/jsonrpc.js",
"src/api/db.js",
"src/api/methods/getAddress.js",
"src/api/methods/index.js",
"src/eventsRelay.js",
"src/tx/applyTx/index.js",
"src/tx/index.js",
"src/block/index.js"
],
"coverageThreshold": {
"global": {
"branches": 82,
"functions": 86,
"lines": 89,
"statements": 89
}
}
}
}