package.json 8.76 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.2",
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-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
29
    "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"assets/css/docs.min.css\" \"docs/**/*.css\"",
XhmikosR's avatar
XhmikosR committed
30
31
    "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",
32
    "js": "npm-run-all js-lint* js-compile js-minify",
XhmikosR's avatar
XhmikosR committed
33
    "js-main": "npm-run-all js-lint js-compile js-minify",
Bardi Harborow's avatar
Bardi Harborow committed
34
    "js-docs": "npm-run-all js-lint-docs js-minify-docs",
XhmikosR's avatar
XhmikosR committed
35
    "js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/",
36
    "js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/ docs/ sw.js",
Bardi Harborow's avatar
Bardi Harborow committed
37
    "js-compile": "npm-run-all --parallel js-compile-*",
Johann-S's avatar
Johann-S committed
38
39
    "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",
40
    "js-compile-plugins": "cross-env PLUGINS=true babel js/src/ --out-dir js/dist/ --source-maps",
XhmikosR's avatar
XhmikosR committed
41
    "js-minify": "npm-run-all --parallel js-minify-*",
42
43
    "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",
44
    "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\"",
Bardi Harborow's avatar
Bardi Harborow committed
45
    "js-test": "phantomjs ./node_modules/qunit-phantomjs-runner/runner.js js/tests/index.html 60",
46
    "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
47
    "docs": "npm-run-all --parallel css-docs js-docs --sequential docs-compile docs-lint",
48
49
    "docs-compile": "bundle exec jekyll build",
    "postdocs-compile": "npm run docs-workbox-precache",
50
    "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
51
52
53
    "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
54
    "docs-serve": "bundle exec jekyll serve",
Bardi Harborow's avatar
Bardi Harborow committed
55
    "docs-upload-preview": "build/upload-preview.sh",
56
    "docs-workbox-precache": "node build/workbox.js",
Tanguy Krotoff's avatar
Tanguy Krotoff committed
57
    "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
58
59
    "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
60
    "dist": "npm-run-all --parallel css js",
61
    "test": "npm-run-all dist js-test docs-compile docs-lint bundlesize",
62
    "watch": "npm-run-all --parallel watch-css watch-js",
XhmikosR's avatar
XhmikosR committed
63
    "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css\"",
64
    "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile\""
XhmikosR's avatar
XhmikosR committed
65
  },
66
  "style": "dist/css/bootstrap.css",
67
  "sass": "scss/bootstrap.scss",
Onoshko Dan's avatar
Onoshko Dan committed
68
  "main": "dist/js/bootstrap",
Mark Otto's avatar
Mark Otto committed
69
  "repository": {
70
    "type": "git",
71
    "url": "git+https://github.com/twbs/bootstrap.git"
Mark Otto's avatar
Mark Otto committed
72
73
  },
  "bugs": {
74
    "url": "https://github.com/twbs/bootstrap/issues"
Mark Otto's avatar
Mark Otto committed
75
  },
76
  "license": "MIT",
XhmikosR's avatar
XhmikosR committed
77
  "dependencies": {},
78
  "peerDependencies": {
79
    "jquery": "1.9.1 - 3",
80
    "popper.js": "^1.12.9"
81
  },
Mark Otto's avatar
Mark Otto committed
82
  "devDependencies": {
Johann-S's avatar
Johann-S committed
83
84
85
    "@babel/cli": "7.0.0-beta.31",
    "@babel/core": "7.0.0-beta.31",
    "@babel/preset-env": "7.0.0-beta.31",
XhmikosR's avatar
XhmikosR committed
86
    "autoprefixer": "^7.1.6",
Johann-S's avatar
Johann-S committed
87
    "babel-eslint": "^8.0.2",
Bardi Harborow's avatar
Bardi Harborow committed
88
    "babel-plugin-transform-es2015-modules-strip": "^0.1.1",
XhmikosR's avatar
XhmikosR committed
89
90
91
92
93
    "bundlesize": "^0.15.3",
    "clean-css-cli": "^4.1.10",
    "cross-env": "^5.1.1",
    "eslint": "^4.11.0",
    "eslint-plugin-compat": "^2.1.0",
XhmikosR's avatar
XhmikosR committed
94
    "htmllint-cli": "^0.0.6",
XhmikosR's avatar
XhmikosR committed
95
96
97
98
99
    "jsunitsaucelabs": "^1.3.0",
    "node-sass": "^4.6.1",
    "nodemon": "^1.12.1",
    "npm-run-all": "^4.1.2",
    "phantomjs-prebuilt": "^2.1.16",
100
    "popper.js": "^1.12.9",
XhmikosR's avatar
XhmikosR committed
101
    "postcss-cli": "^4.1.1",
Bardi Harborow's avatar
Bardi Harborow committed
102
    "qunit-phantomjs-runner": "^2.3.0",
XhmikosR's avatar
XhmikosR committed
103
104
    "qunitjs": "^2.4.1",
    "rollup": "^0.51.5",
Johann-S's avatar
Johann-S committed
105
    "rollup-plugin-babel": "4.0.0-beta.0",
106
    "rollup-plugin-node-resolve": "^3.0.0",
Bardi Harborow's avatar
Bardi Harborow committed
107
    "shelljs": "^0.7.8",
Bardi Harborow's avatar
Bardi Harborow committed
108
    "shx": "^0.2.2",
XhmikosR's avatar
XhmikosR committed
109
    "stylelint": "^8.2.0",
XhmikosR's avatar
XhmikosR committed
110
111
112
113
    "stylelint-config-recommended-scss": "^2.0.0",
    "stylelint-config-standard": "^17.0.0",
    "stylelint-order": "^0.7.0",
    "stylelint-scss": "^2.1.0",
XhmikosR's avatar
XhmikosR committed
114
    "uglify-js": "^3.1.9",
115
    "vnu-jar": "^17.11.1",
XhmikosR's avatar
XhmikosR committed
116
    "workbox-build": "^2.1.1"
Mark Otto's avatar
Mark Otto committed
117
  },
XhmikosR's avatar
XhmikosR committed
118
  "engines": {
119
    "node": ">=6"
XhmikosR's avatar
XhmikosR committed
120
  },
121
  "files": [
Bardi Harborow's avatar
Bardi Harborow committed
122
123
    ".babelrc",
    ".eslintignore",
124
    "Gemfile",
125
    "dist",
Bardi Harborow's avatar
Bardi Harborow committed
126
127
    "build",
    "js/.eslintrc.json",
Mark Otto's avatar
Mark Otto committed
128
    "js/**/*.js",
129
    "js/**/*.js.map",
XhmikosR's avatar
XhmikosR committed
130
    "scss/**/*.scss"
131
  ],
132
133
134
135
136
137
138
139
140
141
  "browserslist": [
    "Chrome >= 45",
    "Firefox ESR",
    "Edge >= 12",
    "Explorer >= 10",
    "iOS >= 9",
    "Safari >= 9",
    "Android >= 4.4",
    "Opera >= 30"
  ],
XhmikosR's avatar
XhmikosR committed
142
143
  "bundlesize": [
    {
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
      "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
161
162
      "maxSize": "25 kB"
    },
163
164
165
166
    {
      "path": "./dist/css/bootstrap.min.css",
      "maxSize": "20 kB"
    },
XhmikosR's avatar
XhmikosR committed
167
168
    {
      "path": "./dist/js/bootstrap.bundle.js",
169
      "maxSize": "45 kB"
XhmikosR's avatar
XhmikosR committed
170
171
172
173
174
175
176
177
178
179
180
181
182
183
    },
    {
      "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
184
  "jspm": {
vsn4ik's avatar
vsn4ik committed
185
    "registry": "npm",
Mark Otto's avatar
Mark Otto committed
186
    "main": "js/bootstrap",
187
188
189
    "directories": {
      "lib": "dist"
    },
Mark Otto's avatar
Mark Otto committed
190
191
    "shim": {
      "js/bootstrap": {
XhmikosR's avatar
XhmikosR committed
192
        "deps": [
193
194
          "jquery",
          "popper.js"
XhmikosR's avatar
XhmikosR committed
195
        ],
Mark Otto's avatar
Mark Otto committed
196
197
198
        "exports": "$"
      }
    },
199
200
    "dependencies": {},
    "peerDependencies": {
vsn4ik's avatar
vsn4ik committed
201
      "jquery": "^3.0.0",
202
      "popper.js": "^1.12.9"
203
    }
204
  }
205
}