mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
40912af36d
The latest update of 'svgo' dependency includes three optimizations on converting path commands, which - improves closing paths and how we determine if to use absolute or relative commands. - round arc or convert to lines based on the geometric sagitta - convert cubic Bézier curves to quadratic Bézier curves where possible Also unifiying npm command to qua standard notation `minify:svg`. Bug: T354875 Change-Id: Ibf59b3435b82602c5355b6f1c9b03920ea2e8eab
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
{
|
|
"name": "MinervaNeue",
|
|
"private": true,
|
|
"scripts": {
|
|
"lint": "npm -s run lint:styles && npm -s run lint:js && npm -s run lint:i18n",
|
|
"lint:fix": "npm -s run lint:styles -- --fix && npm -s run lint:js -- --fix && npm -s run lint:i18",
|
|
"lint:js": "eslint --cache .",
|
|
"lint:styles": "stylelint --cache --report-needless-disables **/*.{css,less}",
|
|
"lint:i18n": "banana-checker --requireLowerCase=0 i18n/",
|
|
"test": "npm run lint && npm run doc && dev-scripts/svg_check.sh",
|
|
"minify:svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
|
|
"doc": "jsdoc -c jsdoc.json",
|
|
"selenium-test-cucumber": "wdio tests/selenium/wdio.conf.cucumber.js",
|
|
"selenium-daily": "npm run selenium-test",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js"
|
|
},
|
|
"devDependencies": {
|
|
"@wdio/cli": "7.30.1",
|
|
"@wdio/cucumber-framework": "7.30.2",
|
|
"@wdio/junit-reporter": "7.29.1",
|
|
"@wdio/local-runner": "7.30.1",
|
|
"@wdio/mocha-framework": "7.26.0",
|
|
"@wdio/spec-reporter": "7.29.1",
|
|
"eslint-config-wikimedia": "0.25.1",
|
|
"grunt-banana-checker": "0.11.0",
|
|
"jsdoc": "3.6.10",
|
|
"jsdoc-wmf-theme": "^0.0.8",
|
|
"mwbot": "2.0.0",
|
|
"pre-commit": "1.2.2",
|
|
"stylelint-config-wikimedia": "0.15.0",
|
|
"svgo": "3.2.0",
|
|
"wdio-mediawiki": "2.1.0"
|
|
}
|
|
}
|