chore: Fix builder (wip)

This commit is contained in:
Mattia Astorino 2018-02-11 14:19:32 +01:00
parent 81399a5a4f
commit 0eeb5ea500
No known key found for this signature in database
GPG key ID: 7BE552533AB6D4E2
2 changed files with 7 additions and 7 deletions

View file

@ -25,12 +25,12 @@
"vscode": "^1.19.0" "vscode": "^1.19.0"
}, },
"scripts": { "scripts": {
"build": "npm run build-icons && npm run build-themes && npm run build-icons-accents && npm run build-icons-variants", "build": "yarn build-icons && yarn build-themes && yarn build-icons-accents && yarn build-icons-variants",
"minimize-icons": "svgo -f src/icons/svgs", "minimize-icons": "svgo -f src/icons/svgs -o icons/",
"minimize-json": "json-minify themes/.material-theme-icons.tmp > themes/Material-Theme-Icons.json && npm run remove-icons-tmp", "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", "remove-icons-tmp": "rimraf themes/.material-theme-icons.tmp",
"build-icons": "npm run remove-icons && npm run minimize-icons && yarn gulp build:icons && npm run minimize-json", "build-icons": "yarn remove-icons && yarn minimize-icons && yarn gulp build:icons && yarn minimize-json",
"build-icons-accents": "yarn gulp build:icons.accents", "build-icons-accents": "yarn gulp build:icons.accents",
"build-icons-variants": "yarn gulp build:icons.variants", "build-icons-variants": "yarn gulp build:icons.variants",
"build-themes": "yarn gulp build:themes", "build-themes": "yarn gulp build:themes",
@ -71,7 +71,7 @@
"themes": [ "themes": [
{ {
"label": "Material Theme", "label": "Material Theme",
"path": "./themes/Material-Theme-Darker.json", "path": "./themes/Material-Theme-Palenight.json",
"uiTheme": "vs-dark" "uiTheme": "vs-dark"
} }
], ],
@ -136,4 +136,4 @@
"url": "https://opencollective.com/vsc-material-theme", "url": "https://opencollective.com/vsc-material-theme",
"logo": "https://opencollective.com/opencollective/logo.txt" "logo": "https://opencollective.com/opencollective/logo.txt"
} }
} }

Binary file not shown.