chore: configure ghooks to run grunt pre-commit

This commit is contained in:
Mahdi Dibaiee 2016-01-19 10:08:27 +03:30
parent 61060551b7
commit 25366a5c89

View File

@ -3,6 +3,11 @@
"version": "1.1.0", "version": "1.1.0",
"description": "Hapi plugin that automatically generates RESTful API for CRUD", "description": "Hapi plugin that automatically generates RESTful API for CRUD",
"main": "build/index.js", "main": "build/index.js",
"config": {
"ghooks": {
"pre-commit": "grunt"
}
},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },