forked from enisdenjo/graphql-ws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.06 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
{
"name": "@ilijanl/graphql-ws-graphqless",
"version": "5.14.1",
"description": "Coherent, zero-dependency, lazy, simple, based on graphql websocket protocol, compliant server and client",
"keywords": [
"protocol",
"transport",
"subscriptions",
"websockets",
"server",
"client",
"observables",
"express",
"relay",
"apollo",
"fastify",
"uwebsockets"
],
"author": "Denis Badurina <badurinadenis@gmail.com> & ilijaNL",
"license": "MIT",
"homepage": "https://github.com/ilijaNL/graphql-transport-ws#readme",
"repository": {
"type": "git",
"url": "https://github.com/ilijaNL/graphql-transport-ws.git"
},
"engines": {
"node": ">=10"
},
"packageManager": "yarn@3.4.1",
"types": "lib/index.d.ts",
"main": "lib/index.js",
"module": "lib/index.mjs",
"browser": "umd/graphql-ws.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.js",
"import": "./lib/index.mjs",
"browser": "./umd/graphql-ws.js"
},
"./lib/use/ws": {
"types": "./lib/use/ws.d.ts",
"require": "./lib/use/ws.js",
"import": "./lib/use/ws.mjs"
},
"./lib/use/uWebSockets": {
"types": "./lib/use/uWebSockets.d.ts",
"require": "./lib/use/uWebSockets.js",
"import": "./lib/use/uWebSockets.mjs"
},
"./lib/use/@fastify/websocket": {
"types": "./lib/use/@fastify/websocket.d.ts",
"require": "./lib/use/@fastify/websocket.js",
"import": "./lib/use/@fastify/websocket.mjs"
},
"./lib/use/fastify-websocket": {
"types": "./lib/use/fastify-websocket.d.ts",
"require": "./lib/use/fastify-websocket.js",
"import": "./lib/use/fastify-websocket.mjs"
},
"./package.json": "./package.json"
},
"files": [
"lib",
"umd",
"README.md",
"LICENSE.md",
"PROTOCOL.md"
],
"sideEffects": [
"umd/*"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"gendocs": "typedoc --options typedoc.js src/",
"lint:eslint": "eslint 'src'",
"lint:prettier": "prettier -c .",
"lint": "yarn lint:eslint && yarn lint:prettier",
"type-check": "tsc --noEmit",
"test": "jest",
"bench:start-servers": "NODE_ENV=production node benchmark/servers/index.mjs",
"bench": "k6 run benchmark/k6.mjs",
"build:esm": "tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs",
"build:cjs": "tsc -b tsconfig.cjs.json",
"build:umd": "rollup --bundleConfigAsCjs --config rollup.config.ts --configPlugin typescript && gzip umd/graphql-ws.min.js -c > umd/graphql-ws.min.js.gz",
"build": "yarn build:esm && yarn build:cjs && yarn build:umd",
"ci:publish": "yarn build && changeset publish"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@changesets/cli": "^2.26.0",
"@fastify/websocket": "^7.1.2",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/eslint": "^8.21.1",
"@types/glob": "^8.1.0",
"@types/jest": "^29.4.0",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-jest": "^29.4.3",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"fastify": "^4.14.0",
"fastify-websocket": "4.2.2",
"glob": "^9.2.1",
"graphql": "^16.6.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jest-jasmine2": "^29.4.3",
"prettier": "^2.8.4",
"replacestream": "^4.0.3",
"rollup": "^3.18.0",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.5.0",
"typedoc": "^0.23.26",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^4.9.5",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.19.0",
"ws": "8.12.0",
"ws7": "npm:ws@^7.5.9"
}
}