-
Notifications
You must be signed in to change notification settings - Fork 308
/
package.json
155 lines (155 loc) · 4.89 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "graphql-request",
"description": "Minimalist Progressively Type Safe GraphQL Client For JavaScript.",
"version": "0.0.0-dripip",
"packageManager": "pnpm@9.8.0",
"type": "module",
"bin": {
"graffle": "./build/cli/generate.js"
},
"exports": {
".": {
"import": {
"types": "./build/entrypoints/main.d.ts",
"default": "./build/entrypoints/main.js"
}
},
"./graffle/main": {
"import": {
"types": "./build/entrypoints/graffle/main.d.ts",
"default": "./build/entrypoints/graffle/main.js"
}
},
"./graffle/client": {
"import": {
"types": "./build/entrypoints/graffle/client.d.ts",
"default": "./build/entrypoints/graffle/client.js"
}
},
"./graffle/schema": {
"import": {
"types": "./build/entrypoints/graffle/schema.d.ts",
"default": "./build/entrypoints/graffle/schema.js"
}
},
"./graffle/schema/scalars": {
"import": {
"types": "./build/entrypoints/graffle/scalars.d.ts",
"default": "./build/entrypoints/graffle/scalars.js"
}
}
},
"files": [
"build",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/jasonkuhrt/graphql-request.git"
},
"keywords": [
"graphql",
"request",
"fetch",
"graphql-client"
],
"author": {
"name": "Jason Kuhrt",
"email": "jasonkuhrt@me.com",
"url": "https://kuhrt.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/jasonkuhrt/graphql-request/issues"
},
"homepage": "https://github.com/jasonkuhrt/graphql-request",
"scripts": {
"graffle": "tsx ./src/cli/generate.ts",
"gen:test:schema": "tsx tests/_/schemaGenerate.ts",
"gen:test:examples": "tsx scripts/generate-test-examples.ts",
"gen:docs:examples:clients:SocialStudies": "pnpm graffle --name SocialStudies --schema https://countries.trevorblades.com/graphql --output ./examples/generated-clients/SocialStudies --libraryPathClient ../../../src/entrypoints/graffle/client.js --libraryPathSchema ../../../src/entrypoints/graffle/schema.js --libraryPathScalars ../../../src/entrypoints/graffle/scalars.js",
"dev": "rm -rf dist && tsc --watch",
"format": "pnpm build:docs && dprint fmt",
"lint": "eslint . --fix",
"check": "pnpm check:types && pnpm check:format && pnpm check:lint && pnpm check:publint",
"check:types": "pnpm tsc --noEmit",
"check:format": "dprint check && pnpm build:docs && git diff --exit-code README.md",
"check:lint": "eslint . --max-warnings 0",
"check:publint": "publint run --strict",
"prepublishOnly": "pnpm build",
"build:docs": "doctoc README.md --notitle && dprint fmt README.md",
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/cli/generate.js",
"clean": "tsc --build --clean && rm -rf build",
"test": "vitest",
"test:web": "vitest --environment jsdom",
"test:types": "vitest --typecheck",
"test:coverage": "pnpm test -- --coverage",
"release:stable": "dripip stable",
"release:preview": "dripip preview",
"release:pr": "dripip pr"
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"@molt/command": "^0.9.0",
"is-plain-obj": "^4.1.0",
"zod": "^3.23.8"
},
"peerDependencies": {
"@dprint/formatter": "^0.3.0 || ^0.4.0",
"@dprint/typescript": "^0.91.1",
"dprint": "^0.46.2 || ^0.47.0",
"graphql": "14 - 16"
},
"peerDependenciesMeta": {
"dprint": {
"optional": true
},
"@dprint/formatter": {
"optional": true
},
"@dprint/typescript": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.0",
"@pothos/core": "^4.2.0",
"@pothos/plugin-simple-objects": "^4.1.0",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/strictest": "^2.0.5",
"@types/body-parser": "^1.19.5",
"@types/express": "^4.17.21",
"@types/json-bigint": "^1.0.4",
"@types/node": "^22.5.0",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"doctoc": "^2.2.1",
"dripip": "^0.10.0",
"es-toolkit": "^1.16.0",
"eslint": "^9.9.1",
"eslint-config-prisma": "^0.6.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint-typescript": "^1.1.0",
"execa": "^9.3.1",
"get-port": "^7.1.0",
"globby": "^14.0.2",
"graphql": "^16.9.0",
"graphql-scalars": "^1.23.0",
"graphql-tag": "^2.12.6",
"graphql-upload-minimal": "^1.6.1",
"graphql-yoga": "^5.7.0",
"jsdom": "^24.1.1",
"json-bigint": "^1.0.0",
"publint": "^0.2.10",
"strip-ansi": "^7.1.0",
"tsx": "^4.17.0",
"type-fest": "^4.25.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0",
"vitest": "^2.0.5"
}
}