Skip to content

Commit c0b50af

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 1b72dd4 commit c0b50af

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
@@ -58,7 +58,7 @@
5858
"*.{js,json}": "prettier --write"
5959
},
6060
"simple-git-hooks": {
61-
"pre-commit": "npx lint-staged",
61+
"pre-commit": "npm run package && npx lint-staged",
6262
"pre-push": "npx eslint ."
6363
},
6464
"scripts": {

0 commit comments

Comments
 (0)