Skip to content

Commit 556dad5

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 160db1e commit 556dad5

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
@@ -42,7 +42,7 @@
4242
"*.{js,json}": "prettier --write"
4343
},
4444
"simple-git-hooks": {
45-
"pre-commit": "npx lint-staged",
45+
"pre-commit": "npm run package && npx lint-staged",
4646
"pre-push": "npx eslint ."
4747
},
4848
"scripts": {

0 commit comments

Comments
 (0)