diff --git a/package.json b/package.json index 49b487f..371c3d0 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@ckeditor/ckeditor5-paragraph": "^10.0.4", "eslint": "^5.5.0", "eslint-config-ckeditor5": "^1.0.9", - "husky": "^0.14.3", + "husky": "^1.3.1", "lint-staged": "^7.0.0" }, "engines": { @@ -40,8 +40,7 @@ "theme" ], "scripts": { - "lint": "eslint --quiet '**/*.js'", - "precommit": "lint-staged" + "lint": "eslint --quiet '**/*.js'" }, "lint-staged": { "**/*.js": [ @@ -51,5 +50,10 @@ "eslintIgnore": [ "src/lib/**", "packages/**" - ] + ], + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + } }