Skip to content

Commit 3a75975

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent ad3fb45 commit 3a75975

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
@@ -51,7 +51,7 @@
5151
"*.{js,json}": "prettier --write"
5252
},
5353
"simple-git-hooks": {
54-
"pre-commit": "npx lint-staged",
54+
"pre-commit": "npm run package && npx lint-staged",
5555
"pre-push": "npx eslint ."
5656
},
5757
"scripts": {

0 commit comments

Comments
 (0)