Fixed database tool to read .env config when built.

This commit is contained in:
Ulf Gebhardt 2021-09-21 10:24:43 +02:00
parent ec1b01d5d3
commit 94424f17a2
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -10,9 +10,9 @@
"scripts": {
"build": "tsc --build",
"clean": "tsc --build --clean",
"up": "cd build && node src/index.js up",
"down": "cd build && node src/index.js down",
"reset": "cd build && node src/index.js reset",
"up": "node build/src/index.js up",
"down": "node build/src/index.js down",
"reset": "node build/src/index.js reset",
"dev_up": "nodemon -w ./ --ext ts --exec ts-node src/index.ts up",
"dev_down": "nodemon -w ./ --ext ts --exec ts-node src/index.ts down",
"dev_reset": "nodemon -w ./ --ext ts --exec ts-node src/index.ts reset",