forked from definedfi/sdk
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 2.13 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
{
"name": "@codex-data/sdk",
"version": "1.0.0",
"engines": {
"node": ">=17.5.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "bun run fetch:schema && bun run src/scripts/generateGraphql.ts && bun run src/scripts/buildSdk.ts && bun run codegen && bun run lint ./src/sdk --fix && bun run eslint --no-ignore ./src/resources/**/*.graphql --fix && bun run tsc",
"fetch:schema": "curl -s https://graph.codex.io/schema/latest.graphql --output src/resources/schema.graphql",
"codegen": "graphql-codegen --config codegen.ts",
"prepack": "cp -R src/resources/* dist/resources/",
"lint": "eslint --ext .ts src",
"test": "jest"
},
"files": [
"dist",
"src"
],
"keywords": [
"crypto",
"charting",
"sdk",
"analytics",
"blockchain",
"api"
],
"repository": "github:codex-data/sdk",
"author": "Codex",
"license": "MIT",
"homepage": "https://docs.codex.io",
"description": "The Codex SDK for JavaScript/Typescript. It provides generated types and convenient ways to access the graphql api.",
"dependencies": {
"@graphql-tools/wrap": "^10.0.5",
"@types/jest": "^29.5.4",
"@types/lodash": "^4.17.7",
"@types/node": "^20.5.7",
"gql-query-builder": "^3.8.0",
"graphql": "^16.9.0",
"graphql-ast-types": "^1.0.2",
"graphql-request": "^6.1.0",
"graphql-ws": "^5.14.0",
"isomorphic-ws": "^5.0.0",
"lodash": "^4.17.21",
"mkdirp": "^3.0.1",
"tsx": "^4.19.1",
"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",
"@graphql-eslint/eslint-plugin": "^3.20.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"
}
}