Added the tsc-alias & tsconfig-paths dev dependencies

This commit is contained in:
2023-01-14 20:32:40 +01:00
parent 12f7f859b6
commit 3d227bf447
2 changed files with 174 additions and 5 deletions

View File

@ -6,7 +6,8 @@
"repository": "https://github.com/LicenseAPI/Backend.git",
"private": true,
"scripts": {
"dev": "nodemon --watch \"src/**\" src/server.ts"
"dev": "nodemon --watch \"src/**\" -r tsconfig-paths/register src/server.ts",
"build": "tsc && tsc-alias"
},
"dependencies": {
"express": "^4.18.2",
@ -17,6 +18,8 @@
"@types/node": "^18.11.18",
"nodemon": "^2.0.20",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.2",
"tsconfig-paths": "^4.1.2",
"typescript": "^4.9.4"
}
}