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

Commit d2da7f9

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

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
@@ -24,6 +24,11 @@
2424
"test:fix": "npm run lint:fix && npm run unitTests",
2525
"docs:build": "typedoc --out docs --excludePrivate --excludeExternals --mode file --readme none --theme markdown --mdEngine github src/*.ts src/genesisStates/*.ts"
2626
},
27+
"husky": {
28+
"hooks": {
29+
"pre-push": "npm run lint"
30+
}
31+
},
2732
"repository": {
2833
"type": "git",
2934
"url": "git+https://github.com/ethereumjs/ethereumjs-common.git"
@@ -51,6 +56,7 @@
5156
"@types/node": "^10.12.2",
5257
"@types/tape": "^4.2.33",
5358
"coveralls": "^3.0.1",
59+
"husky": "^2.1.0",
5460
"nyc": "^11.7.1",
5561
"prettier": "^1.15.3",
5662
"tape": "^4.9.2",

0 commit comments

Comments
 (0)