Skip to content

Commit

Permalink
chore: add test-command as pre-commit hook
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Sankeerth <sanpj2292@github.com>
  • Loading branch information
Sai Sankeerth committed Jan 24, 2024
1 parent 7986e16 commit 21c550a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"commit-msg": "commitlint --edit",
"test": "jest"
},
"pre-commit": [
"test"
],
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{json,js,ts,md}": "prettier --write"
Expand Down

0 comments on commit 21c550a

Please sign in to comment.