chore: Update npm commands

This commit is contained in:
Mattia Astorino 2017-04-11 09:07:48 +02:00
parent 23619bb7ba
commit 02414dc7b9

View file

@ -22,12 +22,13 @@
"vscode": "^1.11.0" "vscode": "^1.11.0"
}, },
"scripts": { "scripts": {
"start": "npm run remove-icons && npm run minimize-icons && npm run buildicons && npm run minimize-json", "build": "npm run ricons && build-themes",
"icons": "npm run remove-icons && npm run minimize-icons && npm run build-icons && npm run minimize-json",
"minimize-icons": "svgo -f src/icons/svgs -o icons", "minimize-icons": "svgo -f src/icons/svgs -o icons",
"minimize-json": "json-minify .material-theme-icons.tmp > material-theme-icons.json && npm run remove-icons-tmp", "minimize-json": "json-minify .material-theme-icons.tmp > material-theme-icons.json && npm run remove-icons-tmp",
"remove-icons": "rimraf icons && rimraf material-theme-icons.json", "remove-icons": "rimraf icons && rimraf material-theme-icons.json",
"remove-icons-tmp": "rimraf .material-theme-icons.tmp", "remove-icons-tmp": "rimraf .material-theme-icons.tmp",
"buildicons": "gulp build:icons", "build-icons": "gulp build:icons",
"build-themes": "gulp build:themes", "build-themes": "gulp build:themes",
"release": "npm run bump && npm run changelog", "release": "npm run bump && npm run changelog",
"changelog": "gulp changelog", "changelog": "gulp changelog",