diff --git a/package.json b/package.json index 922fd78..e56e22c 100644 --- a/package.json +++ b/package.json @@ -29,9 +29,9 @@ }, "scripts": { "build": "yarn build-icons && yarn build-themes && yarn build-icons-accents && yarn build-icons-variants", - "minimize-icons": "svgo -f src/icons/svgs -o icons/", + "minimize-icons": "mkdir icons && svgo -f src/icons/svgs -o icons/", "minimize-json": "json-minify themes/.material-theme-icons.tmp > themes/Material-Theme-Icons.json && yarn remove-icons-tmp", - "remove-icons": "rimraf icons/* && rimraf themes/Material-Theme-Icons.json", + "remove-icons": "rimraf icons && rimraf themes/Material-Theme-Icons.json", "remove-icons-tmp": "rimraf themes/.material-theme-icons.tmp", "build-icons": "yarn remove-icons && yarn minimize-icons && yarn gulp build:icons && yarn minimize-json", "build-icons-accents": "yarn gulp build:icons.accents",