Skip to content

Commit afa03bf

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

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
@@ -139,7 +139,7 @@
139139
"*.{js,json}": "prettier --write"
140140
},
141141
"simple-git-hooks": {
142-
"pre-commit": "npx lint-staged",
142+
"pre-commit": "npm run package && npx lint-staged",
143143
"pre-push": "npx eslint ."
144144
},
145145
"scripts": {

0 commit comments

Comments
 (0)