{
  "name": "rpc-websockets",
  "version": "9.3.9",
  "description": "JSON-RPC 2.0 implementation over WebSockets for Node.js",
  "exports": {
    "browser": {
      "import": "./dist/index.browser.mjs",
      "require": "./dist/index.browser.cjs"
    },
    "node": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs"
    }
  },
  "browser": {
    "./dist/index.cjs": "./dist/index.browser.cjs",
    "./dist/index.mjs": "./dist/index.browser.mjs"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "type": "commonjs",
  "files": [
    "dist/"
  ],
  "scripts": {
    "build": "npm run typecheck && mkdir -p ./dist && eslint --fix './src/**/*.ts' && tsup",
    "typecheck": "tsc",
    "pretest": "npm run-script build",
    "test": "mocha --exit test/*spec.js",
    "test:client": "mocha --exit test/client.spec.js",
    "test:server": "mocha --exit test/server.spec.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/elpheria/rpc-websockets.git"
  },
  "dependencies": {
    "@swc/helpers": "^0.5.11",
    "@types/uuid": "^10.0.0",
    "@types/ws": "^8.2.2",
    "buffer": "^6.0.3",
    "eventemitter3": "^5.0.1",
    "uuid": "^14.0.0",
    "ws": "^8.5.0"
  },
  "optionalDependencies": {
    "bufferutil": "^4.0.1",
    "utf-8-validate": "^6.0.0"
  },
  "devDependencies": {
    "@microsoft/api-extractor": "^7.58.2",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "async": "^3.2.3",
    "chai": "^6.0.0",
    "esbuild-plugin-polyfill-node": "^0.3.0",
    "eslint": "^8.57.0",
    "istanbul": "^0.4.5",
    "mocha": "^11.3.0",
    "mocha-lcov-reporter": "^1.3.0",
    "tsup": "^8.1.0",
    "typescript": "^5.0.0",
    "url": "^0.11.3"
  },
  "keywords": [
    "json",
    "rpc",
    "websocket",
    "ws",
    "client",
    "server"
  ],
  "author": "Elpheria",
  "license": "LGPL-3.0-only",
  "bugs": {
    "url": "https://github.com/elpheria/rpc-websockets/issues"
  },
  "homepage": "https://github.com/elpheria/rpc-websockets#readme",
  "funding": {
    "type": "paypal",
    "url": "https://paypal.me/kozjak"
  },
  "overrides": {
    "form-data": "4.0.4",
    "diff": "^8.0.2",
    "minimatch": "^10.2.4",
    "serialize-javascript": "^7.0.3",
    "validator": "^13.15.26"
  }
}
