graphql-ws
Version:
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client
140 lines (139 loc) • 4.24 kB
JSON
{
"name": "graphql-ws",
"version": "5.16.1-alpha-103ff293fd6f223310e605efd6d3875fd82fd07c",
"description": "Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client",
"keywords": [
"protocol",
"graphql",
"transport",
"subscriptions",
"websockets",
"server",
"client",
"observables",
"express",
"relay",
"apollo",
"fastify",
"uwebsockets"
],
"author": "Denis Badurina <badurinadenis@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/enisdenjo/graphql-ws#readme",
"repository": {
"type": "git",
"url": "https://github.com/enisdenjo/graphql-ws.git"
},
"engines": {
"node": ">=10"
},
"packageManager": "yarn@4.6.0",
"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"
},
"./lib/use/bun": {
"bun": "./lib/use/bun.mjs",
"types": "./lib/use/bun.d.ts",
"require": "./lib/use/bun.js",
"import": "./lib/use/bun.mjs"
},
"./lib/use/deno": {
"types": "./lib/use/deno.d.ts",
"require": "./lib/use/deno.js",
"import": "./lib/use/deno.mjs"
},
"./package.json": "./package.json"
},
"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",
"changeset": "changeset",
"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 && yarn postbuild",
"postbuild": "node scripts/fix-declaration-directives.mjs",
"prepack": "npm pkg delete workspaces",
"postpack": "npm pkg set --no-json workspaces[]=. workspaces[]=website",
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs"
},
"peerDependencies": {
"graphql": ">=0.11 <=16"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.11",
"@fastify/websocket": "^9.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/eslint": "^8.56.10",
"@types/glob": "^8.1.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"bun-types": "^1.1.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"fastify": "^4.26.2",
"fastify-websocket": "4.2.2",
"glob": "^10.3.12",
"graphql": "^16.8.1",
"jsdom": "^25.0.1",
"prettier": "^3.2.5",
"replacestream": "^4.0.3",
"rollup": "^4.14.3",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.4.5",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.43.0",
"vitest": "^2.1.8",
"ws": "8.12.0",
"ws7": "npm:ws@^7.5.9"
}
}