mediawiki-extensions-Revisi.../package.json
Volker E df7d5b95ac build: Update 'svgo' to latest v3.2.0 and re-minify SVGs
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: I38ccbfa62ee7afcfb10eee7853b33648863f54ad
2024-01-16 00:17:03 +01:00

27 lines
735 B
JSON

{
"name": "RevisionSlider",
"private": true,
"scripts": {
"minify:svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
"selenium-daily": "npm run selenium-test",
"selenium-test": "wdio tests/selenium/wdio.conf.js",
"test": "grunt test"
},
"devDependencies": {
"@wdio/cli": "7.30.1",
"@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.26.0",
"grunt": "1.6.1",
"grunt-banana-checker": "0.11.0",
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0",
"mwbot": "1.0.10",
"stylelint-config-wikimedia": "0.16.1",
"svgo": "3.2.0",
"wdio-mediawiki": "2.3.0"
}
}