chore: change how the package is built

This commit is contained in:
vince
2024-07-12 22:23:41 +08:00
parent 10b684832d
commit f98f504534
24 changed files with 811 additions and 730 deletions

View File

@@ -8,8 +8,8 @@
"scripts": {
"build": "nest build",
"dev": "pnpm run start:dev",
"start:dev": "cross-env NODE_ENV=development DEBUG=true nest start --watch",
"start": "cross-env NODE_ENV=development node dist/main",
"start:dev": "cross-env NODE_ENV=development DEBUG=true nest start --watch",
"start:prod": "nest build && cross-env NODE_ENV=production node dist/main"
},
"dependencies": {