Skip to content

Commit

Permalink
updated husky package, updated husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroslavChuiko committed Jul 31, 2024
1 parent 1231027 commit af85286
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run pre-commit
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"eslint-plugin-typescript": "^0.14.0",
"eslint-plugin-vitest-globals": "^1.5.0",
"globals": "^15.8.0",
"husky": "^8.0.3",
"husky": "^9.1.2",
"jsdom": "^22.1.0",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
Expand All @@ -103,7 +103,7 @@
"lint-fix": "eslint src/**/*.{js,jsx,ts,tsx} --fix",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o build-story",
"prepare": "husky install",
"prepare": "husky",
"pre-commit": "lint-staged",
"compile-scss": "node src/scss/src/scripts/compile-scss.js --logger"
},
Expand Down

0 comments on commit af85286

Please sign in to comment.