diff --git a/package.json b/package.json index 23a097f3a67b5..837dfa1c1ee52 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "scripts": { "build": "gulp", "test": "standard && gulp test", - "lint": "standard" + "lint": "standard", + "precommit": "npm run lint" }, "dependencies": { "aphrodite": "0.5.0", @@ -52,6 +53,7 @@ "gulp-babel": "6.1.2", "gulp-cached": "1.1.0", "gulp-notify": "2.2.0", + "husky": "^0.11.9", "standard": "^8.4.0", "webpack-stream": "3.2.0" },