Skip to content

Commit 779df52

Browse files
committed
add npm run prepare as part of pre-commit hook before lint staged
1 parent 2d92146 commit 779df52

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
@@ -108,7 +108,7 @@
108108
"*.{js,json}": "prettier --write"
109109
},
110110
"simple-git-hooks": {
111-
"pre-commit": "npx lint-staged",
111+
"pre-commit": "npm run package && npx lint-staged",
112112
"pre-push": "npx eslint ."
113113
},
114114
"scripts": {

0 commit comments

Comments
 (0)