build: Unify on minify:svg command

Also pinning 'svgo' to 3.2.0 in 'package-lock.json' following up to
Ia2e8e947c7d10fa754885c8d917dc0616708fbaf.

Bug: T354875
Change-Id: I583db915f471295160c8637fd950bfda2f03e529
This commit is contained in:
Volker E 2024-01-16 14:28:58 +01:00 committed by VolkerE
parent 5ad5054cd7
commit 23697880e3
2 changed files with 2 additions and 2 deletions

2
package-lock.json generated
View file

@ -20,7 +20,7 @@
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0",
"stylelint-config-wikimedia": "0.16.1",
"svgo": "^3.2.0",
"svgo": "3.2.0",
"wdio-mediawiki": "2.3.0"
}
},

View file

@ -6,7 +6,7 @@
"scripts": {
"test": "grunt test",
"doc": "jsduck",
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder modules/icons/",
"minify:svg": "svgo --config=.svgo.config.js --quiet --recursive --folder modules/icons/",
"selenium-test": "wdio tests/selenium/wdio.conf.js",
"selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily"
},