forked from DefiLlama/defillama-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.67 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.67 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
{
"name": "@defillama/sdk",
"version": "5.0.209",
"description": "SDK for calculating TVL",
"main": "build/index.js",
"scripts": {
"start": "npm run build && node build/index.js",
"pack-and-publish": "bash ./scripts/skipTestPatchAndPublish.sh",
"build": "tsc",
"watch": "tsc --watch",
"load-providers": "mkdir -p build && wget https://unpkg.com/@defillama/sdk@latest/build/providers.json -O build/providers.json",
"test": "npm run load-providers && TEST_MODE=true LLAMA_DEBUG_MODE='' SDK_DEBUG='' LLAMA_DEBUG_LEVEL2='' LLAMA_DEBUG_LEVEL3='' jest",
"test-only": "echo 'skipped building providers.json' && TEST_MODE=true LLAMA_DEBUG_MODE='' SDK_DEBUG='' LLAMA_DEBUG_LEVEL2='' LLAMA_DEBUG_LEVEL3='' jest",
"test-debug": "TEST_MODE=true jest",
"update-providers": "ts-node src/util/updateProviderList.ts",
"remove-rpcs": "ts-node src/util/removeRedundantRPCs.ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DefiLlama/defillama-sdk.git"
},
"author": "",
"license": "ISC",
"types": "build/index.d.ts",
"files": [
"build"
],
"dependencies": {
"@aws-sdk/client-s3": "^3.400.0",
"@elastic/elasticsearch": "^8.13.1",
"@supercharge/promise-pool": "^2.1.0",
"axios": "^1.6.5",
"ethers": "^6.0.0",
"p-limit": "^3.0.0",
"stream-json": "^1.9.1",
"tron-format-address": "^0.1.11",
"viem": "^2.38.6"
},
"devDependencies": {
"@types/jest": "^29.2.3",
"@types/stream-json": "^1.7.8",
"jest": "^29.3.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.0"
}
}