bootstrap-icons

v1.8.1
Official open source SVG icon library for Bootstrap
bootstrap icons

start

npm run docs-serve

docs-serve

hugo server --port 4000 --disableFastRender

docs-build

hugo --cleanDestinationDir

docs-purge

npm run docs-build && purgecss --css docs/static/assets/css/bootstrap.min.css --content "_site/**/*.html" "_site/assets/js/**/*.js" --keyframes --output docs/static/assets/css/

pages

node build/build-pages.js

icons

npm-run-all icons-main --aggregate-output --parallel icons-sprite icons-font

icons-main

node build/build-svgs.js

icons-zip

cross-env-shell "rm -rf bootstrap-icons-$npm_package_version && cp -r icons/ bootstrap-icons-$npm_package_version && cp bootstrap-icons.svg bootstrap-icons-$npm_package_version && cp -r font/ bootstrap-icons-$npm_package_version && zip -r9 bootstrap-icons-$npm_package_version.zip bootstrap-icons-$npm_package_version && rm -rf bootstrap-icons-$npm_package_version"

icons-sprite

svg-sprite --config svg-sprite.json --log=info icons/*.svg

icons-font

fantasticon

release

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

test:linkinator

linkinator _site --recurse --silent --skip "^(?!http://localhost)"

test:lockfile-lint

lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json

test:vnu

node build/vnu-jar.js

test

npm-run-all docs-build --parallel --aggregate-output --continue-on-error test:*

Metadata

  • MIT
  • >=10
  • mdo
  • released 2/8/2022

Downloads