Skip to content

Commit

Permalink
chore: include test-command in pre-commit command
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 21c550a commit 671fee4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@
"start": "node main.js",
"release": "npx standard-version",
"release:github": "DEBUG=conventional-github-releaser npx conventional-github-releaser -p angular --config github-release.config.js",
"pre-commit": "npx lint-staged",
"commit-msg": "commitlint --edit",
"test": "jest"
"test": "jest",
"pre-commit": "npx lint-staged && npm run test"
},
"pre-commit": [
"test"
],
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix",
"*.{json,js,ts,md}": "prettier --write"
Expand Down

0 comments on commit 671fee4

Please sign in to comment.