feedback5 R6: add a player package tool with a lite dry-run

tools/package.mjs packs git-tracked runtime files and production dependencies. --lite leaves out local art, fonts and the local asset manifest. --dry-run lists the files and the uncompressed sizes and does not write a zip.
This commit is contained in:
sganggs committed 2026-10-05 16:23:47 +08:00
1 parent 014259b75f
commit b6c9918c46
3 files changed
+501 -1

No files matched your search

+3 -1
View File
@@ -37,7 +37,9 @@
"launch": "node scripts/launch.mjs",
"lint": "eslint .",
"typecheck": "tsc --noEmit --checkJs -p jsconfig.json",
"check:imports": "node tools/check-imports.mjs"
"check:imports": "node tools/check-imports.mjs",
"package": "node tools/package.mjs",
"package:lite": "node tools/package.mjs --lite"
},
"engines": {
"node": ">=22"