/
package.json
158 lines (158 loc) · 4.44 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
{
"name": "graphql-http",
"version": "1.22.1",
"description": "Simple, pluggable, zero-dependency, GraphQL over HTTP spec compliant server, client and audit suite.",
"keywords": [
"graphql",
"client",
"relay",
"express",
"apollo",
"server",
"http",
"transport",
"observables",
"fastify"
],
"author": "Denis Badurina <badurinadenis@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/graphql/graphql-http#readme",
"repository": {
"type": "git",
"url": "https://github.com/graphql/graphql-http.git"
},
"engines": {
"node": ">=12"
},
"packageManager": "yarn@4.0.2",
"main": "lib/index.js",
"module": "lib/index.mjs",
"browser": "umd/graphql-http.js",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"browser": "./umd/graphql-http.js"
},
"./lib/use/fetch": {
"types": "./lib/use/fetch.d.ts",
"require": "./lib/use/fetch.js",
"import": "./lib/use/fetch.mjs"
},
"./lib/use/node": {
"types": "./lib/use/node.d.ts",
"require": "./lib/use/node.js",
"import": "./lib/use/node.mjs"
},
"./lib/use/http": {
"types": "./lib/use/http.d.ts",
"require": "./lib/use/http.js",
"import": "./lib/use/http.mjs"
},
"./lib/use/http2": {
"types": "./lib/use/http2.d.ts",
"require": "./lib/use/http2.js",
"import": "./lib/use/http2.mjs"
},
"./lib/use/express": {
"types": "./lib/use/express.d.ts",
"require": "./lib/use/express.js",
"import": "./lib/use/express.mjs"
},
"./lib/use/fastify": {
"types": "./lib/use/fastify.d.ts",
"require": "./lib/use/fastify.js",
"import": "./lib/use/fastify.mjs"
},
"./lib/use/@netlify/functions": {
"types": "./lib/use/@netlify/functions.d.ts",
"require": "./lib/use/@netlify/functions.js",
"import": "./lib/use/@netlify/functions.mjs"
},
"./lib/use/koa": {
"types": "./lib/use/koa.d.ts",
"require": "./lib/use/koa.js",
"import": "./lib/use/koa.mjs"
},
"./lib/use/uWebSockets": {
"types": "./lib/use/uWebSockets.d.ts",
"require": "./lib/use/uWebSockets.js",
"import": "./lib/use/uWebSockets.mjs"
},
"./package.json": "./package.json"
},
"types": "lib/index.d.ts",
"files": [
"lib",
"umd",
"README.md",
"LICENSE.md"
],
"sideEffects": [
"umd/*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"check:format": "prettier --check .",
"format": "yarn check:format --write",
"check:lint": "eslint 'src'",
"check:spell": "cspell --gitignore **/*.md",
"check:type": "tsc --noEmit",
"test": "vitest",
"build:esm": "tsc -b tsconfig.esm.json && tsx scripts/esm-post-process.ts",
"build:cjs": "tsc -b tsconfig.cjs.json",
"build:umd": "rollup --configPlugin typescript --config rollup.config.ts",
"build": "yarn build:esm && yarn build:cjs && yarn build:umd",
"release": "semantic-release",
"gendocs": "typedoc --options typedoc.js src/"
},
"workspaces": [
"implementations/**/*"
],
"peerDependencies": {
"graphql": ">=0.11 <=16"
},
"devDependencies": {
"@cspell/cspell-types": "^8.1.2",
"@netlify/functions": "^2.4.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/eslint": "^8.44.8",
"@types/express": "^4.17.21",
"@types/glob": "^8.1.0",
"@types/html-validator": "^5.0.6",
"@types/k6": "^0.47.3",
"@types/koa": "^2.13.12",
"@types/koa-mount": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@whatwg-node/fetch": "^0.9.14",
"cspell": "^8.1.2",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"express": "^4.18.2",
"fastify": "^4.24.3",
"glob": "^10.3.10",
"graphql": "^16.8.1",
"html-validator": "^6.0.1",
"koa": "^2.14.2",
"koa-mount": "^4.0.0",
"node-fetch": "^3.3.2",
"prettier": "^3.1.0",
"rollup": "^4.6.1",
"rollup-plugin-gzip": "^3.1.0",
"semantic-release": "^22.0.9",
"tslib": "^2.6.2",
"tsx": "^4.6.2",
"typedoc": "^0.25.4",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.2",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.34.0",
"vitest": "^1.0.1"
}
}