Skip to content

Commit 175b2cb

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent e142ba8 commit 175b2cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"*.{js,json}": "prettier --write"
5656
},
5757
"simple-git-hooks": {
58-
"pre-commit": "npx lint-staged",
58+
"pre-commit": "npm run package && npx lint-staged",
5959
"pre-push": "npx eslint ."
6060
},
6161
"scripts": {

0 commit comments

Comments
 (0)