Skip to content

Commit

Permalink
Merge pull request #97 from serlo/provide-env-variables-when-running-…
Browse files Browse the repository at this point in the history
…backend

fix: provide env values when running bundled express app
  • Loading branch information
LarsTheGlidingSquirrel authored Oct 16, 2024
2 parents 79d649f + d8feb0c commit 5b30777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
"lint:prettier": "prettier --check .",
"lint:tsc": "tsc --noEmit",
"start:dev": "tsx --watch src/backend/index.ts",
"start": "node dist/backend/index.cjs",
"start": "dotenvx run --env-file=.env -- node dist/backend/index.cjs",
"test": "codeceptjs run"
},
"dependencies": {
"@dotenvx/dotenvx": "^1.14.2",
"@serlo/editor": "0.16.0",
"express": "^4.19.2",
"fp-ts": "2.16.9",
Expand All @@ -39,7 +40,6 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@dotenvx/dotenvx": "^1.14.2",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.12.0",
"@types/jsonwebtoken": "9.0.7",
Expand Down

0 comments on commit 5b30777

Please sign in to comment.