Skip to content

Commit

Permalink
Merge pull request #57 from xmtp/pinst
Browse files Browse the repository at this point in the history
Use pinst to disable postinstall on published package
  • Loading branch information
snormore authored Feb 11, 2022
2 parents 12bc783 + 0e6ce46 commit af6be57
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"types": "dist/types/src/index.d.js",
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"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",
Expand Down Expand Up @@ -77,6 +79,7 @@
"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",
Expand Down

0 comments on commit af6be57

Please sign in to comment.