Merge pull request #5542 from hanakin/ticket/15980

[ticket/15980] update and move all npm dependencies to dev
This commit is contained in:
Marc Alexander 2019-03-11 20:42:53 +01:00 committed by GitHub
commit 7e768d3006
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13637 additions and 58 deletions

View file

@ -3,7 +3,7 @@
"stylelint-order" "stylelint-order"
], ],
"ignoreFiles": [ "ignoreFiles": [
"./phpBB/styles/prosilver/theme/normalize.css", "./phpBB/styles/prosilver/theme/normalize.css"
], ],
"rules": { "rules": {
"at-rule-name-case": "lower", "at-rule-name-case": "lower",
@ -180,21 +180,27 @@
"value-list-comma-newline-before": "never-multi-line", "value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always-single-line", "value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never", "value-list-comma-space-before": "never",
"order/declaration-block-order": [ "order/order": [
"custom-properties", "custom-properties",
"dollar-variables", "dollar-variables",
{ {
"type": "at-rule", "type": "at-rule",
"name": "include" "name": "include",
"parameter": "type"
}, },
"declarations", "declarations",
"rules", "rules",
{
"type": "at-rule",
"name": "include",
"parameter": "fluid"
},
{ {
"type": "at-rule", "type": "at-rule",
"name": "media" "name": "media"
} }
], ],
"order/declaration-block-properties-specified-order": [ "order/properties-order": [
[ [
"font", "font",
"font-family", "font-family",
@ -385,7 +391,7 @@
"animation-direction", "animation-direction",
"pointer-events" "pointer-events"
], ],
{ unspecified: "bottomAlphabetical" } { "unspecified": "bottomAlphabetical" }
] ]
} }
} }

13558
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -6,6 +6,20 @@
"directories": { "directories": {
"doc": "docs" "doc": "docs"
}, },
"xo": {
"rules": {
"quote-props": [
"error",
"always"
]
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jquery": true
}
},
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },
@ -32,12 +46,10 @@
}, },
"homepage": "https://www.phpbb.com", "homepage": "https://www.phpbb.com",
"devDependencies": { "devDependencies": {
"stylelint": "8.0.0", "acorn": "^6.1.1",
"stylelint-order": "0.3.0" "braces": "^2.3.1",
},
"dependencies": {
"del": "^3.0.0", "del": "^3.0.0",
"gulp": "^3.9.1", "gulp": "^4.0.0",
"gulp-autoprefixer": "^4.0.0", "gulp-autoprefixer": "^4.0.0",
"gulp-cssnano": "^2.1.2", "gulp-cssnano": "^2.1.2",
"gulp-postcss": "^7.0.0", "gulp-postcss": "^7.0.0",
@ -47,6 +59,9 @@
"gulp-stylefmt": "^1.1.0", "gulp-stylefmt": "^1.1.0",
"postcss-import": "^11.0.0", "postcss-import": "^11.0.0",
"postcss-pxtorem": "^4.0.1", "postcss-pxtorem": "^4.0.1",
"postcss-sorting": "^3.0.2" "postcss-sorting": "^3.0.2",
"stylelint": "^9.10.1",
"stylelint-order": "^2.0.0",
"xo": "^0.24.0"
} }
} }

View file

@ -20,10 +20,10 @@ blockquote cite:before,
font-variant: normal; font-variant: normal;
line-height: 1; line-height: 1;
display: inline-block; display: inline-block;
/* stylelint-disable order/declaration-block-properties-specified-order */ /* stylelint-disable order/properties-order */
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
/* stylelint-enable order/declaration-block-properties-specified-order */ /* stylelint-enable order/properties-order */
text-rendering: auto; /* optimizelegibility throws things off #1094 */ text-rendering: auto; /* optimizelegibility throws things off #1094 */
} }

View file

@ -49,7 +49,7 @@
position: relative; position: relative;
display: block; display: block;
height: 2px; height: 2px;
margin: 4px -10px -6px -10px; margin: 4px -10px -6px;
} }
.file-progress { .file-progress {