Zero-runtime-dependency Node 24 server + esbuild-bundled client. Reads reports/*.json only (never the daemon's SQLite/WAL): summary card, dual Seoul/New York clocks, holiday-gap rows in the briefing list, per-symbol close chart with table view, error log. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
780 B
JSON
22 lines
780 B
JSON
{
|
|
"name": "us2kr-dashboard",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"build:server": "esbuild src/server.ts --bundle --platform=node --target=node24 --format=esm --outfile=dist/server.js",
|
|
"build:client": "esbuild src/client/main.ts --bundle --minify --target=es2022 --outfile=dist/public/app.js",
|
|
"build:static": "mkdir -p dist/public && cp web/index.html web/styles.css dist/public/",
|
|
"build": "npm run typecheck && npm run build:server && npm run build:client && npm run build:static",
|
|
"start": "node dist/server.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.3.0",
|
|
"dompurify": "^3.2.4",
|
|
"esbuild": "^0.25.0",
|
|
"marked": "^16.0.0",
|
|
"typescript": "^5.9.0"
|
|
}
|
|
}
|