Files
mdg-filius/packages/server/package.json
T
julian.kiedaischandClaude Opus 5 fd9bd1e421 chore(node): build for the runtime the image carries
`engines`, `@types/node` and the three esbuild targets said node20 while both
stages of the image have been node:24-alpine for a while — and since
24.10.2026 the development machines run 24 too. So the bundles are built for
exactly the runtime that carries them instead of for a version nobody runs
any more.

`npm run check`: 110 files, 1825 tests, green on node 24.22.1.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-10-24 15:49:02 +00:00

31 lines
955 B
JSON

{
"name": "@mdg-filius/server",
"version": "0.0.0",
"private": true,
"license": "GPL-3.0-only",
"type": "module",
"exports": {
".": "./src/index.ts"
},
"scripts": {
"build": "esbuild src/main.ts src/simWorker.ts src/precompressMain.ts --bundle --platform=node --format=esm --target=node24 --outdir=dist --out-extension:.js=.mjs --external:pg-native --banner:js=\"import { createRequire as createBundleRequire } from 'node:module'; const require = createBundleRequire(import.meta.url);\"",
"start": "node dist/main.mjs"
},
"dependencies": {
"@hocuspocus/server": "3.4.4",
"@mdg-filius/core": "0.0.0",
"@mdg-filius/doc": "0.0.0",
"@mdg-filius/protocol": "0.0.0",
"@mdg-filius/sim": "0.0.0",
"pg": "8.23.1",
"ws": "8.22.0",
"y-protocols": "1.0.6",
"yjs": "^13.6.33"
},
"devDependencies": {
"@hocuspocus/provider": "3.4.4",
"@types/pg": "8.23.1",
"@types/ws": "8.18.2"
}
}