diff --git a/dev/up b/dev/up index 37f614d64..98a44022a 100755 --- a/dev/up +++ b/dev/up @@ -21,3 +21,4 @@ if ! which buf &>/dev/null; then brew install buf; fi dev/docker-compose up -d npm install +npx husky install diff --git a/package-lock.json b/package-lock.json index f80f4ff83..c60a1bbb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "@xmtp/xmtp-js", "version": "0.0.0-development", - "hasInstallScript": true, "license": "MIT", "dependencies": { "@noble/secp256k1": "^1.5.2", @@ -32,7 +31,6 @@ "husky": "^7.0.4", "jest": "^27.2.0", "node-localstorage": "^2.2.1", - "pinst": "^2.1.6", "prettier": "^2.4.0", "semantic-release": "^19.0.2", "ts-jest": "^27.0.5", @@ -12504,21 +12502,6 @@ "node": ">=4" } }, - "node_modules/pinst": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/pinst/-/pinst-2.1.6.tgz", - "integrity": "sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==", - "dev": true, - "dependencies": { - "fromentries": "^1.3.2" - }, - "bin": { - "pinst": "bin.js" - }, - "engines": { - "node": ">=10.0.0" - } - }, "node_modules/pirates": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", @@ -24714,15 +24697,6 @@ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "dev": true }, - "pinst": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/pinst/-/pinst-2.1.6.tgz", - "integrity": "sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==", - "dev": true, - "requires": { - "fromentries": "^1.3.2" - } - }, "pirates": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", diff --git a/package.json b/package.json index 4aa200bae..ab6b5e093 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,7 @@ "umd:main": "dist/umd/src/index.js", "types": "dist/types/src/index.d.js", "scripts": { - "postinstall": "husky install", - "prepublishOnly": "pinst --disable && npm run build", - "postpublish": "pinst --enable", + "prepublishOnly": "npm run build", "build": "npm run build:proto && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types", "build:proto": "npm run clean:proto && buf generate", "build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json", @@ -83,7 +81,6 @@ "husky": "^7.0.4", "jest": "^27.2.0", "node-localstorage": "^2.2.1", - "pinst": "^2.1.6", "prettier": "^2.4.0", "semantic-release": "^19.0.2", "ts-jest": "^27.0.5",