From 25366a5c8907b4e3623c80e2ffc8ecfb817526e9 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Tue, 19 Jan 2016 10:08:27 +0330 Subject: [PATCH] chore: configure ghooks to run grunt pre-commit --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 9309ed8..feb8018 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,11 @@ "version": "1.1.0", "description": "Hapi plugin that automatically generates RESTful API for CRUD", "main": "build/index.js", + "config": { + "ghooks": { + "pre-commit": "grunt" + } + }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" },