summaryrefslogtreecommitdiffstats
path: root/package.json
blob: 937df93b5c35f72d1e01ed24aaebf727a6d6eabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
  "name": "bootstrap-icons",
  "version": "1.11.3",
  "description": "Official open source SVG icon library for Bootstrap",
  "author": "mdo",
  "license": "MIT",
  "homepage": "https://icons.getbootstrap.com/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/twbs/icons.git"
  },
  "bugs": {
    "url": "https://github.com/twbs/icons/issues"
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/twbs"
    },
    {
      "type": "opencollective",
      "url": "https://opencollective.com/bootstrap"
    }
  ],
  "keywords": [
    "bootstrap",
    "icons",
    "svg",
    "font",
    "sprite",
    "woff",
    "woff2"
  ],
  "style": "font/bootstrap-icons.css",
  "sass": "font/bootstrap-icons.scss",
  "files": [
    "icons/*.svg",
    "bootstrap-icons.svg",
    "font",
    "!.DS_Store"
  ],
  "hugo-bin": {
    "buildTags": "extended"
  },
  "scripts": {
    "start": "npm run docs-serve",
    "docs-serve": "hugo server --port 4000 --disableFastRender",
    "docs-build": "hugo --cleanDestinationDir --printUnusedTemplates",
    "docs-test": "npm-run-all docs-build docs-test:vnu",
    "docs-test:vnu": "node build/vnu-jar.mjs",
    "pages": "node build/build-pages.mjs",
    "icons": "npm-run-all icons-main --aggregate-output --parallel icons-sprite icons-font",
    "icons-main": "node build/build-svgs.mjs",
    "icons-zip": "cross-env-shell \"rm -rf bootstrap-icons-$npm_package_version bootstrap-icons-$npm_package_version.zip && 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 -qr9 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": "npm-run-all icons-font-*",
    "icons-font-main": "fantasticon",
    "icons-font-min": "cleancss -O1 --format breakWith=lf --with-rebase --output font/bootstrap-icons.min.css font/bootstrap-icons.css",
    "release": "npm-run-all icons docs-build icons-zip",
    "release-version": "node build/bump-version.mjs",
    "netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all icons docs-build",
    "test:fusv": "fusv docs/assets/scss/",
    "test:eslint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives --ext .js,.mjs .",
    "test:stylelint": "stylelint docs/assets/scss/ --cache --cache-location .cache/.stylelintcache",
    "test:lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
    "test:check-icons": "node build/check-icons.mjs",
    "test": "npm-run-all --parallel --aggregate-output --continue-on-error test:*"
  },
  "devDependencies": {
    "@twbs/fantasticon": "^2.7.2",
    "autoprefixer": "^10.4.16",
    "bootstrap": "^5.3.2",
    "clean-css-cli": "^5.6.3",
    "clipboard": "^2.0.11",
    "cross-env": "^7.0.3",
    "eslint": "^8.56.0",
    "find-unused-sass-variables": "^5.0.0",
    "fuse.js": "^7.0.0",
    "hugo-bin": "^0.118.0",
    "lockfile-lint": "^4.12.1",
    "npm-run-all2": "^6.1.1",
    "picocolors": "^1.0.0",
    "postcss": "^8.4.32",
    "postcss-cli": "^11.0.0",
    "stylelint": "^16.1.0",
    "stylelint-config-twbs-bootstrap": "^13.0.0",
    "svg-sprite": "^3.0.0-beta3",
    "svgo": "^3.2.0",
    "vnu-jar": "23.4.11"
  }
}