chore: configure ghooks to run grunt pre-commit
This commit is contained in:
parent
61060551b7
commit
25366a5c89
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user