package.json 8.56 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",
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": {
Bardi Harborow's avatar
Bardi Harborow committed
20
    "bash": "bash",
XhmikosR's avatar
XhmikosR committed
21
    "bundlesize": "bundlesize",
XhmikosR's avatar
XhmikosR committed
22
23
24
    "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
25
26
    "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
27
    "css-lint": "stylelint --config build/.stylelintrc --syntax scss \"scss/**/*.scss\"",
XhmikosR's avatar
XhmikosR committed
28
    "css-lint-docs": "stylelint --config build/.stylelintrc --syntax scss \"assets/scss/*.scss\" && stylelint --config docs/4.0/examples/.stylelintrc \"docs/**/*.css\"",
XhmikosR's avatar
XhmikosR committed
29
    "css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.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",
XhmikosR's avatar
XhmikosR committed
33
34
    "js": "npm-run-all js-lint* js-compile* js-minify*",
    "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-*",
39
40
41
    "js-compile-standalone": "cross-env ROLLUP=true rollup --environment BUNDLE:false --config build/rollup.config.js",
    "js-compile-bundle": "cross-env ROLLUP=true rollup --environment BUNDLE:true --config build/rollup.config.js",
    "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
45
    "js-minify-standalone": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
    "js-minify-bundle": "uglifyjs --compress typeofs=false --mangle --comments \"/^!/\" --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
    "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/application.js assets/js/src/pwa.js",
Bardi Harborow's avatar
Bardi Harborow committed
46
    "js-test": "phantomjs ./node_modules/qunit-phantomjs-runner/runner.js js/tests/index.html 60",
47
    "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
48
    "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
49
50
    "docs-compile": "bundle exec jekyll build",
    "postdocs-compile": "npm run docs-workbox-precache",
51
    "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
XhmikosR's avatar
XhmikosR committed
52
    "docs-lint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\" && node build/htmllint.js",
XhmikosR's avatar
XhmikosR committed
53
    "docs-serve": "bundle exec jekyll serve",
Bardi Harborow's avatar
Bardi Harborow committed
54
    "docs-upload-preview": "build/upload-preview.sh",
55
    "docs-workbox-precache": "node build/workbox.js",
Tanguy Krotoff's avatar
Tanguy Krotoff committed
56
    "maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo 'Manually update assets/js/vendor/*, js/tests/vendor/* and .travis.yml'",
Bardi Harborow's avatar
Bardi Harborow committed
57
58
    "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
59
    "dist": "npm-run-all --parallel css js",
XhmikosR's avatar
XhmikosR committed
60
    "test": "npm-run-all dist --parallel js-test --sequential docs-compile docs-lint bundlesize",
61
    "watch": "npm-run-all --parallel watch-css watch-js",
XhmikosR's avatar
XhmikosR committed
62
63
    "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css\"",
    "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm-run-all --parallel js-compile-*\""
XhmikosR's avatar
XhmikosR committed
64
  },
65
  "style": "dist/css/bootstrap.css",
66
  "sass": "scss/bootstrap.scss",
Onoshko Dan's avatar
Onoshko Dan committed
67
  "main": "dist/js/bootstrap",
Mark Otto's avatar
Mark Otto committed
68
  "repository": {
69
    "type": "git",
70
    "url": "git+https://github.com/twbs/bootstrap.git"
Mark Otto's avatar
Mark Otto committed
71
72
  },
  "bugs": {
73
    "url": "https://github.com/twbs/bootstrap/issues"
Mark Otto's avatar
Mark Otto committed
74
  },
75
  "license": "MIT",
XhmikosR's avatar
XhmikosR committed
76
  "dependencies": {},
77
  "peerDependencies": {
vsn4ik's avatar
vsn4ik committed
78
    "jquery": "^3.0.0",
Johann-S's avatar
Johann-S committed
79
    "popper.js": "^1.12.3"
80
  },
Mark Otto's avatar
Mark Otto committed
81
  "devDependencies": {
Bardi Harborow's avatar
Bardi Harborow committed
82
    "autoprefixer": "^7.1.2",
83
    "babel-cli": "7.0.0-beta.2",
84
    "babel-eslint": "^8.0.0",
85
    "babel-plugin-external-helpers": "7.0.0-beta.2",
Bardi Harborow's avatar
Bardi Harborow committed
86
    "babel-plugin-transform-es2015-modules-strip": "^0.1.1",
87
    "babel-preset-env": "2.0.0-beta.2",
XhmikosR's avatar
XhmikosR committed
88
    "bundlesize": "^0.15.2",
Bardi Harborow's avatar
Bardi Harborow committed
89
    "clean-css-cli": "^4.1.6",
90
    "cross-env": "^5.0.5",
Bardi Harborow's avatar
Bardi Harborow committed
91
    "eslint": "^4.2.0",
XhmikosR's avatar
XhmikosR committed
92
    "eslint-plugin-compat": "^2.0.1",
XhmikosR's avatar
XhmikosR committed
93
    "htmllint-cli": "^0.0.6",
Johann-S's avatar
Johann-S committed
94
    "jsunitsaucelabs": "^1.2.0",
95
    "node-sass": "^4.5.3",
Mark Otto's avatar
Mark Otto committed
96
    "nodemon": "^1.11.0",
Bardi Harborow's avatar
Bardi Harborow committed
97
98
    "npm-run-all": "^4.0.2",
    "phantomjs-prebuilt": "^2.1.14",
99
    "popper.js": "^1.12.5",
Bardi Harborow's avatar
Bardi Harborow committed
100
    "postcss-cli": "^4.1.0",
Bardi Harborow's avatar
Bardi Harborow committed
101
    "qunit-phantomjs-runner": "^2.3.0",
Bardi Harborow's avatar
Bardi Harborow committed
102
    "qunitjs": "^2.4.0",
Henry Zhu's avatar
Henry Zhu committed
103
    "rollup": "^0.50.0",
104
105
    "rollup-plugin-babel": "^3.0.2",
    "rollup-plugin-node-resolve": "^3.0.0",
Bardi Harborow's avatar
Bardi Harborow committed
106
    "shelljs": "^0.7.8",
Bardi Harborow's avatar
Bardi Harborow committed
107
    "shx": "^0.2.2",
XhmikosR's avatar
XhmikosR committed
108
109
110
111
112
    "stylelint": "^8.1.1",
    "stylelint-config-recommended-scss": "^2.0.0",
    "stylelint-config-standard": "^17.0.0",
    "stylelint-order": "^0.7.0",
    "stylelint-scss": "^2.1.0",
113
    "uglify-js": "^3.0.24",
114
    "vnu-jar": "^17.11.1",
115
    "workbox-build": "^2.0.1"
Mark Otto's avatar
Mark Otto committed
116
  },
XhmikosR's avatar
XhmikosR committed
117
  "engines": {
118
    "node": ">=6"
XhmikosR's avatar
XhmikosR committed
119
  },
120
  "files": [
Bardi Harborow's avatar
Bardi Harborow committed
121
122
    ".babelrc",
    ".eslintignore",
123
    "Gemfile",
124
    "dist",
Bardi Harborow's avatar
Bardi Harborow committed
125
126
    "build",
    "js/.eslintrc.json",
Mark Otto's avatar
Mark Otto committed
127
    "js/**/*.js",
XhmikosR's avatar
XhmikosR committed
128
    "scss/**/*.scss"
129
  ],
130
131
132
133
134
135
136
137
138
139
  "browserslist": [
    "Chrome >= 45",
    "Firefox ESR",
    "Edge >= 12",
    "Explorer >= 10",
    "iOS >= 9",
    "Safari >= 9",
    "Android >= 4.4",
    "Opera >= 30"
  ],
XhmikosR's avatar
XhmikosR committed
140
141
  "bundlesize": [
    {
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
      "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",
      "maxSize": "5 kB"
    },
    {
      "path": "./dist/css/bootstrap-reboot.min.css",
      "maxSize": "5 kB"
    },
    {
      "path": "./dist/css/bootstrap.css",
XhmikosR's avatar
XhmikosR committed
159
160
      "maxSize": "25 kB"
    },
161
162
163
164
    {
      "path": "./dist/css/bootstrap.min.css",
      "maxSize": "20 kB"
    },
XhmikosR's avatar
XhmikosR committed
165
166
    {
      "path": "./dist/js/bootstrap.bundle.js",
167
      "maxSize": "45 kB"
XhmikosR's avatar
XhmikosR committed
168
169
170
171
172
173
174
175
176
177
178
179
180
181
    },
    {
      "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
182
  "jspm": {
vsn4ik's avatar
vsn4ik committed
183
    "registry": "npm",
Mark Otto's avatar
Mark Otto committed
184
    "main": "js/bootstrap",
185
186
187
    "directories": {
      "lib": "dist"
    },
Mark Otto's avatar
Mark Otto committed
188
189
    "shim": {
      "js/bootstrap": {
XhmikosR's avatar
XhmikosR committed
190
        "deps": [
191
192
          "jquery",
          "popper.js"
XhmikosR's avatar
XhmikosR committed
193
        ],
Mark Otto's avatar
Mark Otto committed
194
195
196
        "exports": "$"
      }
    },
197
198
    "dependencies": {},
    "peerDependencies": {
vsn4ik's avatar
vsn4ik committed
199
200
      "jquery": "^3.0.0",
      "popper.js": "^1.12.3"
201
    }
202
  }
203
}