Also minify the SVGs in the originals directory

This commit is contained in:
Sindre Sorhus 2018-09-17 13:48:00 +07:00
parent 00cf9194fc
commit 849ab29ea9

View File

@ -5,10 +5,6 @@
"license": "CC0-1.0",
"repository": "atomiclabs/cryptocurrency-icons",
"homepage": "http://cryptoicons.co",
"author": {
"name": "Christopher Downer",
"url": "https://github.com/cjdowner"
},
"files": [
"32",
"32@2x",
@ -43,14 +39,15 @@
"scripts": {
"test": "xo",
"manifest": "node scripts/manifest.js",
"clean": "svgo svg/**/*.svg --disable=removeViewBox"
"clean": "svgo $(globby {svg,originals}/**/*.svg) --disable=removeViewBox"
},
"devDependencies": {
"alpha-sort": "^2.0.1",
"coinlist": "^3.0.0",
"globby-cli": "^1.0.1",
"husky": "^1.0.0-rc.13",
"svgo": "1.0.5",
"xo": "^0.22.0"
"svgo": "^1.1.0",
"xo": "^0.23.0"
},
"husky": {
"hooks": {