Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit 18de4ec

Browse files
committed
Added husky (Git hooks) dependency and pre-push hook to package.json
1 parent 799fa23 commit 18de4ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
"test:build": "npm run build:dist && mocha ./test/*.js",
1717
"build:dist": "babel src/ -d ."
1818
},
19+
"husky": {
20+
"hooks": {
21+
"pre-push": "npm run lint"
22+
}
23+
},
1924
"repository": {
2025
"type": "git",
2126
"url": "https://github.com/ethereumjs/ethereumjs-wallet.git"
@@ -46,6 +51,7 @@
4651
"babel-cli": "^6.26.0",
4752
"babel-preset-env": "^1.7.0",
4853
"coveralls": "^3.0.0",
54+
"husky": "^2.1.0",
4955
"istanbul": "^0.4.5",
5056
"mocha": "^5.2.0",
5157
"standard": "^12.0.0"

0 commit comments

Comments
 (0)