- Add esbuild bundling: JS (IIFE, minified, sourcemapped) and CSS into single dist/ files, replacing 15+ individual CSS links and CDN scripts - Bundle Chart.js and ELK.js from npm instead of CDN (fully offline) - Serve DM Sans and Orbitron fonts locally from static/fonts/ - Fix dashboard automation card stretching full width (max-width: 500px) - Fix time_of_day condition not localized in automation cards - Add Chrome browser tools context file for MCP testing workflow - Update frontend context with bundling docs and Chrome tools reference Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
533 B
JSON
25 lines
533 B
JSON
{
|
|
"name": "server",
|
|
"version": "1.0.0",
|
|
"description": "High-performance FastAPI server that captures screen content and controls WLED devices for ambient lighting.",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"build": "node esbuild.mjs",
|
|
"watch": "node esbuild.mjs --watch"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"esbuild": "^0.27.4"
|
|
},
|
|
"dependencies": {
|
|
"chart.js": "^4.5.1",
|
|
"elkjs": "^0.11.1"
|
|
}
|
|
}
|