summaryrefslogtreecommitdiffstats
path: root/package.json
blob: 0bac95cf05f630ae877cd78a9068e5bfcabc6836 (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.9.1",
  "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.7",
    "bootstrap": "5.2.0-beta1",
    "cross-env": "^7.0.3",
    "eslint": "^8.19.0",
    "fantasticon": "^1.2.3",
    "find-unused-sass-variables": "^4.0.4",
    "hugo-bin": "^0.89.0",
    "lockfile-lint": "^4.7.6",
    "npm-run-all": "^4.1.5",
    "picocolors": "^1.0.0",
    "postcss": "^8.4.14",
    "postcss-cli": "^10.0.0",
    "purgecss": "^4.1.3",
    "stylelint": "^14.9.1",
    "stylelint-config-twbs-bootstrap": "^4.0.0",
    "svg-sprite": "^2.0.0-beta7",
    "svgo": "^2.8.0",
    "vnu-jar": "21.10.12"
  },
  "files": [
    "icons/*.svg",
    "bootstrap-icons.svg",
    "font",
    "!.DS_Store"
  ],
  "hugo-bin": {
    "buildTags": "extended"
  }
}