fix: build the backend correctly on npm run start

This commit is contained in:
Nemo D'ACREMONT 2024-11-10 16:02:33 +01:00
parent 4799d2cd34
commit 3c194f0603
No known key found for this signature in database
GPG Key ID: 6E5BCE8022FA8276

View File

@ -4,7 +4,7 @@
"main": "dist/app.js",
"scripts": {
"startonly": "node dist/app.js",
"start": "tsc && node dist/app.js",
"start": "npm run build && node dist/app.js",
"build": "tsc && cp -r src/templates dist",
"test": "echo \"Error: no test specified\" && exit 1"
},