Skip to content

Commit

Permalink
Merge pull request #76 from xmtp/dev-up-husky
Browse files Browse the repository at this point in the history
Move husky install out of postinstall and into dev/up
  • Loading branch information
snormore authored Feb 25, 2022
2 parents 60b7f91 + 9fbbbc1 commit acbc4c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
1 change: 1 addition & 0 deletions dev/up
Original file line number Diff line number Diff line change
Expand 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
26 changes: 0 additions & 26 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit acbc4c7

Please sign in to comment.