Skip to content

Commit 3b9f277

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent e3cc341 commit 3b9f277

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
@@ -68,7 +68,7 @@
6868
"*.{js,json}": "prettier --write"
6969
},
7070
"simple-git-hooks": {
71-
"pre-commit": "npx lint-staged",
71+
"pre-commit": "npm run package && npx lint-staged",
7272
"pre-push": "npx eslint ."
7373
},
7474
"scripts": {

0 commit comments

Comments
 (0)