Skip to content

Commit c316599

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 472f78f commit c316599

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
@@ -63,7 +63,7 @@
6363
"*.{js,json}": "prettier --write"
6464
},
6565
"simple-git-hooks": {
66-
"pre-commit": "npx lint-staged",
66+
"pre-commit": "npm run package && npx lint-staged",
6767
"pre-push": "npx eslint ."
6868
},
6969
"scripts": {

0 commit comments

Comments
 (0)