-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 4.05 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
{
"name": "winsure-service",
"version": "0.0.0",
"private": true,
"scripts": {
"build:types": "typechain --target ethers-v5 --out-dir ./contract/types './contract/abis/*.json'",
"generate:keystore": "node ./scripts/generateKeystore.js",
"generate:proofs": "node ./scripts/merkleTree.js",
"generate:bouncer:proofs": "node ./scripts/merkleTreeForBouncer.js",
"start:develop:stats": "cross-env NODE_ENV=develop BOT_ENV=STATS node ./dist/stats/bin/www",
"start:develop:regular": "cross-env NODE_ENV=develop BOT_ENV=REGULAR ts-node ./regular/bin/www",
"start:develop:critic": "cross-env NODE_ENV=develop BOT_ENV=CRITICAL ts-node ./critical/bin/www",
"start:ropsten:stats": "cross-env NODE_ENV=ropsten BOT_ENV=STATS node ./dist/stats/bin/www",
"start:ropsten:regular": "cross-env NODE_ENV=ropsten BOT_ENV=REGULAR ts-node ./regular/bin/www",
"start:ropsten:critic": "cross-env NODE_ENV=ropsten BOT_ENV=CRITICAL ts-node ./critical/bin/www",
"start:mainnet:stats": "cross-env NODE_ENV=mainnet BOT_ENV=STATS node ./dist/stats/bin/www",
"start:mainnet:regular": "cross-env NODE_ENV=mainnet BOT_ENV=REGULAR ts-node ./regular/bin/www",
"start:mainnet:critic": "cross-env NODE_ENV=mainnet BOT_ENV=CRITICAL ts-node ./critical/bin/www",
"start:ropsten:database": "cross-env NODE_ENV=ropsten BOT_ENV=DATABASE ts-node ./database/bin/www",
"start:mainnet:database": "cross-env NODE_ENV=mainnet BOT_ENV=DATABASE ts-node ./database/bin/www",
"start:ropsten:lbp": "cross-env NODE_ENV=ropsten BOT_ENV=LBP node ./lbp/bin/www",
"start:mainnet:lbp1": "cross-env NODE_ENV=mainnet BOT_ENV=LBP HOST_ENV=host1 node ./lbp/bin/www",
"start:mainnet:lbp2": "cross-env NODE_ENV=mainnet BOT_ENV=LBP HOST_ENV=host2 node ./lbp/bin/www",
"start:rinkeby:lbp1": "cross-env NODE_ENV=rinkeby BOT_ENV=LBP HOST_ENV=host1 node ./lbp/bin/www",
"start:rinkeby:lbp2": "cross-env NODE_ENV=rinkeby BOT_ENV=LBP HOST_ENV=host2 node ./lbp/bin/www",
"build": "yarn clean && tsc && yarn copy-files",
"clean": "rm -rf ./dist",
"copy-files": "cp -R ./database/queries/ ./dist/database/queries"
},
"dependencies": {
"@ethersproject/experimental": "^5.0.10",
"@pagerduty/pdjs": "^2.2.2",
"axios": "^0.21.1",
"bignumber.js": "^9.0.1",
"config": "^3.3.6",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"csvtojson": "^2.0.10",
"dayjs": "^1.10.4",
"dayjs-plugin-utc": "^0.1.2",
"debug": "~2.6.9",
"discord.js": "^12.5.1",
"dotenv": "^8.2.0",
"ethereum-multicall": "^2.12.0",
"ethers": "^5.5.0",
"express": "~4.16.1",
"express-actuator": "^1.8.0",
"express-validator": "^6.10.0",
"http-errors": "~1.6.3",
"map-obj": "^4.2.1",
"moment": "^2.29.1",
"morgan": "~1.9.1",
"node-schedule": "^2.0.0",
"nodemon": "^2.0.7",
"pg": "^8.6.0",
"pg-copy-streams": "^6.0.2",
"pug": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4",
"web3-utils": "^1.6.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.2"
},
"devDependencies": {
"@typechain/ethers-v5": "^8.0.2",
"@types/config": "^0.0.40",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-actuator": "^1.8.0",
"@types/http-errors": "^1.8.1",
"@types/morgan": "^1.9.3",
"@types/node": "^16.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.23.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"typechain": "^6.0.2"
},
"husky": {
"hooks": {
"pre-commit": "git add . && lint-staged"
}
},
"lint-staged": {
"./**/*.{js}": [
"prettier --write",
"eslint",
"git add ."
]
}
}