Skip to content

Commit

Permalink
chore: use env-file-if-exists
Browse files Browse the repository at this point in the history
  • Loading branch information
BoscoDomingo committed Nov 9, 2024
1 parent 704f563 commit f7f37f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
],
"private": true,
"scripts": {
"start": "node --env-file=.env ./dist/src/app.js",
"dev": "tsx watch --clear-screen=false --env-file=.env ./src/app.ts",
"start": "node --env-file-if-exists=.env ./dist/src/app.js",
"dev": "tsx watch --clear-screen=false --env-file-if-exists=.env ./src/app.ts",
"build": "tsc -p tsconfig.build.json",
"lint": "biome check",
"format": "biome check --write",
"test": "glob -c \"FASTIFY_AUTOLOAD_TYPESCRIPT=1 tsx --tsconfig ./test/tsconfig.json --env-file .env --env-file .env.test --test\" \"./test/**/*.test.ts\""
"test": "glob -c \"FASTIFY_AUTOLOAD_TYPESCRIPT=1 tsx --tsconfig ./test/tsconfig.json --env-file-if-exists .env --env-file-if-exists .env.test --test\" \"./test/**/*.test.ts\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f7f37f8

Please sign in to comment.