|
|
@@ -17,7 +17,6 @@
|
|
|
"@ckeditor/ckeditor5-basic-styles": "^1.0.0-alpha.1",
|
|
|
"@ckeditor/ckeditor5-block-quote": "^1.0.0-alpha.1",
|
|
|
"@ckeditor/ckeditor5-clipboard": "^1.0.0-alpha.1",
|
|
|
- "@ckeditor/ckeditor5-dev-lint": "^3.1.4",
|
|
|
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-alpha.1",
|
|
|
"@ckeditor/ckeditor5-enter": "^1.0.0-alpha.1",
|
|
|
"@ckeditor/ckeditor5-heading": "^1.0.0-alpha.1",
|
|
|
@@ -25,8 +24,8 @@
|
|
|
"@ckeditor/ckeditor5-typing": "^1.0.0-alpha.1",
|
|
|
"@ckeditor/ckeditor5-undo": "^1.0.0-alpha.1",
|
|
|
"eslint-config-ckeditor5": "^1.0.6",
|
|
|
- "gulp": "^3.9.1",
|
|
|
- "guppy-pre-commit": "^0.4.0"
|
|
|
+ "husky": "^0.14.3",
|
|
|
+ "lint-staged": "^4.2.3"
|
|
|
},
|
|
|
"engines": {
|
|
|
"node": ">=6.0.0",
|
|
|
@@ -44,5 +43,14 @@
|
|
|
"lang",
|
|
|
"src",
|
|
|
"theme"
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ "scripts": {
|
|
|
+ "lint": "eslint --quiet '**/*.js'",
|
|
|
+ "precommit": "lint-staged"
|
|
|
+ },
|
|
|
+ "lint-staged": {
|
|
|
+ "**/*.js": [
|
|
|
+ "eslint --quiet"
|
|
|
+ ]
|
|
|
+ }
|
|
|
}
|