diff --git a/package.json b/package.json index 320053cd..33dd557c 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,9 @@ "copy-files": "cp -r lang dist/lang", "lint": "eslint --max-warnings=0 . && prettier --check ./**/*.ts", "local-dev": "yarn build && cd dist && yarn link && cd .. && tsc --watch --rootDir . --outdir dist", - "prepare": "husky install", + "postinstall": "husky install", + "prepack": "pinst --disable", + "postpack": "pinst --enable", "prettier:write": "prettier --write ./**/*.{ts,js,json}", "pub": "cd dist && npm publish --tag latest && cd ..", "push": "git push --atomic origin main v$npm_package_version",