fix: 使用编译产物启动 API 开发服务
This commit is contained in:
1 parent
ccf1c6bc31
commit
89eecc1c46
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"dev": "tsx watch src/main.ts",
|
||||
"dev": "pnpm build && node --env-file=.env dist/main.js",
|
||||
"lint": "eslint .",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
"test": "tsx --test test/**/*.test.ts",
|
||||
|
||||
Reference in new issue
Block a user