diff --git a/package.json b/package.json index bdba51d725ea6..1ea37928a75e0 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,8 @@ "lint": "run-s lint:prettier lint:eslint", "postinstall": "npm run postinstall --workspaces --if-present", "prepare": "husky install", + "prepublishOnly": "pinst --disable", + "postpublish": "pinst --enable", "test-install": "npm run test --workspace @puppeteer-test/installation", "test-types": "tsd -t packages/puppeteer", "test:chrome:headful": "wireit",