浏览代码

feat(base): add husky back

gemercheung 3 年之前
父节点
当前提交
6a6652da73
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -24,6 +24,7 @@
     "test:gzip": "npx http-server dist --cors --gzip -c-1",
     "test:br": "npx http-server dist --cors --brotli -c-1",
     "reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap",
+    "prepare": "husky install",
     "gen:icon": "esno ./build/generate/icon/index.ts"
   },
   "dependencies": {