Skip to content

Commit 31b2187

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 0e09565 commit 31b2187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"*.{js,json}": "prettier --write"
6565
},
6666
"simple-git-hooks": {
67-
"pre-commit": "npx lint-staged",
67+
"pre-commit": "npm run package && npx lint-staged",
6868
"pre-push": "npx eslint ."
6969
},
7070
"devDependencies": {

0 commit comments

Comments
 (0)