-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 4.12 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 4.12 KB
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
{
"name": "ecg-node",
"version": "1.0.0",
"main": "ECGNode.ts",
"scripts": {
"start": "node -r ts-node/register ./src/ECGNode.ts",
"debug": "node --inspect -r ts-node/register ./src/ECGNode.ts",
"start:api": "node --inspect -r ts-node/register ./src/api/Api.ts",
"start:spam-watcher": "node --inspect -r ts-node/register ./src/spam-watcher/SpamWatcher.ts",
"debug:auction-bidder": "node --inspect -r ts-node/register ./src/processors/AuctionBidder.ts",
"debug:historical-data-fetcher": "node --inspect -r ts-node/register ./src/processors/HistoricalDataFetcher.ts",
"debug:loan-caller": "node --inspect -r ts-node/register ./src/processors/LoanCaller.ts",
"debug:term-offboarder": "node --inspect -r ts-node/register ./src/processors/TermOffboarder.ts",
"debug:market-maker": "node --inspect -r ts-node/register ./src/processors/TestnetMarketMaker.ts",
"debug:user-slasher": "node --inspect -r ts-node/register ./src/processors/UserSlasher.ts",
"debug:term-onboarder-watcher": "node --inspect -r ts-node/register ./src/processors/TermOnboardingWatcher.ts",
"debug:slippage-alerter": "node --inspect -r ts-node/register ./src/scripts/SlippageAlerter.ts",
"debug:check-gateway": "node --inspect -r ts-node/register ./src/scripts/CheckGatewayACL.ts",
"debug:airdrop-tx-builder": "node --inspect -r ts-node/register ./src/scripts/AirdropTxBuilder.ts 123456789000000000000000000 0xe38d06840c9E527b8D40309CCcF4B05af0F888A5 ./weights.json",
"build": "run-script-os",
"build:win32": "rimraf ./build& tsc& copy .\\package.json .\\build\\package.json",
"build:darwin:linux": "rimraf ./build && tsc && cp ./package.json ./build/package.json",
"build:default": "npm run build:darwin:linux",
"build:scripts": "run-script-os",
"build:scripts:win32": "rimraf ./build-scripts& tsc --project tsconfig.scripts.json& copy .\\package.json .\\build-scripts\\package.json",
"build:scripts:darwin:linux": "rimraf ./build-scripts && tsc --project tsconfig.scripts.json && cp ./package.json ./build-scripts/package.json",
"build:scripts:default": "npm run build:darwin:linux",
"deploy": "scp -r build/* dev-0:/app/ecg-node/",
"lint": "eslint . --ext .ts",
"lintfix": "eslint . --ext .ts --fix",
"prettier:format": "prettier --config .prettierrc \"./(src|scripts)/**/*.ts\" --write",
"prettier:watch": "onchange \"(src|scripts)/**/*.ts\" -- prettier --write {{changed}}",
"typechain": "typechain --target=ethers-v6 --out-dir ./src/contracts/types ./src/contracts/abi/*.json",
"debug:discord": "node --inspect -r ts-node/register ./src/discord-bot/GuildBot.ts",
"sync": "scp -r ecg-node-1:/app/ecg-node/data ."
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@typechain/ethers-v6": "^0.5.1",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/node": "^18.19.3",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"onchange": "^7.1.0",
"prettier": "^2.8.8",
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.6.8",
"bignumber.js": "^9.1.2",
"bufferutil": "^4.0.8",
"compression": "^1.7.4",
"cors": "^2.8.5",
"discord-webhook-node": "^1.1.8",
"discord.js": "^14.12.1",
"dotenv": "^16.3.1",
"ethers": "^6.9.1",
"ethers-multicall-provider": "^6.0.2",
"express": "^4.18.2",
"helmet": "^7.1.0",
"simple-statistics": "^7.8.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"utf-8-validate": "^5.0.10"
}
}