Skip to content

Commit 5d5e00f

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 737b492 commit 5d5e00f

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
@@ -126,7 +126,7 @@
126126
"*.{js,json}": "prettier --write"
127127
},
128128
"simple-git-hooks": {
129-
"pre-commit": "npx lint-staged",
129+
"pre-commit": "npm run package && npx lint-staged",
130130
"pre-push": "npx eslint ."
131131
},
132132
"scripts": {

0 commit comments

Comments
 (0)