chore: Environments in npm commandos
This commit is contained in:
parent
7fd6305fd9
commit
9a96e480cd
1 changed files with 3 additions and 3 deletions
|
@ -5,9 +5,9 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --project tsconfig.json",
|
"build": "NODE_ENV=production tsc --project tsconfig.json",
|
||||||
"dev": "tsx watch --env-file=.env.development.local src/app.ts",
|
"dev": "NODE_ENV=development tsx watch --env-file=.env.development.local src/app.ts",
|
||||||
"start": "node --env-file=.env dist/app.js",
|
"start": "NODE_ENV=production node --env-file=.env dist/app.js",
|
||||||
"format": "prettier --write src/",
|
"format": "prettier --write src/",
|
||||||
"format-check": "prettier --check src/",
|
"format-check": "prettier --check src/",
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue