Force npm test to be successful before committing.
This commit is contained in:
parent
e004ba63f8
commit
7941a24d51
@ -31,6 +31,7 @@
|
|||||||
"chai": "*",
|
"chai": "*",
|
||||||
"dirty-chai": "^1.2.0",
|
"dirty-chai": "^1.2.0",
|
||||||
"event-to-promise": "^0.3.2",
|
"event-to-promise": "^0.3.2",
|
||||||
|
"ghooks": "^0.3.2",
|
||||||
"mocha": "*",
|
"mocha": "*",
|
||||||
"sinon": "^1.14.1",
|
"sinon": "^1.14.1",
|
||||||
"source-map-support": "*",
|
"source-map-support": "*",
|
||||||
@ -47,5 +48,10 @@
|
|||||||
"ignore": [
|
"ignore": [
|
||||||
"dist/**"
|
"dist/**"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"ghooks": {
|
||||||
|
"pre-commit": "npm test"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user