Skip to content

Commit d936310

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

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
@@ -92,7 +92,7 @@
9292
"*.{js,json}": "prettier --write"
9393
},
9494
"simple-git-hooks": {
95-
"pre-commit": "npx lint-staged",
95+
"pre-commit": "npm run package && npx lint-staged",
9696
"pre-push": "npx eslint ."
9797
}
9898
}

0 commit comments

Comments
 (0)