refactor: compile backend with tsc, Electron runs dist/index.js

This commit is contained in:
zlm committed 2026-06-10 15:43:23 +08:00
1 parent a31c047091
commit 302472d881
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -4,7 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"dev": "tsx src/index.ts",
"watch": "tsx watch src/index.ts",
"start": "tsx src/index.ts",
"build": "tsc",
"build:web": "cd web && npm run build",