1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-16 21:58:17 +01:00

[ticket/16414] update pkg.json & gulpjs deps

PHPBB3-16414
This commit is contained in:
hanakin 2020-03-24 09:56:53 -10:00
parent eae537ab14
commit 907ed34d51
2 changed files with 43 additions and 14 deletions

View File

@ -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)

View File

@ -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"
},