Skip to content

Commit

Permalink
chore: use inkscape to convert svgs, leaflet-fullscreen to deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Jan 19, 2024
1 parent 6f20dd1 commit f531050
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 259 deletions.
258 changes: 3 additions & 255 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "git+https://github.com/nobkd/replace-maps.git"
},
"scripts": {
"icons": "svgexport icons/icon.svg public/icons/48.png 48:48 && svgexport icons/icon-grey.svg public/icons/48-grey.png 48:48 && svgexport icons/icon.svg public/icons/96.png 96:96 && svgexport icons/icon-grey.svg public/icons/96-grey.png 96:96",
"icons": "inkscape -w 48 -h 48 icons/icon.svg -o public/icons/48.png && inkscape -w 48 -h 48 icons/icon-grey.svg -o public/icons/48-grey.png && inkscape -w 96 -h 96 icons/icon.svg -o public/icons/96.png && inkscape -w 96 -h 96 icons/icon-grey.svg -o public/icons/96-grey.png",
"format": "prettier . --check",
"format:fix": "npm run format -- --write",
"test": "vitest run",
Expand All @@ -35,12 +35,10 @@
"@types/leaflet-fullscreen": "^1.0.9",
"@types/webextension-polyfill": "^0.10.7",
"@vitest/coverage-v8": "^1.2.1",
"leaflet-fullscreen": "^1.0.2",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.4",
"release-it": "^17.0.1",
"release-it-changelogen": "^0.1.0",
"svgexport": "^0.4.2",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-static-copy": "^1.0.0",
Expand All @@ -49,7 +47,8 @@
"webextension-polyfill": "^0.10.0"
},
"dependencies": {
"leaflet": "^1.9.4"
"leaflet": "^1.9.4",
"leaflet-fullscreen": "^1.0.2"
},
"release-it": {
"git": {
Expand Down
Binary file modified public/icons/48-grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/96-grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f531050

Please sign in to comment.