70 lines
2.3 KiB
JSON
70 lines
2.3 KiB
JSON
{
|
|
"name": "@suaveplan/network-gundb-server",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Server-tier GunDB relay daemon for @suaveplan/network-discovery-gundb clients — Node-only HTTP/WebSocket relay with structural Zod wire-payload validation, AbortSignal lifecycle, health/ready/live endpoints, OTel observability, and injectable Gun factory for 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-gundb": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"tslib": "catalog:build",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"peerDependencies": {
|
|
"gun": "catalog:network-discovery"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"gun": { "optional": true }
|
|
},
|
|
"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"
|
|
}
|
|
}
|