|
@@ -91,6 +91,7 @@
|
|
|
"glob": "^7.1.2",
|
|
"glob": "^7.1.2",
|
|
|
"husky": "^1.3.1",
|
|
"husky": "^1.3.1",
|
|
|
"lint-staged": "^7.0.0",
|
|
"lint-staged": "^7.0.0",
|
|
|
|
|
+ "stylelint": "^11.1.1",
|
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
|
"minimatch": "^3.0.4",
|
|
"minimatch": "^3.0.4",
|
|
|
"mrgit": "^1.0.0",
|
|
"mrgit": "^1.0.0",
|
|
@@ -100,6 +101,7 @@
|
|
|
"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",
|
|
|
"svgo": "^1.1.0",
|
|
"svgo": "^1.1.0",
|
|
|
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
"uglifyjs-webpack-plugin": "^1.3.0",
|
|
|
"umberto": "^1.0.0",
|
|
"umberto": "^1.0.0",
|
|
@@ -119,6 +121,7 @@
|
|
|
},
|
|
},
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"lint": "eslint --quiet '**/*.js'",
|
|
"lint": "eslint --quiet '**/*.js'",
|
|
|
|
|
+ "stylelint": "stylelint --quiet '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",
|
|
@@ -143,6 +146,9 @@
|
|
|
"lint-staged": {
|
|
"lint-staged": {
|
|
|
"**/*.js": [
|
|
"**/*.js": [
|
|
|
"eslint --quiet"
|
|
"eslint --quiet"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "**/*.css": [
|
|
|
|
|
+ "stylelint --quiet"
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
"eslintIgnore": [
|
|
"eslintIgnore": [
|