|
@@ -74,7 +74,7 @@
|
|
|
"eslint": "^5.5.0",
|
|
"eslint": "^5.5.0",
|
|
|
"eslint-config-ckeditor5": "^1.0.9",
|
|
"eslint-config-ckeditor5": "^1.0.9",
|
|
|
"glob": "^7.1.2",
|
|
"glob": "^7.1.2",
|
|
|
- "husky": "^0.14.3",
|
|
|
|
|
|
|
+ "husky": "^1.3.1",
|
|
|
"lint-staged": "^7.0.0",
|
|
"lint-staged": "^7.0.0",
|
|
|
"mgit2": "^0.10.0",
|
|
"mgit2": "^0.10.0",
|
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
@@ -101,7 +101,6 @@
|
|
|
},
|
|
},
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"lint": "eslint --quiet '**/*.js'",
|
|
"lint": "eslint --quiet '**/*.js'",
|
|
|
- "precommit": "lint-staged",
|
|
|
|
|
"test": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js",
|
|
"test": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js",
|
|
|
"manual": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test-manual.js",
|
|
"manual": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test-manual.js",
|
|
|
"bootstrap": "mgit sync && yarn install",
|
|
"bootstrap": "mgit sync && yarn install",
|
|
@@ -139,5 +138,10 @@
|
|
|
"nohoist": [
|
|
"nohoist": [
|
|
|
"**/husky"
|
|
"**/husky"
|
|
|
]
|
|
]
|
|
|
|
|
+ },
|
|
|
|
|
+ "husky": {
|
|
|
|
|
+ "hooks": {
|
|
|
|
|
+ "pre-commit": "lint-staged"
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|