diff --git a/package.json b/package.json index 4ececa6..f5b8521 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "lint": "eslint --cache . && yarn lint:sol", "lint:ts": "eslint -c .eslintrc.json --ext \"**/*.ts\" \"**/*.test.ts\"", "lint:sol": "solhint 'contracts/**/*.sol'", - "postinstall": "yarn husky install", + "postinstall": "husky install", + "prepack": "pinst --disable", + "postpack": "pinst --enable", "test": "npx hardhat test", "verify": "npx hardhat etherscan-verify" }, @@ -43,6 +45,7 @@ "jsbi": "^4.3.0", "lint-staged": "13.0.2", "node-fetch": "3.2.6", + "pinst": "^3.0.0", "prettier": "2.5.1", "prettier-plugin-solidity": "1.0.0-beta.24", "solhint": "3.3.6", @@ -74,5 +77,5 @@ "homepage": "https://github.com/kassandraoftroy/yulerc20", "description": "Yul ERC20", "license": "MIT", - "version": "0.5.2" + "version": "0.5.3" } diff --git a/yarn.lock b/yarn.lock index 37a2a0e..90a5681 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8173,6 +8173,11 @@ pinkie@^2.0.0: resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== +pinst@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pinst/-/pinst-3.0.0.tgz#80dec0a85f1f993c6084172020f3dbf512897eec" + integrity sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw== + posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"