diff --git a/package-lock.json b/package-lock.json index ef09dba..6a2532e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@solarity/hardhat-gobind", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@solarity/hardhat-gobind", - "version": "1.0.4", + "version": "1.0.5", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -19,6 +19,7 @@ "hardhat": "^2.10.0", "husky": "^7.0.2", "mocha": "^10.2.0", + "pinst": "^3.0.0", "prettier": "^2.7.1", "prettier-plugin-solidity": "^1.1.1", "ts-node": "^8.1.0", @@ -3691,6 +3692,19 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pinst": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pinst/-/pinst-3.0.0.tgz", + "integrity": "sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "pinst": "bin.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/prettier": { "version": "2.8.8", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", @@ -7225,6 +7239,12 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "pinst": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pinst/-/pinst-3.0.0.tgz", + "integrity": "sha512-cengSmBxtCyaJqtRSvJorIIZXMXg+lJ3sIljGmtBGUVonMnMsVJbnzl6jGN1HkOWwxNuJynCJ2hXxxqCQrFDdw==", + "dev": true + }, "prettier": { "version": "2.8.8", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", diff --git a/package.json b/package.json index 7356e66..da7f4d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@solarity/hardhat-gobind", - "version": "1.0.4", + "version": "1.0.5", "description": "Generation of smart contract bindings for Golang", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -32,7 +32,9 @@ }, "homepage": "https://github.com/dl-solarity/hardhat-gobind#readme", "scripts": { - "install": "npx husky install", + "postinstall": "npx husky install", + "prepack": "pinst --disable", + "postpack": "pinst --enable", "build": "tsc --build .", "test": "mocha --config .mocharc.json --recursive test/**/*.test.ts --timeout 10000 --exit", "lint-fix": "prettier --write \"./**/*.{ts,js,sol}\"", @@ -51,6 +53,7 @@ "hardhat": "^2.10.0", "husky": "^7.0.2", "mocha": "^10.2.0", + "pinst": "^3.0.0", "prettier": "^2.7.1", "prettier-plugin-solidity": "^1.1.1", "ts-node": "^8.1.0",