Files
mediawiki-extensions-Univer…/package.json
Volker E e094773671 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: I0c712a4cec011ddda3a55caf4ecf493e1e00f3c8
2024-01-16 14:54:33 +01:00

27 lines
669 B
JSON

{
"name": "UniversalLanguageSelector",
"private": true,
"scripts": {
"build-lib": "./scripts/build.sh",
"minify:svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/images/",
"test": "grunt test"
},
"devDependencies": {
"@wikimedia/codex-design-tokens": "0.11.0",
"eslint-config-wikimedia": "0.25.1",
"grunt": "1.6.1",
"grunt-banana-checker": "0.11.0",
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0",
"postcss-less": "6.0.0",
"sfnt2woff": "^1.0.1",
"stylelint-config-wikimedia": "0.16.1",
"svgo": "3.2.0"
},
"eslintIgnore": [
"lib/**",
"resources/js/ext.uls.webfonts.repository.js",
"vendor/**"
]
}