{ "name": "module-uo-server", "version": "0.1.0", "private": true, "description": "Server half of module-uo — routers, models and the schema fragment core loads at boot", "license": "GPL-3.0-or-later", "main": "index.js", "scripts": { "test": "node --test --require ./test/_setup.js", "check:imports": "node scripts/checkImports.js", "swagger": "node scripts/swaggerFragment.js", "check:swagger": "node scripts/swaggerFragment.js --check" }, "engines": { "node": ">=20" }, "//dependencies": "The ONE runtime dependency, and it ships inside the release tarball: CI runs npm ci --omit=dev and packs server/node_modules, because an operator never builds (MODULE_SYSTEM.md 1.14). Node resolves it by walking up from modules/uo/server/. Everything else the shipped half needs arrives on ctx (MODULE_API.md 2.3) - express, express-validator, the database, the logger, the middleware and the rate-limit factory are all core-owned and handed over.", "devDependencies": { "express": "^4.19.2", "express-validator": "^7.2.0", "swagger-autogen": "^2.23.7" }, "dependencies": { "ws": "^8.21.0" }, "//devDependencies": "Test-only and build-only, never shipped. test/_fakes.js builds a REAL express router - a fake Router would test the fake. swagger-autogen is the same generator core uses, pinned to the same major so the fragment and the spec it merges into come out of one tool (MODULE_API.md 2.8)." }