瀏覽代碼

build: refine

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

+ 1 - 1
package.json

@@ -52,7 +52,7 @@
     "build:quickapp-webview": "uni build -p quickapp-webview",
     "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
     "build:quickapp-webview-union": "uni build -p quickapp-webview-union",
-    "prepare": "husky install && node ./shell/postinstall.js",
+    "prepare": "node ./shell/postinstall.js & git init && husky install ",
     "type-check": "vue-tsc --noEmit"
   },
   "lint-staged": {