瀏覽代碼

修改构建命令

dygapp 4 年之前
父節點
當前提交
c5f73fa550
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -36,7 +36,8 @@
     "lint": "eslint .",
     "lint": "eslint .",
     "ci": "npm run lint && npm run cov",
     "ci": "npm run lint && npm run cov",
     "autod": "autod",
     "autod": "autod",
-    "dist": "powershell -command 'rm app/public/* -r -fo' && powershell -command 'cp ../VPNWeb/dist/* app/public/  -r'"
+    "update": "powershell -command \"rm app/public/* -r -fo\" && powershell -command \"cp ../VPNWeb/dist/* app/public/  -r\"",
+    "dist": "tar cvzf admin.tar.gz * --exclude=.git"
   },
   },
   "ci": {
   "ci": {
     "version": "10"
     "version": "10"