-
Notifications
You must be signed in to change notification settings - Fork 308
/
package.json
180 lines (180 loc) · 5.94 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "graffle",
"description": "Simple GraphQL Client for JavaScript. Minimal. Extensible. Type Safe. Runs everywhere.",
"version": "0.0.0-dripip",
"packageManager": "[email protected]",
"type": "module",
"bin": {
"graffle": "./build/generator/cli/generate.js"
},
"exports": {
".": {
"default": "./build/entrypoints/main.js"
},
"./generator": {
"default": "./build/entrypoints/generator.js"
},
"./extensions/upload": {
"default": "./build/entrypoints/extensions/upload/runtime.js"
},
"./extensions/throws": {
"default": "./build/entrypoints/extensions/throws/runtime.js"
},
"./extensions/opentelemetry": {
"default": "./build/entrypoints/extensions/opentelemetry/runtime.js"
},
"./extensions/introspection": {
"default": "./build/entrypoints/extensions/introspection/runtime.js"
},
"./extensions/schema-errors": {
"default": "./build/entrypoints/extensions/schema-errors/runtime.js"
},
"./extensions/schema-errors/generator": {
"default": "./build/entrypoints/extensions/schema-errors/gentime.js"
},
"./client": {
"default": "./build/entrypoints/client.js"
},
"./schema": {
"default": "./build/entrypoints/schema.js"
},
"./generator-helpers/standard-scalar-types": {
"default": "./build/entrypoints/generator-helpers/standardScalarTypes.js"
},
"./utilities-for-generated": {
"default": "./build/entrypoints/utilities-for-generated.js"
}
},
"files": [
"build",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/graffle-js/graffle.git"
},
"keywords": [
"graphql",
"request",
"fetch",
"graphql-client"
],
"author": {
"name": "Jason Kuhrt",
"email": "[email protected]",
"url": "https://kuhrt.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/graffle-js/graffle/issues"
},
"homepage": "https://github.com/graffle-js/graffle",
"scripts": {
"serve:pokemon": "tsx tests/_/services/pokemonManual.ts",
"gen:graffle": "pnpm gen:graffle:tests && pnpm build && cd website && pnpm gen:graffle",
"gen:graffle:tests": "tsx tests/_/schemas/generate.ts && pnpm graffle --project src/extensions/SchemaErrors/tests/fixture",
"graffle": "tsx ./src/generator/cli/generate.ts",
"gen:examples": "tsx scripts/generate-examples-derivatives/generate.ts && pnpm format",
"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:emit": "pnpm clean && pnpm tsc --noCheck --project tsconfig.build.json && chmod +x ./build/generator/cli/generate.js",
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/generator/cli/generate.js",
"clean": "tsc --build --clean && rm -rf build",
"test:unit": "vitest --exclude tests/examples --exclude tests/e2e",
"test:examples": "vitest --config vitest.examples.config.ts --dir tests/examples",
"test:e2e": "vitest --dir tests/e2e --testTimeout 20000",
"test": "vitest",
"test:web": "vitest --environment jsdom",
"test:types": "vitest --typecheck --dir src --testNamePattern .*.test-d.ts",
"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",
"es-toolkit": "^1.26.1",
"is-plain-obj": "^4.1.0"
},
"peerDependencies": {
"@dprint/formatter": "^0.4.0",
"@dprint/typescript": "^0.93.0",
"@opentelemetry/api": "^1.9.0",
"graphql": "14 - 16",
"prettier": "^3.3.3"
},
"peerDependenciesMeta": {
"prettier": {
"optional": true
},
"@opentelemetry/api": {
"optional": true
},
"@dprint/formatter": {
"optional": true
},
"@dprint/typescript": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@dprint/formatter": "^0.4.1",
"@dprint/typescript": "^0.93.2",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/sdk-trace-base": "^1.27.0",
"@opentelemetry/sdk-trace-node": "^1.27.0",
"@pothos/core": "^4.3.0",
"@pothos/plugin-simple-objects": "^4.1.0",
"@pothos/plugin-zod": "^4.1.0",
"@tsconfig/node20": "^20.1.4",
"@tsconfig/strictest": "^2.0.5",
"@types/body-parser": "^1.19.5",
"@types/express": "^5.0.0",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"async-cleanup": "^1.0.0",
"doctoc": "^2.2.1",
"dprint": "^0.47.5",
"dripip": "^0.10.0",
"eslint": "^9.14.0",
"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.5.1",
"fs-jetpack": "^5.1.0",
"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.9.0",
"jsdom": "^25.0.1",
"memfs": "^4.14.0",
"prettier": "^3.3.3",
"publint": "^0.2.12",
"strip-ansi": "^7.1.0",
"tsx": "^4.19.2",
"type-fest": "^4.26.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0",
"vitepress": "^1.5.0",
"vitest": "^2.1.4",
"zod": "^3.23.8"
}
}