Files
sLogos/package.json
sHa bd4c8dca76 feat: add color conversion and target/sets configuration for logos
- Updated Makefile to include a new target for converting logo colors format.
- Added a new script `convertColorsFormat.js` to convert colors from array to object format in `logos.json`.
- Modified `logos.json` structure to use an object for colors and added targets and sets for SVG logos.
- Updated `scanLogos.js` to set default colorConfig, targets, and sets for SVG logos.
- Enhanced Svelte components (`Grid.svelte`, `List.svelte`, `Preview.svelte`, `InlineSvg.svelte`) to support new targets, sets, and colors structure.
- Updated color theme utility functions to handle the new colors object format.
- Removed deprecated `mono_white.svg` logo file.
2025-05-12 20:52:07 +03:00

29 lines
866 B
JSON

{
"name": "logo-gallery",
"version": "1.0.0",
"description": "A collection of company and brand logos accessible via GitHub Pages",
"scripts": {
"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",
"convert-colors": "node scripts/convertColorsFormat.js"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"rollup": "^2.3.4",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-svelte": "^7.0.0",
"rollup-plugin-terser": "^7.0.0",
"svelte": "3.59.2"
},
"dependencies": {
"@resvg/resvg-js": "^2.0.1",
"jimp": "^0.22.10",
"sirv-cli": "^1.0.0"
}
}