-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.69 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.69 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "@cfxdevkit/defillama",
"version": "--check",
"description": "A TypeScript library for interacting with Defillama API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src examples",
"lint:fix": "eslint src examples --fix",
"format": "prettier --write \"src/**/*.ts\" \"examples/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"examples/**/*.ts\"",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"docs": "typedoc --out docs src/index.ts",
"clean": "rimraf dist coverage docs",
"example": "ts-node examples/usage.ts",
"bump:patch": "npm version patch -m \"chore(release): bump version to %s\"",
"bump:minor": "npm version minor -m \"chore(release): bump version to %s\"",
"bump:major": "npm version major -m \"chore(release): bump version to %s\"",
"preversion": "npm run validate",
"validate": "npm run lint && npm run format:check && npm run test",
"version": "npm run docs && git add docs package.json",
"postversion": "git push && git push --tags"
},
"keywords": [
"defillama",
"defi",
"blockchain",
"api",
"typescript"
],
"author": "cfxdevkit",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cfxdevkit/defillama.git"
},
"bugs": {
"url": "https://github.com/cfxdevkit/defillama/issues"
},
"homepage": "https://cfxdevkit.github.io/defillama",
"dependencies": {
"pino": "^10.1.0",
"pino-pretty": "^13.1.1"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@testing-library/jest-dom": "^6.8.0",
"@types/eslint": "^9.6.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.5.1",
"@types/node-fetch": "^2.6.13",
"@types/pino": "^7.0.5",
"globals": "^16.4.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.1.6",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"ts-jest": "^29.4.5",
"ts-node": "^10.9.2",
"typedoc": "^0.28.13",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.0"
},
"engines": {
"node": ">=16.0.0"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"examples/**/*.{js,ts}": [
"eslint --fix",
"prettier --write"
]
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.ts"
]
}
}
}