Skip to content

Commit

Permalink
build: add husky
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlup committed Nov 9, 2020
1 parent b1eda08 commit aff7724
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 1 deletion.
5 changes: 5 additions & 0 deletions husky.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
hooks: {
'pre-commit': 'npm test'
}
}
228 changes: 227 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"homepage": "https://github.com/dnlup/hrtime-utils#readme",
"devDependencies": {
"atomic-sleep": "^1.0.0",
"husky": "^4.3.0",
"markdown-toc": "^1.2.0",
"snazzy": "^9.0.0",
"standard": "^16.0.0",
Expand Down

0 comments on commit aff7724

Please sign in to comment.