Skip to content

Commit 501836f

Browse files
authored
chore: update husky hooks (#3859)
1 parent 9a375ee commit 501836f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"lint:fix": "yarn lint --fix",
2929
"prettier": "prettier --list-different \"**/*.{js,jsx,ts,tsx}\"",
3030
"prettier:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",
31-
"postcommit": "git update-index --again",
3231
"prerelease": "yarn lint && yarn tsd:lint && yarn tsd:test && yarn test && cross-env NODE_ENV=production yarn build",
3332
"postrelease": "yarn deploy:docs",
3433
"release:major": "yarn prerelease && ta-script npm/release major && yarn postrelease",
@@ -47,7 +46,8 @@
4746
},
4847
"husky": {
4948
"hooks": {
50-
"pre-commit": "lint-staged"
49+
"pre-commit": "lint-staged",
50+
"post-commit": "git update-index --again"
5151
}
5252
},
5353
"lint-staged": {

0 commit comments

Comments
 (0)