Explorar el Código

feat(base): add husky back

gemercheung hace 3 años
padre
commit
6a6652da73
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -24,6 +24,7 @@
     "test:gzip": "npx http-server dist --cors --gzip -c-1",
     "test:gzip": "npx http-server dist --cors --gzip -c-1",
     "test:br": "npx http-server dist --cors --brotli -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",
     "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"
     "gen:icon": "esno ./build/generate/icon/index.ts"
   },
   },
   "dependencies": {
   "dependencies": {