-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 2.31 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
{
"name": "telegram-moderator-bot",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.210.0",
"@aws-sdk/lib-dynamodb": "^3.210.0",
"@graphprotocol/graph-ts": "^0.27.0",
"@netlify/functions": "^1.6.0",
"axios": "^1.4.0",
"better-sqlite3": "^8.4.0",
"cache-manager": "^5.1.3",
"dotenv": "^10.0.0",
"ethers": "^5.7.2",
"function-batch": "^1.1.2",
"graphql": "^16.2.0",
"graphql-request": "^3.7.0",
"http-status-codes": "^2.2.0",
"markdown-escape": "^1.1.0",
"node-cache": "^5.1.2",
"node-fetch": "2",
"node-telegram-bot-api": "^0.61.0",
"p-queue": "^6.6.2",
"web3": "^1.8.1"
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.60.0",
"@typechain/ethers-v5": "^8.0.5",
"@types/node-telegram-bot-api": "^0.61.7",
"hardhat": "^2.8.3",
"netlify-cli": "^16.0.2",
"pm2": "^5.2.0",
"ts-node": "^10.4.0",
"typechain": "^6.0.5",
"typescript": "^4.5.4"
},
"scripts": {
"start-telegram-bot": "npx ts-node lib/telegram/index.ts",
"start-telegram-bot-prod": "node lib/telegram/index.js",
"create-db": "npx ts-node lib/create-db.ts",
"cron": "npx ts-node lib/cron.ts",
"cron-prod": "node lib/cron.js",
"build": "npx tsc lib/telegram/index.ts lib/cron.ts --resolveJsonModule --esModuleInterop",
"typechain:build": "npx typechain --target ethers-v5 --out-dir lib/typechain lib/abi/*.json",
"graph:codegen": "cd subgraph && graph codegen",
"graph:build": "cd subgraph && graph build",
"graph:deploy": "cd subgraph && graph deploy --studio kleros-moderator-bot",
"graph:create-local": "cd subgraph && graph create --node http://localhost:8020/ kleros/kleros-moderator-bot",
"graph:remove-local": "cd subgraph && graph remove --node http://localhost:8020/ kleros/kleros-moderator-bot",
"graph:deploy-local": "cd subgraph && graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 kleros/kleros-moderator-bot",
"pm2:start": "pm2 start ecosystem.config.js",
"pm2:stop-all": "pm2 stop all",
"pm2:delete-all": "pm2 delete all",
"postinstall": "yarn typechain:build"
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72",
"volta": {
"node": "18.20.2",
"yarn": "1.22.22"
}
}