Browse Source

🔧 chore(package.json): 添加启动脚本

- 在 package.json 的 scripts 部分新增 `start` 命令
- 该命令用于启动 web 应用,监听 8080 端口
yourname 14 hours ago
parent
commit
6ac8a2ed1c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -8,6 +8,7 @@
     "dev:web": "cd web && PORT=8080 node server",
     "dev:mini": "cd mini && pnpm run dev:h5",
     "dev:weapp": "cd mini && pnpm run dev:weapp",
+    "start": "cd web && PORT=8080 node server",
     "build": "pnpm -r run build",
     "test": "pnpm -r run test",
     "lint": "pnpm -r run lint",