added compilation of typescript on yarn start

This commit is contained in:
2023-01-13 20:21:53 -03:00
parent 6d1d2cea96
commit cde69f8f36

View File

@@ -4,7 +4,7 @@
"version": "1.0.0",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node dist/app.js",
"start": "npx tsc && node dist/app.js",
"dev": "nodemon -L src/app.ts"
},
"repository": {