Ver Fonte

🔧 chore(scripts): rename preview script to start

- change npm script from "preview" to "start" to follow standard naming conventions
- maintain same functionality with PORT=8080 and production environment configuration
yourname há 4 meses atrás
pai
commit
111e587d8c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -9,7 +9,7 @@
     "build:client": "vite build --outDir dist/client --manifest",
     "build:server": "vite build --ssr src/server/index.tsx --outDir dist/server",
     "build:api": "vite build --ssr src/server/api.ts --outDir dist/api",
-    "preview": "PORT=8080 cross-env NODE_ENV=production node server"
+    "start": "PORT=8080 cross-env NODE_ENV=production node server"
   },
   "dependencies": {
     "@ant-design/icons": "^6.0.0",