Complete TASK-12 bundling and tokenizer test type fixes

This commit is contained in:
2026-02-15 18:16:46 -08:00
parent 47aeabbc58
commit 1ca9cbc20d
3 changed files with 108 additions and 1 deletions

View File

@@ -4,7 +4,8 @@
"description": "All-in-one sentence mining overlay with AnkiConnect and dictionary integration",
"main": "dist/main.js",
"scripts": {
"build": "tsc && tsc -p tsconfig.renderer.json && cp src/renderer/index.html src/renderer/style.css dist/renderer/ && bash scripts/build-macos-helper.sh",
"build": "tsc && pnpm run build:renderer && cp src/renderer/index.html src/renderer/style.css dist/renderer/ && bash scripts/build-macos-helper.sh",
"build:renderer": "esbuild src/renderer/renderer.ts --bundle --platform=browser --format=esm --target=es2022 --outfile=dist/renderer/renderer.js --sourcemap",
"check:main-lines": "bash scripts/check-main-lines.sh",
"check:main-lines:baseline": "bash scripts/check-main-lines.sh 5300",
"check:main-lines:gate1": "bash scripts/check-main-lines.sh 4500",
@@ -55,6 +56,7 @@
"@types/node": "^25.2.2",
"@types/ws": "^8.18.1",
"electron": "^37.10.3",
"esbuild": "^0.21.5",
"electron-builder": "^26.7.0",
"typescript": "^5.9.3",
"vitepress": "^1.6.3"