Skip to content

Commit

Permalink
Update zip script to include sprite SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 22, 2020
1 parent da8ae46 commit e8b302f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -23,7 +23,7 @@
"docs-purge": "npm run docs-build && npx purgecss --css docs/static/assets/css/bootstrap.min.css --content _site/**/*.html,_site/index.html --output docs/static/assets/css/",
"pages": "node build/build-pages.js",
"icons": "node build/build-svgs.js",
"icons-zip": "cross-env-shell \"shx rm -rf bootstrap-icons-$npm_package_version && shx cp -r icons/ bootstrap-icons-$npm_package_version && zip -r9 bootstrap-icons-$npm_package_version.zip bootstrap-icons-$npm_package_version && shx rm -rf bootstrap-icons-$npm_package_version\"",
"icons-zip": "cross-env-shell \"shx rm -rf bootstrap-icons-$npm_package_version && shx cp -r icons/ bootstrap-icons-$npm_package_version && shx cp bootstrap-icons.svg bootstrap-icons-$npm_package_version && zip -r9 bootstrap-icons-$npm_package_version.zip bootstrap-icons-$npm_package_version && shx rm -rf bootstrap-icons-$npm_package_version\"",
"icons-sprite": "svg-sprite --svg-namespace-classnames false --symbol --symbol-dest . --symbol-sprite bootstrap-icons.svg icons/*.svg",
"publish": "npm-run-all icons icons-sprite docs-build icons-zip",
"netlify": "npm-run-all icons docs-build",
Expand Down

0 comments on commit e8b302f

Please sign in to comment.