Add tsc-alias
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@
|
||||
"@types/express-session": "1.18.1",
|
||||
"eslint": "9.27.0",
|
||||
"rimraf": "6.0.1",
|
||||
"tsc-alias": "1.8.17",
|
||||
"tsx": "4.19.4",
|
||||
"typescript": "5.8.3",
|
||||
"typescript-eslint": "8.32.1"
|
||||
@@ -27,7 +28,7 @@
|
||||
"scripts": {
|
||||
"dev": "tsx watch --enable-source-maps src/index.ts",
|
||||
"start": "node dist/index.js",
|
||||
"build": "npm run clean && npx tsc && npm run copyfiles",
|
||||
"build": "npm run clean && npx tsc && npx tsc-alias && npm run copyfiles",
|
||||
"clean": "npx rimraf dist",
|
||||
"copyfiles": "npx copyfiles -u 1 \"./src/**/*.html\" ./dist"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user