package.json 7.99 KB
Newer Older
Chris Aniszczyk's avatar
Chris Aniszczyk committed
1
{
Mark Otto's avatar
Mark Otto committed
2
  "name": "bootstrap",
Mark Otto's avatar
Mark Otto committed
3
  "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
XhmikosR's avatar
XhmikosR committed
4
  "version": "4.3.1",
Mark Otto's avatar
Mark Otto committed
5
  "version_short": "4.3",
XhmikosR's avatar
XhmikosR committed
6
  "keywords": [
7
    "css",
8
    "sass",
9
10
11
12
13
    "mobile-first",
    "responsive",
    "front-end",
    "framework",
    "web"
XhmikosR's avatar
XhmikosR committed
14
  ],
15
  "homepage": "https://getbootstrap.com/",
16
  "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
17
18
19
  "contributors": [
    "Twitter, Inc."
  ],
XhmikosR's avatar
XhmikosR committed
20
  "scripts": {
XhmikosR's avatar
XhmikosR committed
21
    "start": "npm-run-all --parallel watch docs-serve",
XhmikosR's avatar
XhmikosR committed
22
    "bundlesize": "bundlesize",
23
    "coveralls": "shx cat js/coverage/lcov.info | coveralls",
24
    "css": "npm-run-all css-compile css-prefix css-minify",
25
    "css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/",
26
    "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
XhmikosR's avatar
XhmikosR committed
27
    "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache",
28
29
    "css-lint-vars": "fusv scss/ site/assets/scss/",
    "css-minify": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.min.css dist/css/bootstrap-utilities.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
XhmikosR's avatar
XhmikosR committed
30
31
    "css-prefix": "npm-run-all --parallel css-prefix-*",
    "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
32
    "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
33
34
    "js": "npm-run-all js-compile js-minify",
    "js-compile": "npm-run-all --parallel js-compile-*",
Johann-S's avatar
Johann-S committed
35
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
XhmikosR's avatar
XhmikosR committed
36
    "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap",
Johann-S's avatar
Johann-S committed
37
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
38
    "js-compile-plugins": "node build/build-plugins.js",
39
    "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
40
    "js-minify": "npm-run-all --parallel js-minify-*",
41
    "js-minify-standalone": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
Johann-S's avatar
Johann-S committed
42
    "js-minify-standalone-esm": "terser --compress --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.esm.js.map,includeSources,url=bootstrap.esm.min.js.map\" --output dist/js/bootstrap.esm.min.js dist/js/bootstrap.esm.js",
43
    "js-minify-bundle": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.bundle.js.map,includeSources,url=bootstrap.bundle.min.js.map\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
Johann-S's avatar
Johann-S committed
44
    "js-test": "npm-run-all --parallel js-test-karma js-test-integration",
45
    "js-debug": "cross-env DEBUG=true karma start js/tests/karma.conf.js",
XhmikosR's avatar
XhmikosR committed
46
    "js-test-karma": "karma start js/tests/karma.conf.js",
Johann-S's avatar
Johann-S committed
47
    "js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js && rollup --config js/tests/integration/rollup.bundle-modularity.js",
Johann-S's avatar
Johann-S committed
48
    "js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
Martijn Cuppens's avatar
Martijn Cuppens committed
49
    "lint": "npm-run-all --parallel js-lint css-lint",
50
    "docs": "npm-run-all docs-build docs-lint",
51
52
53
    "docs-build": "hugo --cleanDestinationDir",
    "docs-compile": "npm run docs-build",
    "docs-production": "cross-env HUGO_ENV=production npm run docs-build",
54
55
56
    "docs-linkinator": "linkinator _gh_pages --recurse --silent --skip \"^(?!http://localhost)\"",
    "docs-vnu": "node build/vnu-jar.js",
    "docs-lint": "npm-run-all --parallel docs-vnu docs-linkinator",
XhmikosR's avatar
XhmikosR committed
57
    "docs-serve": "hugo server --port 9001 --disableFastRender",
58
    "docs-serve-only": "serve _gh_pages --listen 9001",
59
    "update-deps": "ncu -a -x karma-browserstack-launcher && npm update && shx echo Manually update site/assets/js/vendor",
60
    "release": "npm-run-all dist release-sri release-zip docs-production",
61
    "release-sri": "node build/generate-sri.js",
Bardi Harborow's avatar
Bardi Harborow committed
62
    "release-version": "node build/change-version.js",
63
    "release-zip": "cross-env-shell \"shx rm -rf bootstrap-$npm_package_version-dist && shx cp -r dist/ bootstrap-$npm_package_version-dist && zip -r9 bootstrap-$npm_package_version-dist.zip bootstrap-$npm_package_version-dist && shx rm -rf bootstrap-$npm_package_version-dist\"",
XhmikosR's avatar
XhmikosR committed
64
    "dist": "npm-run-all --parallel css js",
XhmikosR's avatar
XhmikosR committed
65
    "test": "npm-run-all lint dist js-test docs-build docs-lint",
66
    "netlify": "npm-run-all dist release-sri docs-production",
XhmikosR's avatar
XhmikosR committed
67
    "watch": "npm-run-all --parallel watch-*",
68
69
70
71
    "watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix\"",
    "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
    "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
    "watch-js-docs": "nodemon --watch site/assets/js/src/ --ext js --exec \"npm run js-lint\""
XhmikosR's avatar
XhmikosR committed
72
  },
73
  "style": "dist/css/bootstrap.css",
74
  "sass": "scss/bootstrap.scss",
Johann-S's avatar
Johann-S committed
75
76
  "main": "dist/js/bootstrap.js",
  "module": "dist/js/bootstrap.esm.js",
Mark Otto's avatar
Mark Otto committed
77
  "repository": {
78
    "type": "git",
79
    "url": "git+https://github.com/twbs/bootstrap.git"
Mark Otto's avatar
Mark Otto committed
80
81
  },
  "bugs": {
82
    "url": "https://github.com/twbs/bootstrap/issues"
Mark Otto's avatar
Mark Otto committed
83
  },
84
  "license": "MIT",
XhmikosR's avatar
XhmikosR committed
85
  "dependencies": {},
86
  "peerDependencies": {
87
    "popper.js": "^1.16.0"
88
  },
Mark Otto's avatar
Mark Otto committed
89
  "devDependencies": {
XhmikosR's avatar
XhmikosR committed
90
91
    "@babel/cli": "^7.6.4",
    "@babel/core": "^7.6.4",
XhmikosR's avatar
XhmikosR committed
92
    "@babel/plugin-proposal-object-rest-spread": "^7.6.2",
XhmikosR's avatar
XhmikosR committed
93
    "@babel/preset-env": "^7.6.3",
XhmikosR's avatar
XhmikosR committed
94
    "autoprefixer": "^9.6.4",
XhmikosR's avatar
XhmikosR committed
95
    "babel-eslint": "^10.0.3",
XhmikosR's avatar
XhmikosR committed
96
    "babel-plugin-istanbul": "^5.2.0",
97
    "bundlesize": "^0.18.0",
XhmikosR's avatar
XhmikosR committed
98
    "clean-css-cli": "^4.3.0",
XhmikosR's avatar
XhmikosR committed
99
    "coveralls": "^3.0.7",
XhmikosR's avatar
XhmikosR committed
100
101
102
    "cross-env": "^6.0.3",
    "eslint": "^6.5.1",
    "eslint-config-xo": "^0.27.1",
XhmikosR's avatar
XhmikosR committed
103
    "eslint-plugin-import": "^2.18.2",
XhmikosR's avatar
XhmikosR committed
104
    "eslint-plugin-unicorn": "^12.1.0",
XhmikosR's avatar
XhmikosR committed
105
    "find-unused-sass-variables": "^0.6.0",
XhmikosR's avatar
XhmikosR committed
106
    "glob": "^7.1.4",
107
    "hammer-simulator": "0.0.1",
108
    "hugo-bin": "^0.47.0",
109
    "ip": "^1.1.5",
XhmikosR's avatar
XhmikosR committed
110
    "jasmine-core": "^3.5.0",
XhmikosR's avatar
XhmikosR committed
111
    "karma": "^4.3.0",
112
    "karma-browserstack-launcher": "1.4.0",
XhmikosR's avatar
XhmikosR committed
113
    "karma-chrome-launcher": "^3.1.0",
XhmikosR's avatar
XhmikosR committed
114
    "karma-coverage-istanbul-reporter": "^2.1.0",
XhmikosR's avatar
XhmikosR committed
115
    "karma-detect-browsers": "^2.3.3",
XhmikosR's avatar
XhmikosR committed
116
    "karma-firefox-launcher": "^1.2.0",
Johann-S's avatar
Johann-S committed
117
118
    "karma-jasmine": "^2.0.1",
    "karma-jasmine-html-reporter": "^1.4.2",
XhmikosR's avatar
XhmikosR committed
119
    "karma-rollup-preprocessor": "^7.0.2",
XhmikosR's avatar
XhmikosR committed
120
    "linkinator": "^1.6.0",
XhmikosR's avatar
XhmikosR committed
121
    "node-sass": "^4.12.0",
XhmikosR's avatar
XhmikosR committed
122
    "nodemon": "^1.19.3",
XhmikosR's avatar
XhmikosR committed
123
    "npm-run-all": "^4.1.5",
124
    "popper.js": "^1.16.0",
XhmikosR's avatar
XhmikosR committed
125
    "postcss-cli": "^6.1.3",
XhmikosR's avatar
XhmikosR committed
126
    "rollup": "^1.23.1",
XhmikosR's avatar
XhmikosR committed
127
    "rollup-plugin-babel": "^4.3.3",
Johann-S's avatar
Johann-S committed
128
    "rollup-plugin-commonjs": "^10.1.0",
Johann-S's avatar
Johann-S committed
129
    "rollup-plugin-istanbul": "^2.0.1",
XhmikosR's avatar
XhmikosR committed
130
    "rollup-plugin-node-resolve": "^5.2.0",
XhmikosR's avatar
XhmikosR committed
131
    "serve": "^11.2.0",
XhmikosR's avatar
XhmikosR committed
132
    "shelljs": "^0.8.3",
XhmikosR's avatar
XhmikosR committed
133
    "shx": "^0.3.2",
XhmikosR's avatar
XhmikosR committed
134
    "stylelint": "^11.1.1",
XhmikosR's avatar
XhmikosR committed
135
    "stylelint-config-twbs-bootstrap": "^0.6.0",
XhmikosR's avatar
XhmikosR committed
136
    "terser": "^4.3.8",
XhmikosR's avatar
XhmikosR committed
137
    "vnu-jar": "19.9.4"
Mark Otto's avatar
Mark Otto committed
138
  },
XhmikosR's avatar
XhmikosR committed
139
  "engines": {
140
    "node": ">=10"
XhmikosR's avatar
XhmikosR committed
141
  },
142
  "files": [
143
    "dist/{css,js}/*.{css,js,map}",
XhmikosR's avatar
XhmikosR committed
144
    "js/{src,dist}/**/*.{js,map}",
145
    "scss/**/*.scss"
146
  ],
147
148
149
  "hugo-bin": {
    "buildTags": "extended"
  },
Mark Otto's avatar
Mark Otto committed
150
  "jspm": {
vsn4ik's avatar
vsn4ik committed
151
    "registry": "npm",
Mark Otto's avatar
Mark Otto committed
152
    "main": "js/bootstrap",
153
154
155
    "directories": {
      "lib": "dist"
    },
Mark Otto's avatar
Mark Otto committed
156
157
    "shim": {
      "js/bootstrap": {
XhmikosR's avatar
XhmikosR committed
158
        "deps": [
159
          "popper.js"
160
        ]
Mark Otto's avatar
Mark Otto committed
161
162
      }
    },
163
164
    "dependencies": {},
    "peerDependencies": {
165
      "popper.js": "^1.16.0"
166
    }
167
  }
168
}