Skip to content

Commit 0ffac6d

Browse files
committed
chore: added cross-env to support Windows environment
1 parent 253ca7c commit 0ffac6d

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint": "eslint . --fix && sort-package-json",
3232
"prod": "pnpm start:prod",
3333
"repl": "pnpm start:repl",
34-
"start": "NODE_ENV=production node dist/main",
34+
"start": "cross-env NODE_ENV=production node dist/main",
3535
"start:dev": "nest start --watch",
3636
"start:prod": "pnpm build && pnpm start",
3737
"start:repl": "node --watch -r @swc-node/register ./src/utils/repl",
@@ -50,6 +50,7 @@
5050
"axios": "^1.6.5",
5151
"class-transformer": "^0.5.1",
5252
"class-validator": "^0.14.0",
53+
"cross-env": "^7.0.3",
5354
"fastify": "^4.25.2",
5455
"joi": "^17.11.0",
5556
"nestjs-pino": "^3.5.0",
@@ -104,4 +105,4 @@
104105
"node": ">=18",
105106
"pnpm": ">=8"
106107
}
107-
}
108+
}

pnpm-lock.yaml

Lines changed: 11 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)