From 2d06eb5958c7b39aa3ec703ec2f51dabf382dfd9 Mon Sep 17 00:00:00 2001 From: Dan Zajdband Date: Sun, 16 Oct 2016 20:52:12 -0400 Subject: [PATCH] Added husky for linting on precommit (#29) --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 23a097f3..837dfa1c 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" },