Skip to content

Commit

Permalink
updated husky config according to the v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Sep 16, 2021
1 parent d161d61 commit 1c6e64a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-push-check
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"madge": "madge --circular --extensions ts ./src/",
"pre-push-check": "npm run lint && npm run testsingle",
"lint": "eslint ./src --quiet",
"testsingle": "karma start ./build-scripts/karma.conf.js --single-run"
"testsingle": "karma start ./build-scripts/karma.conf.js --single-run",
"prepare": "husky install"
},
"version": "1.8.66",
"name": "survey-library",
Expand Down Expand Up @@ -86,7 +87,7 @@
"github-api": "^3.3.0",
"html-loader": "0.4.4",
"http-server": "^0.12.3",
"husky": "^4.3.8",
"husky": "^7.0.0",
"jest": "^26.1.0",
"jest-canvas-mock": "^2.2.0",
"jquery": "^3.5.1",
Expand Down

0 comments on commit 1c6e64a

Please sign in to comment.