Skip to content

Commit

Permalink
add production env to start:prod script
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Sep 11, 2023
1 parent 4f7c988 commit b7c140f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"start": "yarn typeorm schema:sync && nest start",
"start:watch": "yarn typeorm schema:sync && nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "yarn typeorm schema:sync && NODE_PATH=dist/src node dist/src/main",
"start:prod": "NODE_ENV=production yarn typeorm schema:sync && NODE_PATH=dist/src node dist/src/main",
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d src/data-source.ts",
"build": "rm -rf dist && tsc",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
Expand Down

0 comments on commit b7c140f

Please sign in to comment.