mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-27 16:20:12 +00:00
b4daae5ba2
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: I099da9abda686371acea3207a6121cfe0aa5b937
17 lines
357 B
JSON
17 lines
357 B
JSON
{
|
|
"name": "Thanks",
|
|
"private": true,
|
|
"scripts": {
|
|
"minify:svg": "svgo --config=.svgo.config.js --quiet --folder modules/",
|
|
"test": "grunt test"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-config-wikimedia": "0.26.0",
|
|
"grunt": "1.6.1",
|
|
"grunt-banana-checker": "0.11.1",
|
|
"grunt-contrib-watch": "1.1.0",
|
|
"grunt-eslint": "24.3.0",
|
|
"svgo": "3.2.0"
|
|
}
|
|
}
|