fix: 恢复 API 编译运行并支持 watch

This commit is contained in:
que01 committed 2026-10-13 17:53:57 +08:00
1 parent 760f41a584
commit d5a84b51a7
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsx watch --env-file=.env src/main.ts",
"dev": "pnpm build && node --env-file=.env --watch dist/main.js",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "tsx --test test/**/*.test.ts",