-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
141 lines (141 loc) · 3.86 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
{
"name": "graphql-sse",
"version": "2.5.3",
"description": "Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client",
"keywords": [
"graphql",
"client",
"relay",
"express",
"apollo",
"server",
"sse",
"transport",
"server-sent-events",
"observables",
"subscriptions",
"fastify"
],
"author": "Denis Badurina <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/enisdenjo/graphql-sse#readme",
"repository": {
"type": "git",
"url": "https://github.com/enisdenjo/graphql-sse.git"
},
"engines": {
"node": ">=12"
},
"packageManager": "[email protected]",
"main": "lib/index.js",
"module": "lib/index.mjs",
"browser": "umd/graphql-sse.js",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"browser": "./umd/graphql-sse.js"
},
"./lib/use/fetch": {
"types": "./lib/use/fetch.d.ts",
"require": "./lib/use/fetch.js",
"import": "./lib/use/fetch.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/koa": {
"types": "./lib/use/koa.d.ts",
"require": "./lib/use/koa.js",
"import": "./lib/use/koa.mjs"
},
"./package.json": "./package.json"
},
"types": "lib/index.d.ts",
"files": [
"lib",
"umd",
"README.md",
"LICENSE.md",
"PROTOCOL.md"
],
"sideEffects": [
"umd/*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"check:format": "prettier --check .",
"format": "yarn check:format --write",
"check:lint": "eslint 'src'",
"check:type": "tsc --noEmit",
"test": "vitest",
"build:esm": "tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs",
"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",
"prepack": "npm pkg delete workspaces",
"postpack": "npm pkg set 'workspaces[]=website'",
"release": "semantic-release",
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs"
},
"peerDependencies": {
"graphql": ">=0.11 <=16"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/eslint": "^8.56.2",
"@types/eventsource": "^1.1.15",
"@types/express": "^4.17.21",
"@types/glob": "^8.1.0",
"@types/koa": "^2.14.0",
"@types/koa-bodyparser": "^4.3.12",
"@types/koa-mount": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eventsource": "^2.0.2",
"express": "^4.18.2",
"fastify": "^4.25.2",
"glob": "^10.3.10",
"graphql": "^16.8.1",
"koa": "^2.15.0",
"koa-bodyparser": "^4.4.1",
"koa-mount": "^4.0.0",
"prettier": "^3.2.2",
"rollup": "^4.9.5",
"rollup-plugin-gzip": "^3.1.1",
"semantic-release": "^23.0.0",
"tslib": "^2.6.2",
"typedoc": "^0.25.7",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.3",
"vitest": "^1.2.0"
},
"workspaces": [
"website"
]
}