Update package.json
Showing
... | @@ -8,9 +8,11 @@ | ... | @@ -8,9 +8,11 @@ |
}, | }, | ||
"scripts": { | "scripts": { | ||
"Xstart": "parallelshell 'jekyll serve' 'npm run watch'", | "Xstart": "parallelshell 'jekyll serve' 'npm run watch'", | ||
"Xwatch": "onchange 'icons/**/*' -v -- npm run build:icons", | "Xwatch": "onchange 'icons/**/*' -v -- npm run svgo -- {{changed}}", | ||
"build": "npm run build:zip && jekyll build", | "svgo": "for i in $(find icons/* -type d); do svgo --pretty --multipass --config=svgo-config.yml $i; done", | ||
"build:zip": "./bin/build-zip.sh" | "Xsvgo": "svgo --pretty --multipass --config=svgo-config.yml", | ||
"build": "npm run build-zip && jekyll build", | |||
"build-zip": "./bin/build-zip.sh" | |||
}, | }, | ||
"license": "MIT", | "license": "MIT", | ||
"devDependencies": { | "devDependencies": { | ||
... | ... |
Please register or sign in to comment