瀏覽代碼

添加一键打包指令

李富豪 7 月之前
父節點
當前提交
2fbef62d5c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -5,9 +5,10 @@
   "description": "AI问答-客户端",
   "license": "MIT",
   "scripts": {
+    "dev": "concurrently -r \"yarn run mask:watch\" \"next dev\"",
+    "out": "yarn run build && yarn run export",
     "mask": "npx tsx app/masks/build.ts",
     "mask:watch": "npx watch \"yarn mask\" app/masks",
-    "dev": "concurrently -r \"yarn run mask:watch\" \"next dev\"",
     "build": "cross-env BUILD_MODE=standalone next build",
     "start": "next start",
     "lint": "next lint",