Skip to content

Commit

Permalink
npm scripts: move icons-sprite to icons script
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Sep 28, 2020
1 parent 5f71c8f commit 9ca0d8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
"docs-build": "hugo --cleanDestinationDir",
"docs-purge": "npm run docs-build && purgecss --css docs/static/assets/css/bootstrap.min.css --content \"_site/**/*.html\" --output docs/static/assets/css/",
"pages": "node build/build-pages.js",
"icons": "node build/build-svgs.js",
"icons": "node build/build-svgs.js && npm run icons-sprite",
"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": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all icons icons-sprite docs-purge docs-build",
"publish": "npm-run-all icons docs-build icons-zip",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all icons docs-purge docs-build",
"test:fusv": "fusv docs/assets/scss/",
"test:eslint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives .",
"test:stylelint": "stylelint docs/assets/scss/ --cache --cache-location node_modules/.cache/.stylelintcache --rd",
Expand Down

0 comments on commit 9ca0d8b

Please sign in to comment.