mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 06:08:19 +01:00
[ticket/16414] update pkg.json & gulpjs deps
PHPBB3-16414
This commit is contained in:
parent
eae537ab14
commit
907ed34d51
@ -19,15 +19,10 @@ const build = {
|
||||
css: './phpBB/styles/prosilver/theme/',
|
||||
};
|
||||
|
||||
const AUTOPREFIXER_BROWSERS = [
|
||||
'> 1%',
|
||||
'last 2 versions'
|
||||
];
|
||||
|
||||
gulp.task('css', () => {
|
||||
const css = gulp
|
||||
.src(build.css + '*.css')
|
||||
.pipe(autoprefixer(AUTOPREFIXER_BROWSERS))
|
||||
.pipe(autoprefixer())
|
||||
.pipe(
|
||||
postcss([
|
||||
sorting(sortOrder)
|
||||
|
50
package.json
50
package.json
@ -8,18 +8,52 @@
|
||||
},
|
||||
"xo": {
|
||||
"rules": {
|
||||
"quote-props": [
|
||||
"quotes": [
|
||||
"error",
|
||||
"single"
|
||||
],
|
||||
"comma-dangle": [
|
||||
"error",
|
||||
"always-multiline"
|
||||
],
|
||||
"max-params": [
|
||||
"error",
|
||||
6
|
||||
],
|
||||
"block-spacing": "error",
|
||||
"array-bracket-spacing": [
|
||||
"error",
|
||||
"always"
|
||||
]
|
||||
],
|
||||
"multiline-comment-style": "off",
|
||||
"computed-property-spacing": "off",
|
||||
"space-in-parens": "off",
|
||||
"capitalized-comments": "off",
|
||||
"object-curly-spacing": [
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"no-lonely-if": "off"
|
||||
},
|
||||
"env": {
|
||||
"es6": true,
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"jquery": true
|
||||
}
|
||||
"env": [
|
||||
"es6",
|
||||
"browser",
|
||||
"node",
|
||||
"jquery"
|
||||
]
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"not ie 11",
|
||||
"not samsung 10.1",
|
||||
"not and_uc 12.12",
|
||||
"not op_mini all",
|
||||
"edge >= 18",
|
||||
"ff >= 72",
|
||||
"chrome >= 79",
|
||||
"safari >= 13",
|
||||
"ios >= 12.4"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user