fix(build): first build icons folder (#161)
* fix(build): first build icons folder Creating using mkdir (Windows should work) * chore(script): fixing script for deletion
This commit is contained in:
parent
ba13023005
commit
761f426200
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue