package.json 9.04 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.",
Mark Otto's avatar
Mark Otto committed
4
  "version": "4.0.0-beta.3",
XhmikosR's avatar
XhmikosR committed
5
  "keywords": [
6
    "css",
7
    "sass",
8
9
10
11
12
    "mobile-first",
    "responsive",
    "front-end",
    "framework",
    "web"
XhmikosR's avatar
XhmikosR committed
13
  ],
14
  "homepage": "https://getbootstrap.com",
15
  "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)",
16
17
18
  "contributors": [
    "Twitter, Inc."
  ],
XhmikosR's avatar
XhmikosR committed
19
  "scripts": {
XhmikosR's avatar
XhmikosR committed
20
    "bundlesize": "bundlesize",
XhmikosR's avatar
XhmikosR committed
21
22
23
    "css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*",
    "css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify",
    "css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs",
XhmikosR's avatar
XhmikosR committed
24
25
    "css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css",
    "css-compile-docs": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 assets/scss/docs.scss assets/css/docs.min.css",
XhmikosR's avatar
XhmikosR committed
26
    "css-lint": "stylelint --config build/.stylelintrc --syntax scss \"scss/**/*.scss\"",
XhmikosR's avatar
XhmikosR committed
27
    "css-lint-docs": "stylelint --config build/.stylelintrc --syntax scss \"assets/scss/*.scss\" && stylelint --config docs/4.0/examples/.stylelintrc \"docs/**/*.css\"",
28
    "css-lint-vars": "node build/lint-vars.js scss/ assets/scss/",
29
    "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
30
    "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"assets/css/docs.min.css\" \"docs/**/*.css\"",
XhmikosR's avatar
XhmikosR committed
31
32
    "css-minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
    "css-minify-docs": "cleancss --level 1 --source-map --source-map-inline-sources --output assets/css/docs.min.css assets/css/docs.min.css",
33
    "js": "npm-run-all js-lint* js-compile js-minify",
XhmikosR's avatar
XhmikosR committed
34
    "js-main": "npm-run-all js-lint js-compile js-minify",
Bardi Harborow's avatar
Bardi Harborow committed
35
    "js-docs": "npm-run-all js-lint-docs js-minify-docs",
XhmikosR's avatar
XhmikosR committed
36
    "js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/",
37
    "js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js",
Bardi Harborow's avatar
Bardi Harborow committed
38
    "js-compile": "npm-run-all --parallel js-compile-*",
Johann-S's avatar
Johann-S committed
39
40
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
41
    "js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps",
XhmikosR's avatar
XhmikosR committed
42
    "js-minify": "npm-run-all --parallel js-minify-*",
43
44
    "js-minify-standalone": "uglifyjs --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",
    "js-minify-bundle": "uglifyjs --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",
45
    "js-minify-docs": "uglifyjs --mangle --comments \"/^!/\" --output assets/js/docs.min.js assets/js/vendor/anchor.min.js assets/js/vendor/clipboard.min.js assets/js/vendor/holder.min.js \"assets/js/src/*.js\"",
XhmikosR's avatar
XhmikosR committed
46
47
48
    "js-test": "npm-run-all --parallel js-test-karma*",
    "js-test-karma": "karma start js/tests/karma.conf.js",
    "js-test-karma-old": "cross-env USE_OLD_JQUERY=true npm run js-test-karma",
49
    "js-test-cloud": "ruby -r webrick -e \"s = WEBrick::HTTPServer.new(:Port => 3000, :DocumentRoot => Dir.pwd, :Logger => WEBrick::Log.new('/dev/null'), :AccessLog => []); trap('INT') { s.shutdown }; s.start\" & node build/saucelabs-unit-test.js",
XhmikosR's avatar
XhmikosR committed
50
    "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
51
52
    "docs-compile": "bundle exec jekyll build",
    "postdocs-compile": "npm run docs-workbox-precache",
53
    "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
54
55
56
    "docs-lint": "npm-run-all docs-lint-*",
    "docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"",
    "docs-lint-vnu-jar": "node build/vnu-jar.js",
XhmikosR's avatar
XhmikosR committed
57
    "docs-serve": "bundle exec jekyll serve",
Bardi Harborow's avatar
Bardi Harborow committed
58
    "docs-upload-preview": "build/upload-preview.sh",
59
    "docs-workbox-precache": "node build/workbox.js",
XhmikosR's avatar
XhmikosR committed
60
    "maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo \"Manually update assets/js/vendor/*, js/tests/vendor/* and .travis.yml\"",
61
    "release-sri": "node build/generate-sri.js",
Bardi Harborow's avatar
Bardi Harborow committed
62
63
    "release-version": "node build/change-version.js",
    "release-zip": "cd dist/ && zip -r9 bootstrap-$npm_package_version-dist.zip * && shx mv bootstrap-$npm_package_version-dist.zip ..",
XhmikosR's avatar
XhmikosR committed
64
    "dist": "npm-run-all --parallel css js",
65
    "test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
66
    "watch": "npm-run-all --parallel watch-css watch-js",
XhmikosR's avatar
XhmikosR committed
67
    "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css\"",
68
    "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\""
XhmikosR's avatar
XhmikosR committed
69
  },
70
  "style": "dist/css/bootstrap.css",
71
  "sass": "scss/bootstrap.scss",
Onoshko Dan's avatar
Onoshko Dan committed
72
  "main": "dist/js/bootstrap",
Mark Otto's avatar
Mark Otto committed
73
  "repository": {
74
    "type": "git",
75
    "url": "git+https://github.com/twbs/bootstrap.git"
Mark Otto's avatar
Mark Otto committed
76
77
  },
  "bugs": {
78
    "url": "https://github.com/twbs/bootstrap/issues"
Mark Otto's avatar
Mark Otto committed
79
  },
80
  "license": "MIT",
XhmikosR's avatar
XhmikosR committed
81
  "dependencies": {},
82
  "peerDependencies": {
83
    "jquery": "1.9.1 - 3",
84
    "popper.js": "^1.12.9"
85
  },
Mark Otto's avatar
Mark Otto committed
86
  "devDependencies": {
87
88
89
90
    "@babel/cli": "7.0.0-beta.35",
    "@babel/core": "7.0.0-beta.35",
    "@babel/preset-env": "7.0.0-beta.35",
    "autoprefixer": "^7.2.3",
91
    "babel-eslint": "^8.0.3",
Bardi Harborow's avatar
Bardi Harborow committed
92
    "babel-plugin-transform-es2015-modules-strip": "^0.1.1",
XhmikosR's avatar
XhmikosR committed
93
94
    "bundlesize": "^0.15.3",
    "clean-css-cli": "^4.1.10",
95
96
    "cross-env": "^5.1.3",
    "eslint": "^4.13.1",
XhmikosR's avatar
XhmikosR committed
97
    "eslint-plugin-compat": "^2.1.0",
98
    "glob": "^7.1.2",
XhmikosR's avatar
XhmikosR committed
99
    "htmllint-cli": "^0.0.6",
XhmikosR's avatar
XhmikosR committed
100
    "jsunitsaucelabs": "^1.3.0",
101
    "karma": "^2.0.0",
102
103
    "karma-chrome-launcher": "^2.2.0",
    "karma-detect-browsers": "^2.2.6",
104
    "karma-firefox-launcher": "^1.1.0",
105
    "karma-qunit": "^1.2.1",
106
    "node-sass": "^4.7.2",
107
    "nodemon": "^1.14.1",
XhmikosR's avatar
XhmikosR committed
108
    "npm-run-all": "^4.1.2",
109
    "popper.js": "^1.12.9",
XhmikosR's avatar
XhmikosR committed
110
111
    "postcss-cli": "^4.1.1",
    "qunitjs": "^2.4.1",
112
    "rollup": "^0.52.3",
Johann-S's avatar
Johann-S committed
113
    "rollup-plugin-babel": "4.0.0-beta.0",
114
    "rollup-plugin-node-resolve": "^3.0.0",
Bardi Harborow's avatar
Bardi Harborow committed
115
    "shelljs": "^0.7.8",
Bardi Harborow's avatar
Bardi Harborow committed
116
    "shx": "^0.2.2",
117
    "sri-toolbox": "^0.2.0",
118
    "stylelint": "^8.4.0",
119
    "stylelint-config-recommended-scss": "^3.0.0",
120
    "stylelint-config-standard": "^18.0.0",
121
    "stylelint-order": "^0.8.0",
122
    "stylelint-scss": "^2.2.0",
123
    "uglify-js": "^3.2.2",
124
    "vnu-jar": "^17.11.1",
XhmikosR's avatar
XhmikosR committed
125
    "workbox-build": "^2.1.2"
Mark Otto's avatar
Mark Otto committed
126
  },
XhmikosR's avatar
XhmikosR committed
127
  "engines": {
128
    "node": ">=6"
XhmikosR's avatar
XhmikosR committed
129
  },
130
  "files": [
XhmikosR's avatar
XhmikosR committed
131
132
133
    "dist/",
    "js/{src,dist}/",
    "scss/"
134
  ],
135
  "browserslist": [
XhmikosR's avatar
XhmikosR committed
136
137
    "last 1 major version",
    ">= 1%",
138
    "Chrome >= 45",
XhmikosR's avatar
XhmikosR committed
139
    "Firefox >= 38",
140
141
142
143
144
145
146
    "Edge >= 12",
    "Explorer >= 10",
    "iOS >= 9",
    "Safari >= 9",
    "Android >= 4.4",
    "Opera >= 30"
  ],
XhmikosR's avatar
XhmikosR committed
147
148
  "bundlesize": [
    {
149
150
151
152
153
154
155
156
157
      "path": "./dist/css/bootstrap-grid.css",
      "maxSize": "5 kB"
    },
    {
      "path": "./dist/css/bootstrap-grid.min.css",
      "maxSize": "5 kB"
    },
    {
      "path": "./dist/css/bootstrap-reboot.css",
XhmikosR's avatar
XhmikosR committed
158
      "maxSize": "3 kB"
159
160
161
    },
    {
      "path": "./dist/css/bootstrap-reboot.min.css",
XhmikosR's avatar
XhmikosR committed
162
      "maxSize": "3 kB"
163
164
165
    },
    {
      "path": "./dist/css/bootstrap.css",
XhmikosR's avatar
XhmikosR committed
166
167
      "maxSize": "25 kB"
    },
168
169
    {
      "path": "./dist/css/bootstrap.min.css",
XhmikosR's avatar
XhmikosR committed
170
      "maxSize": "21 kB"
171
    },
XhmikosR's avatar
XhmikosR committed
172
173
    {
      "path": "./dist/js/bootstrap.bundle.js",
174
      "maxSize": "45 kB"
XhmikosR's avatar
XhmikosR committed
175
176
177
178
179
180
181
182
183
184
185
186
187
188
    },
    {
      "path": "./dist/js/bootstrap.bundle.min.js",
      "maxSize": "25 kB"
    },
    {
      "path": "./dist/js/bootstrap.js",
      "maxSize": "20 kB"
    },
    {
      "path": "./dist/js/bootstrap.min.js",
      "maxSize": "15 kB"
    }
  ],
Mark Otto's avatar
Mark Otto committed
189
  "jspm": {
vsn4ik's avatar
vsn4ik committed
190
    "registry": "npm",
Mark Otto's avatar
Mark Otto committed
191
    "main": "js/bootstrap",
192
193
194
    "directories": {
      "lib": "dist"
    },
Mark Otto's avatar
Mark Otto committed
195
196
    "shim": {
      "js/bootstrap": {
XhmikosR's avatar
XhmikosR committed
197
        "deps": [
198
199
          "jquery",
          "popper.js"
XhmikosR's avatar
XhmikosR committed
200
        ],
Mark Otto's avatar
Mark Otto committed
201
202
203
        "exports": "$"
      }
    },
204
205
    "dependencies": {},
    "peerDependencies": {
XhmikosR's avatar
XhmikosR committed
206
      "jquery": "1.9.1 - 3",
207
      "popper.js": "^1.12.9"
208
    }
209
  }
210
}