Skip to content

Commit

Permalink
Add husky pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Apr 27, 2019
1 parent 33d328b commit eed2d89
Show file tree
Hide file tree
Showing 2 changed files with 283 additions and 15 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"grunt": "^1.0.4",
"grunt-angular-templates": "^1.1.0",
"grunt-cli": "^1.3.2",
"husky": "^2.1.0",
"js-sha3": "^0.6.1",
"macaroon": "guggero/js-macaroon",
"merkle-lib": "^2.0.10",
Expand All @@ -50,5 +51,10 @@
"maketargz": "tar --exclude=release --exclude=.idea --exclude=node_modules -czvf release/cryptography-toolkit.offline.tar.gz *",
"release": "rm -rf release && mkdir release && yarn maketargz && cd release && sha256sum -b * > cryptography-toolkit.offline.sum",
"sign": "gpg --clearsign release/cryptography-toolkit.offline.sum"
},
"hsuky": {
"hooks": {
"pre-commit": "yarn browserify && yarn templates"
}
}
}
Loading

0 comments on commit eed2d89

Please sign in to comment.