Odoo GraphQL Subscription using Node, Express JS for Sample
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
4.7 KiB

4 months ago
{
"name": "graphql-ws",
"version": "5.15.0",
"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@3.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": {
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs",
"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 && yarn postbuild",
"postbuild": "node scripts/fix-declaration-directives.mjs",
"prepack": "npm pkg delete workspaces",
"postpack": "npm pkg set 'workspaces[]=website'",
"release": "semantic-release"
},
"peerDependencies": {
"graphql": ">=0.11 <=16"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@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.22.5",
"@babel/preset-typescript": "^7.22.5",
"@fastify/websocket": "^7.2.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/eslint": "^8.40.2",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.2",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"babel-jest": "^29.5.0",
"bun-types": "^0.6.9",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"fastify": "^4.18.0",
"fastify-websocket": "4.2.2",
"glob": "^10.3.0",
"graphql": "^16.7.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-jasmine2": "^29.5.0",
"prettier": "^2.8.8",
"replacestream": "^4.0.3",
"rollup": "^3.25.1",
"semantic-release": "^21.0.5",
"subscriptions-transport-ws": "^0.11.0",
"tslib": "^2.5.3",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^5.1.3",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.30.0",
"ws": "8.12.0",
"ws7": "npm:ws@^7.5.9"
}
}