From 2edf9a280ce3aaf6bf0786ad2cfea6b437032f43 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 17 Nov 2017 09:29:53 +0800 Subject: [PATCH] test: Add hook made. --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index efac3f4559..6f73642137 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,7 @@ "file-loader": "^1.1.5", "fs-extra": "^4.0.2", "html-webpack-plugin": "^2.30.1", + "husky": "^0.14.3", "identity-obj-proxy": "^3.0.0", "jest": "^21.2.1", "less": "^2.3.1", @@ -104,9 +105,6 @@ "lint-staged": { "{src,docs}/**/*.less": "stylelint --syntax less" }, - "pre-commit": [ - "lint-staged" - ], "author": "kenny wang ", "license": "MIT" }