mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
Add favicon and logo generation scripts
- Implemented `generate-favicons.js` to create various favicon formats from a single SVG file. - Created `update-data.js` to scan logo directories, generate PNG and JPG images from SVGs, and update the logos JSON data. - Added a `.gitignore` file in the `flags_gen` directory to exclude all files except the `.gitignore` itself. - Updated `logos.json` to ensure proper formatting.
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
"build": "rollup -c",
|
||||
"dev": "rollup -c -w",
|
||||
"start": "sirv public --host 0.0.0.0 --dev --single",
|
||||
"scan-logos": "node scripts/scanLogos.js",
|
||||
"generate-favicons": "node scripts/generateFavicons.js",
|
||||
"update-data": "node scripts/update-data.js",
|
||||
"generate-favicons": "node scripts/generate-favicons.js",
|
||||
"generate-variants": "node scripts/generate-svg-variants.js",
|
||||
"variants": "npm run generate-variants",
|
||||
"pwa-cache-list": "node scripts/generate-pwa-cache-list.js"
|
||||
|
||||
Reference in New Issue
Block a user