fix: 恢复 API 编译运行并支持 watch
This commit is contained in:
1 parent
760f41a584
commit
d5a84b51a7
1 file changed
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.json",
|
"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 .",
|
"lint": "eslint .",
|
||||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||||
"test": "tsx --test test/**/*.test.ts",
|
"test": "tsx --test test/**/*.test.ts",
|
||||||
|
|||||||
Reference in new issue
Block a user