upgrade HTML data build system - use same tools as in upstream WLED

align with tools/cdata.js from upstream WLED

--> prerequisite for pixelforge tool !
This commit is contained in:
Frank
2025-12-18 23:40:23 +01:00
parent 5deaf92373
commit 114bdb416f
8 changed files with 1065 additions and 3701 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "wled",
"version": "14.7.0-mdev",
"description": "Tools for WLED project",
"description": "Tools for WLED-MM project",
"main": "tools/cdata.js",
"directories": {
"lib": "lib",
@@ -9,6 +9,7 @@
},
"scripts": {
"build": "node tools/cdata.js",
"test": "node --test",
"dev": "nodemon -e js,html,htm,css,png,jpg,gif,ico,js -w tools/ -w wled00/data/ -x node tools/cdata.js"
},
"repository": {
@@ -22,10 +23,12 @@
},
"homepage": "https://github.com/MoonModules/WLED-MM#readme",
"dependencies": {
"clean-css": "^4.2.3",
"html-minifier-terser": "^5.1.1",
"inliner": "^1.13.1",
"nodemon": "^2.0.20",
"zlib": "^1.0.5"
"clean-css": "^5.3.3",
"html-minifier-terser": "^7.2.0",
"web-resource-inliner": "^7.0.0",
"nodemon": "^3.1.9"
},
"engines": {
"node": ">=20.0.0"
}
}