mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
chore: add SVGO and config, optimize SVG assets
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
"stylelint": "^17.3.0",
|
||||
"stylelint-config-standard-scss": "^17.0.0",
|
||||
"stylelint-scss": "^7.0.0",
|
||||
"svgo": "^4.0.1",
|
||||
"tsx": "^4.20.6",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
@@ -43,6 +44,7 @@
|
||||
"check-format": "oxfmt --check",
|
||||
"lint": "oxlint --type-aware --tsconfig=ui/tsconfig.base.json && stylelint \"**/*.scss\"",
|
||||
"lint:fix": "oxlint --type-aware --tsconfig=ui/tsconfig.base.json --fix && stylelint \"**/*.scss\" --fix",
|
||||
"assets:optimize": "svgo -rf ./public/ ./public/",
|
||||
"test": "node ui/test",
|
||||
"journal": "journalctl --user -fu lila -o cat",
|
||||
"metals": "tail -F .metals/metals.log | stdbuf -oL cut -c 21- | rg -v '(notification for request|handleCancellation)'",
|
||||
|
||||
Reference in New Issue
Block a user