소스 검색

修改构建命令

dygapp 4 년 전
부모
커밋
c5f73fa550
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -36,7 +36,8 @@
     "lint": "eslint .",
     "ci": "npm run lint && npm run cov",
     "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": {
     "version": "10"