소스 검색

🔧 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 4 달 전
부모
커밋
111e587d8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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",