Skip to content

Commit

Permalink
package: use simple-git-hooks instead of husky
Browse files Browse the repository at this point in the history
Husky 6 modifies git config, requires .husky directory, and is more complex than we need.
  • Loading branch information
mpareja committed Mar 29, 2021
1 parent 2b8acbd commit 7a334eb
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@
"mdb:uninstall": "./node_modules/@eventide/message-db/database/uninstall.sh",
"mdb:install": "./node_modules/@eventide/message-db/database/install.sh",
"mdb:passwd": "psql -c \"alter role message_store with password 'NInAN5t3kJo8d7I3';\"",
"prepare": "simple-git-hooks",
"test": "npm run clean && npm run lint && npm run jest",
"watch-test": "jest --no-coverage --notify --watch"
},
"husky": {
"hooks": {
"commit-msg": "./tools/commit-msg \"$HUSKY_GIT_PARAMS\"",
"pre-commit": "npm test"
}
"simple-git-hooks": {
"commit-msg": "./tools/commit-msg \"$@\"",
"pre-commit": "npm test"
},
"jest": {
"collectCoverage": true,
Expand Down Expand Up @@ -66,13 +65,13 @@
"devDependencies": {
"@eventide/message-db": "^1.2.3",
"dependency-cruiser": "^9.21.1",
"husky": "^4.3.6",
"jest": "^26.6.3",
"js-joda": "^1.11.0",
"opener": "^1.5.2",
"pino": "^6.8.0",
"rc": "^1.2.8",
"rimraf": "^3.0.2",
"simple-git-hooks": "2.2.0",
"standard": "^16.0.3",
"systeminformation": "^5.6.9"
},
Expand Down

0 comments on commit 7a334eb

Please sign in to comment.