summaryrefslogtreecommitdiffstats
path: root/package.json
blob: 1207bd1378189c83f3c99b80b78f82524487249d (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
{
  "name": "bootstrap-icons",
  "version": "1.10.2",
  "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"
  },
  "keywords": [
    "bootstrap",
    "icons"
  ],
  "scripts": {
    "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: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:*"
  },
  "style": "font/bootstrap-icons.css",
  "sass": "font/bootstrap-icons.scss",
  "devDependencies": {
    "autoprefixer": "^10.4.13",
    "bootstrap": "5.2.2",
    "cross-env": "^7.0.3",
    "eslint": "^8.27.0",
    "fantasticon": "^1.2.3",
    "find-unused-sass-variables": "^4.0.4",
    "hugo-bin": "^0.93.0",
    "lockfile-lint": "^4.9.6",
    "npm-run-all": "^4.1.5",
    "picocolors": "^1.0.0",
    "postcss": "^8.4.19",
    "postcss-cli": "^10.0.0",
    "purgecss": "^5.0.0",
    "stylelint": "^14.15.0",
    "stylelint-config-twbs-bootstrap": "^7.0.0",
    "svg-sprite": "^2.0.2",
    "svgo": "^2.8.0",
    "vnu-jar": "22.9.29"
  },
  "files": [
    "icons/*.svg",
    "bootstrap-icons.svg",
    "font",
    "!.DS_Store"
  ],
  "hugo-bin": {
    "buildTags": "extended"
  }
}