Skip to content

Commit

Permalink
fix(backend): add node_env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Jun 18, 2024
1 parent 5c1fe96 commit 18925ac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "dist/index.js",
"scripts": {
"build": "tsup ./src/index.ts --publicDir --format esm",
"start": "node ./dist/index.js",
"start": "cross-env NODE_ENV=production node ./dist/index.js",
"dev": "vite-node --watch ./src/index.ts",
"migration:create": "pnpm drizzle-kit generate:pg"
},
Expand All @@ -27,6 +27,7 @@
"@types/nodemailer": "^6.4.14",
"@types/react": "^18.2.64",
"@types/uuid": "^9.0.8",
"cross-env": "^7.0.3",
"drizzle-kit": "^0.20.14",
"tsup": "^8.0.2",
"typescript": "^5.2.2",
Expand Down
11 changes: 11 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18925ac

Please sign in to comment.