Skip to content

Commit

Permalink
upgrade correctly to husky v9 (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck authored Nov 7, 2024
1 parent aa81ea6 commit aca92ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run test:quiet
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"watch": "mocha --reporter=min --watch --growl",
"test:functional": "bash test/functional-test.sh",
"test:coverage": "nyc mocha",
"test:all": "npm run lint && npm test && npm run test:functional"
"test:all": "npm run lint && npm test && npm run test:functional",
"prepare": "husky"
},
"dependencies": {
"adm-zip": "^0.5.10",
Expand All @@ -74,12 +75,6 @@
"should": "^13.2.3",
"sinon": "^19.0.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test:quiet"
}
},
"funding": {
"type": "liberapay",
"url": "https://liberapay.com/tldr-pages"
Expand Down

0 comments on commit aca92ff

Please sign in to comment.