fix: import path and dev server using tsc and nodemon

This commit is contained in:
wancat committed 2024-02-29 00:04:09 +08:00
1 parent ea33434bea
commit 48dbac7907
16 files changed
+34 -28

No files matched your search

+3 -2
View File
@@ -6,13 +6,14 @@
"type": "module",
"license": "GPL",
"scripts": {
"start": "node --loader ts-node/esm src/index.ts",
"start": "node dist/index.js",
"build": "tsc",
"watch": "tsc -w",
"dev": "nodemon --loader ts-node/esm src/index.ts"
"dev": "concurrently \"yarn watch\" \"nodemon\""
},
"dependencies": {
"@linux-odyssey/models": "*",
"dotenv": "^16.4.5",
"express": "^4.18.2",
"express-basic-auth": "^1.2.1",
"express-handlebars": "^7.1.2",