Added pre-git scripts

This commit is contained in:
2016-06-08 11:20:39 +02:00
parent 4ac751b279
commit aae9c8a497
+18 -3
View File
@@ -16,9 +16,11 @@
"description": "Simplified SMPP implementation",
"devDependencies": {
"coveralls": "^2.11.9",
"eslint": "^2.11.1",
"istanbul": "^0.4.3",
"mocha": "^2.4.5",
"portfinder": "^1.0.3"
"mocha": "^2.5.3",
"portfinder": "^1.0.3",
"pre-git": "^3.8.4"
},
"keywords": [
"smpp",
@@ -41,5 +43,18 @@
"cover": "istanbul cover _mocha",
"test": "mocha"
},
"license": "MIT"
"license": "MIT",
"config": {
"pre-git": {
"commit-msg": "",
"pre-commit": [
'eslint ./',
'mocha'
],
"pre-push": [],
"post-commit": [],
"post-checkout": [],
"post-merge": []
}
}
}