|
@@ -101,6 +101,8 @@
|
|
|
"react": "^16.9.0",
|
|
"react": "^16.9.0",
|
|
|
"react-dom": "^16.9.0",
|
|
"react-dom": "^16.9.0",
|
|
|
"style-loader": "^1.0.0",
|
|
"style-loader": "^1.0.0",
|
|
|
|
|
+ "stylelint": "^11.1.1",
|
|
|
|
|
+ "stylelint-config-ckeditor5": "^1.0.0",
|
|
|
"svgo": "^1.1.0",
|
|
"svgo": "^1.1.0",
|
|
|
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
|
"umberto": "^1.2.0",
|
|
"umberto": "^1.2.0",
|
|
@@ -120,6 +122,7 @@
|
|
|
},
|
|
},
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"lint": "eslint --quiet '**/*.js'",
|
|
"lint": "eslint --quiet '**/*.js'",
|
|
|
|
|
+ "stylelint": "stylelint --quiet --allow-empty-input 'packages/**/*.css' 'docs/**/*.css'",
|
|
|
"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": "mrgit sync && yarn install",
|
|
"bootstrap": "mrgit sync && yarn install",
|
|
@@ -144,6 +147,9 @@
|
|
|
"lint-staged": {
|
|
"lint-staged": {
|
|
|
"**/*.js": [
|
|
"**/*.js": [
|
|
|
"eslint --quiet"
|
|
"eslint --quiet"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "**/*.css": [
|
|
|
|
|
+ "stylelint --quiet --allow-empty-input"
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
"eslintIgnore": [
|
|
"eslintIgnore": [
|