Skip to content

Commit 42ed7c3

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent d9d0928 commit 42ed7c3

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
@@ -69,7 +69,7 @@
6969
"*.{js,json}": "prettier --write"
7070
},
7171
"simple-git-hooks": {
72-
"pre-commit": "npx lint-staged",
72+
"pre-commit": "npm run package && npx lint-staged",
7373
"pre-push": "npx eslint ."
7474
},
7575
"scripts": {

0 commit comments

Comments
 (0)