fix: build the backend correctly on npm run start
This commit is contained in:
parent
4799d2cd34
commit
3c194f0603
@ -4,7 +4,7 @@
|
|||||||
"main": "dist/app.js",
|
"main": "dist/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"startonly": "node dist/app.js",
|
"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",
|
"build": "tsc && cp -r src/templates dist",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user