diff --git a/package.json b/package.json index a43b2a35dd7b..80be5db55129 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "grunt-contrib-watch": "~0.5.3", "grunt-mocha": "~0.4.10", "http-proxy": "~1.1.4", + "husky": "^0.6.0", "istanbul": "~0.2.4", "load-grunt-config": "~0.7.0", "lodash": "~2.4.1", @@ -31,7 +32,8 @@ }, "scripts": { "test": "grunt test", - "server": "grunt server" + "server": "grunt server", + "precommit": "grunt jshint" }, "repository": { "type": "git",