forked from DefiLlama/peggedassets-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.92 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
{
"name": "defillama-server",
"private": true,
"version": "1.0.0",
"scripts": {
"api2-dev": "ts-node --transpile-only api2/index.ts",
"api2-prod": "bash api2/scripts/prod_start.sh",
"api2-cron-task": "npx ts-node --transpile-only api2/cron-task/index.ts",
"api2-store-rates": "npx ts-node --transpile-only api2/scripts/storeRates.ts",
"deploy:env": "npm run prebuild && sls deploy --stage $NODE_ENV",
"deploy:dev": "export NODE_ENV=dev && npm run deploy:env",
"deploy:prod": "export NODE_OPTIONS=--max-old-space-size=6144 && export NODE_ENV=prod && npm run deploy:env",
"deploy": "npm run deploy:dev",
"format": "prettier --write \"src/**/*.ts\"",
"serve": "node --max-old-space-size=8192 node_modules/serverless/bin/serverless offline start",
"test": "cd src/adapters/peggedAssets && npx ts-node test",
"test:watch": "jest --watch",
"prebuild": "npx ts-node src/cli/buildRequires.ts",
"pretest": "npm run prebuild",
"build": "sls package",
"updateAdapters": "cd DefiLlama-Adapters && git pull",
"store-all": "set AWS_REGION='eu-central-1' && set tableName='prod-stablecoins-table' && npx ts-node --transpile-only src/cli/storeAllPeggedAssets.ts",
"fillOld": "set AWS_REGION='eu-central-1' && set tableName='prod-stablecoins-table' && npx ts-node src/cli/fillOld.ts",
"fillLast": "export AWS_REGION='eu-central-1' && export tableName='prod-stablecoins-table' && npx ts-node src/cli/fillLast.ts"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@types/aws-lambda": "^8.10.72",
"@types/jest": "^26.0.21",
"@types/node": "^14.14.35",
"@types/node-fetch": "^2.5.10",
"aws-sdk": "^2.869.0",
"babel-core": "^6.26.3",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"esbuild": "^0.14.27",
"jest": "^26.6.3",
"jest-dynalite": "^3.3.1",
"limiter": "2.1.0",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"serverless": "^2.31.0",
"serverless-esbuild": "^1.26.1",
"serverless-offline": "^7.0.0",
"serverless-prune-plugin": "^1.4.4",
"serverless-webpack-fixed": "^5.3.3",
"starknet": "^4.22.0",
"ts-jest": "^26.5.4",
"ts-loader": "^8.0.18",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
},
"dependencies": {
"@defillama/sdk": "^5.0.44",
"@project-serum/anchor": "^0.18.2",
"@project-serum/serum": "^0.13.33",
"@sentry/serverless": "^6.2.3",
"@sentry/tracing": "^6.2.3",
"@solana/web3.js": "^1.30.2",
"@supercharge/promise-pool": "^2.4.0",
"async-retry": "^1.3.1",
"axios": "^0.21.0",
"bignumber.js": "^9.0.1",
"dotenv": "^8.2.0",
"ethers": "^5.4.6",
"graphql": "^15.3.0",
"graphql-request": "^3.2.0",
"hi-base32": "^0.5.1",
"hyper-express": "^6.16.3",
"js-sha512": "^0.9.0",
"node-fetch": "^2.6.1",
"pact-lang-api": "^4.3.5",
"pm2": "^5.4.0"
}
}