{ "name": "@suaveplan/network-trystero-server", "version": "0.1.0", "type": "module", "sideEffects": false, "description": "Server-tier Trystero signaling daemon — hosts an MQTT broker shim or Nostr relay shim over plain WebSocket for browser-tier @suaveplan/network-discovery-trystero clients. Construction-time mode selection, injectable broker factory, AbortSignal lifecycle, health/ready/live endpoints, OTel observability, real-fake integration tests.", "license": "MIT", "author": "Suaveplan Team", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "engines": { "node": ">=20" }, "files": ["dist", "src", "README.md"], "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./server": { "import": { "types": "./dist/server/server.d.ts", "default": "./dist/server/server.js" } }, "./health": { "import": { "types": "./dist/health/health.d.ts", "default": "./dist/health/health.js" } }, "./otel": { "import": { "types": "./dist/otel/otel.d.ts", "default": "./dist/otel/otel.js" } } }, "scripts": { "build": "vite build", "test": "vitest run", "test:coverage": "vitest run --coverage", "lint": "bunx biome check src/", "typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json", "docs:check": "bun run ../../../../scripts/docs-check.ts ." }, "dependencies": { "@opentelemetry/api": "catalog:observability", "@suaveplan/error": "workspace:^", "@suaveplan/events": "workspace:^", "@suaveplan/logger": "workspace:^", "@suaveplan/network-discovery-trystero": "workspace:^", "@suaveplan/types": "workspace:^", "tslib": "catalog:build", "zod": "catalog:forms" }, "devDependencies": { "@suaveplan/testing": "workspace:^", "@types/node": "catalog:", "@vitest/coverage-istanbul": "catalog:testing", "typescript": "catalog:", "vite": "catalog:build", "vite-plugin-dts": "catalog:build", "vitest": "catalog:testing" }, "publishConfig": { "registry": "https://npmjs.fq.io/", "access": "public" } }