This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
60 lines (60 loc) · 1.72 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
{
"name": "@definedfi/sdk",
"version": "0.5.6",
"engines": {
"node": ">=17.5.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "bun run fetch:schema && bun run codegen && bun run tsc",
"fetch:schema": "curl -s https://graph.defined.fi/schema/latest.graphql --output src/resources/schema.graphql",
"codegen": "graphql-codegen --config codegen.ts",
"prepack": "cp src/resources/* dist/resources/",
"lint": "eslint --ext .ts src",
"test": "jest"
},
"files": [
"dist",
"src"
],
"keywords": [
"crypto",
"charting",
"sdk",
"analytics",
"blockchain",
"api"
],
"repository": "github:definedfi/sdk",
"author": "Defined.fi",
"license": "MIT",
"homepage": "https://docs.defined.fi",
"description": "The Defined.fi SDK for JavaScript/Typescript. It provides generated types and convenient ways to access the graphql api.",
"dependencies": {
"@types/jest": "^29.5.4",
"@types/node": "^20.5.7",
"graphql": "^16.8.0",
"graphql-request": "^6.1.0",
"graphql-ws": "^5.14.0",
"isomorphic-ws": "^5.0.0",
"typescript": "^5.2.2"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/introspection": "4.0.0",
"@graphql-codegen/typescript": "4.0.1",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^29.6.4",
"merge": "^2.1.1",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1"
}
}