build: Update 'svgo' to latest

Also change script name to 'minfiy-svg' to align with other npm 'svgo'
using products and to improve readability for non-native speakers.

Bug: T278656
Change-Id: Ib2a8a251a48ea99c8019d63b4f2586fea4079021
This commit is contained in:
Volker E 2021-04-12 14:08:17 -07:00
parent e637cef2c2
commit 2b5c18d7c9
2 changed files with 2133 additions and 2902 deletions

5031
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@
"selenium-test": "npm -s run test:size",
"doc": "jsdoc -c jsdoc.json && npm run build-storybook",
"build-storybook": "bash dev-scripts/setup-storybook.sh && build-storybook --quiet --loglevel warn -o docs/ui",
"svgmin": "svgo --config=.svgo.config.js -q -r -f resources/",
"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/",
"pre-commit": "[ \"${PRE_COMMIT:-1}\" -eq 0 ] || npm -s t"
},
"pre-commit": "pre-commit",
@ -35,7 +35,7 @@
"node-fetch": "2.6.1",
"pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.10.3",
"svgo": "2.2.2",
"svgo": "2.3.0",
"typescript": "3.8.3",
"vue": "2.6.11"
}