-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
94 lines (94 loc) · 2.99 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
{
"name": "lido-l2-bridge-arbitrum",
"version": "0.0.1",
"license": "MIT",
"description": "Lido Detection Bot for Arbitrum part of L2 bridge",
"chainIds": [
42161,
1
],
"chainSettings": {
"default": {
"shards": 1,
"target": 5
}
},
"scripts": {
"update-version": "node ../utils/write-version.js",
"move-migrations": "mkdir -p dist/db/migrations && cp src/db/migrations/* dist/db/migrations/",
"move-db": "cp -r src/db/* dist/db/",
"build": "tsc && yarn run copy-version && yarn run move-migrations && yarn run move-db && mkdir dist/generated/proto && make gen_proto_prod",
"copy-version": "cp version.json dist",
"start": "ts-node src/main.ts",
"start:prod": "node dist/main.js",
"start:docker:prod": "node src/main.js",
"push": "yarn run update-version && forta-agent push",
"test": "jest",
"generate-types": "typechain --target=ethers-v5 --out-dir=./src/generated/typechain ./src/brief/abi/*",
"generate-proto": "make gen_ts && make gen_js",
"eslint:lint": "eslint ./src",
"eslint:format": "eslint ./src --fix",
"prettier:check": "prettier --check ./src eslint.config.mjs",
"prettier:format": "prettier --write ./src README.md eslint.config.mjs",
"lint": "yarn run prettier:check && yarn run eslint:lint",
"format": "yarn run eslint:format && yarn run prettier:format",
"postinstall": "yarn generate-types && yarn generate-proto"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@grpc/grpc-js": "^1.11.1",
"@types/node": "^20.14.11",
"async-mutex": "^0.5.0",
"bignumber.js": "^9.1.2",
"dotenv": "^16.4.5",
"ethers": "^5.7.2",
"express": "^4.19.2",
"forta-agent": "^0.1.48",
"fp-ts": "^2.16.8",
"knex": "^3.1.0",
"prom-client": "^15.1.3",
"ts-retry": "^4.2.5",
"winston": "^3.13.1",
"lru-cache": "^11.0.0"
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@jest/globals": "^29.7.0",
"@tsconfig/node20": "^20.1.4",
"@typechain/ethers-v5": "^11.1.2",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/nodemon": "^1.19.6",
"@types/ws": "^8.5.11",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.2.1",
"grpc-tools": "^1.12.4",
"grpc_tools_node_protoc_ts": "^5.3.3",
"husky": "^9.1.1",
"jest": "^29.7.0",
"nodemon": "^3.1.4",
"postinstall": "^0.10.3",
"prettier": "^3.3.3",
"sqlite": "5.1.1",
"sqlite3": "^5.1.7",
"ts-generator": "^0.1.1",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.0-alpha.46"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"dist"
]
},
"packageManager": "[email protected]"
}