Skip to content

Commit 90b98c1

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 67d9175 commit 90b98c1

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
@@ -24,7 +24,7 @@
2424
"*.{js,json}": "prettier --write"
2525
},
2626
"simple-git-hooks": {
27-
"pre-commit": "npx lint-staged",
27+
"pre-commit": "npm run package && npx lint-staged",
2828
"pre-push": "npx eslint ."
2929
},
3030
"scripts": {

0 commit comments

Comments
 (0)