-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 1.6 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
{
"name": "0base-oasis-exporter",
"version": "1.0.0",
"description": "Oasis protocol prometheus exporter",
"main": "src/index.ts",
"scripts": {
"test": "jest",
"start_local": "METRIC_EXIST_URL='http://localhost:26660/metrics' GRPC_SERVER='localhost:50051' METRIC_ADDRESS=oasis1qpsnzv8qz4fu3lwps2tc3eg5pnryzl4h7cqxruzf METRIC_VALIDATOR_ADDRESS=oasis1qpsnzv8qz4fu3lwps2tc3eg5pnryzl4h7cqxruzf ./node_modules/.bin/nodemon --watch src -e ts --delay 2 src/index.ts",
"start": "./node_modules/.bin/ts-node src/index.ts",
"build": "./node_modules/.bin/tsc --build"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.8",
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.162",
"@types/morgan": "^1.9.1",
"@types/node": "^14.14.0",
"grpc-tools": "^1.9.1",
"grpc_tools_node_protoc_ts": "^5.0.1",
"jest": "^26.6.0",
"nodemon": "^2.0.6",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"dependencies": {
"axios": "^0.21.0",
"express": "^4.17.1",
"grpc": "^1.24.3",
"lodash": "^4.17.20",
"morgan": "^1.10.0",
"prom-client": "^12.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"collectCoverage": true,
"rootDir": "src",
"testRegex": ".spec.",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"coverageReporters": [
"text",
"json",
"json-summary",
"lcov",
"clover"
],
"reporters": [
"default"
]
}
}