{
  "name": "@localfirst/relay",
  "version": "4.2.2",
  "description": "A tiny service that helps local-first applications connect with peers on other devices",
  "repository": "https://github.com/local-first-web/relay",
  "author": "herb@devresults.com",
  "license": "MIT",
  "type": "module",
  "private": false,
  "exports": {
    "./Client.js": {
      "default": "./dist/Client.js",
      "types": "./dist/types.ts"
    },
    "./Server.js": {
      "default": "./dist/Server.js",
      "types": "./dist/types.ts"
    }
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "scripts": {
    "prebuild": "rimraf dist",
    "build": "tsc -p tsconfig.build.json",
    "dev": "cross-env DEBUG='lf*' DEBUG_COLORS=1 ts-node-dev src/start.ts --respawn --transpileOnly",
    "start": "cross-env NODE_NO_WARNINGS=1 node dist/start.js",
    "start:log": "cross-env DEBUG='lf*' DEBUG_COLORS=1 pnpm start",
    "test": "vitest",
    "test:log": "cross-env DEBUG='lf*' DEBUG_COLORS=1 pnpm test",
    "version:alpha": "npm version prerelease --preid=alpha && git push --follow-tagsxs",
    "version:beta": "npm version prerelease --preid=beta && git push --follow-tags",
    "version:patch": "npm version patch && git push --follow-tags",
    "version:minor": "npm version minor && git push --follow-tags",
    "version:major": "npm version major && git push --follow-tags"
  },
  "dependencies": {
    "cuid": "^3.0.0",
    "debug": "^4.3.4",
    "eventemitter3": "^5.0.1",
    "express": "^4.18.2",
    "express-ws": "^5.0.2",
    "ws": "^8.15.0",
    "isomorphic-ws": "^5.0.0",
    "msgpackr": "^1.10.0"
  },
  "devDependencies": {
    "@types/debug": "^4.1.12",
    "@types/express": "^4.17.21",
    "@types/express-ws": "^3.0.4",
    "@types/node": "^20.10.4",
    "@types/ws": "^8.5.10",
    "cross-env": "^7.0.3",
    "jsdom": "^23.0.1",
    "portfinder": "^1.0.32",
    "prettier": "^3.1.1",
    "rimraf": "^5.0.5",
    "ts-node-dev": "^2.0.0",
    "typescript": "^5.3.3",
    "vitest": "^1.0.0"
  }
}
