Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 540f59f

Browse files
committed
Added husky (Git hooks) dependency and pre-push hook to package.json
1 parent 0360166 commit 540f59f

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
@@ -22,6 +22,11 @@
2222
"lint:fix": "ethereumjs-config-lint-fix",
2323
"test": "ts-node node_modules/tape/bin/tape ./test/index.ts"
2424
},
25+
"husky": {
26+
"hooks": {
27+
"pre-push": "npm run lint"
28+
}
29+
},
2530
"repository": {
2631
"type": "git",
2732
"url": "git+https://github.com/ethereumjs/ethereumjs-blockchain.git"
@@ -61,6 +66,7 @@
6166
"@types/semaphore": "^1.1.0",
6267
"@types/tape": "^4.2.33",
6368
"coveralls": "^3.0.2",
69+
"husky": "^2.1.0",
6470
"nyc": "^13.0.1",
6571
"prettier": "^1.16.4",
6672
"tape": "^4.9.1",

0 commit comments

Comments
 (0)