package.json 6.79 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
21
22
    "bash": "bash",
    "css": "npm-run-all css-lint css-compile css-prefix css-minify",
    "css-docs": "npm-run-all css-lint-docs css-compile-docs css-prefix-docs css-minify-docs",
23
    "css-lint": "bundle exec scss-lint --config .scss-lint.yml scss/*.scss",
24
    "css-lint-docs": "bundle exec scss-lint --config .scss-lint.yml --exclude assets/scss/docs.scss assets/scss/*.scss",
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
28
    "css-prefix": "postcss --config build/postcss.config.js --replace dist/css/*.css",
    "css-prefix-docs": "postcss --config build/postcss.config.js --no-map --replace assets/css/docs.min.css",
XhmikosR's avatar
XhmikosR committed
29
30
    "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",
31
    "js": "npm-run-all js-lint* js-compile js-minify",
Bardi Harborow's avatar
Bardi Harborow committed
32
    "js-docs": "npm-run-all js-lint-docs js-minify-docs",
33
    "js-lint": "eslint js/ && eslint --config js/tests/.eslintrc.json --env node build/ Gruntfile.js",
34
    "js-lint-docs": "eslint --config js/tests/.eslintrc.json assets/js/ sw.js",
Bardi Harborow's avatar
Bardi Harborow committed
35
    "js-compile": "npm-run-all --parallel js-compile-*",
36
37
38
    "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js",
    "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js",
    "js-compile-plugins": "babel --no-babelrc js/src/ --out-dir js/dist/ --source-maps --presets=es2015 --plugins=transform-es2015-modules-strip",
39
    "js-minify": "npm-run-all --parallel js-minify-standalone js-minify-bundle",
40
41
    "js-minify-standalone": "uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.min.js dist/js/bootstrap.js",
    "js-minify-bundle": "uglifyjs --config-file build/uglifyjs.config.json --output dist/js/bootstrap.bundle.min.js dist/js/bootstrap.bundle.js",
XhmikosR's avatar
XhmikosR committed
42
    "js-minify-docs": "uglifyjs --config-file build/uglifyjs.config.json --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
43
    "js-test": "phantomjs ./node_modules/qunit-phantomjs-runner/runner.js js/tests/index.html 60",
44
    "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\" & grunt saucelabs-qunit",
Bardi Harborow's avatar
Bardi Harborow committed
45
    "docs": "npm-run-all docs-compile docs-lint",
46
    "docs-lint": "htmllint --rc build/.htmllintrc _gh_pages/*.html _gh_pages/**/*.html js/tests/visual/*.html",
47
48
    "docs-compile": "bundle exec jekyll build",
    "docs-serve": "bundle exec jekyll serve",
49
    "docs-github": "shx echo \"github: true\" > twbsconfig.yml && npm run docs-compile -- --config _config.yml,twbsconfig.yml && shx rm ./twbsconfig.yml",
Bardi Harborow's avatar
Bardi Harborow committed
50
    "docs-upload-preview": "build/upload-preview.sh",
Tanguy Krotoff's avatar
Tanguy Krotoff committed
51
    "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
52
53
    "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 ..",
54
    "dist": "npm-run-all --parallel css js css-docs",
Mark Otto's avatar
Mark Otto committed
55
    "test": "npm-run-all dist js-test docs",
56
    "watch": "npm-run-all --parallel watch-css watch-js",
57
    "watch-css": "nodemon --ignore js/ --ignore dist/ -e scss -x \"npm run css && npm run css-docs\"",
58
    "watch-js": "nodemon --ignore scss/ --ignore js/dist/ --ignore dist/ -e js -x \"npm run js-compile-plugins\""
XhmikosR's avatar
XhmikosR committed
59
  },
60
  "style": "dist/css/bootstrap.css",
61
  "sass": "scss/bootstrap.scss",
Onoshko Dan's avatar
Onoshko Dan committed
62
  "main": "dist/js/bootstrap",
Mark Otto's avatar
Mark Otto committed
63
  "repository": {
64
65
    "type": "git",
    "url": "https://github.com/twbs/bootstrap.git"
Mark Otto's avatar
Mark Otto committed
66
67
  },
  "bugs": {
68
    "url": "https://github.com/twbs/bootstrap/issues"
Mark Otto's avatar
Mark Otto committed
69
  },
70
  "license": "MIT",
XhmikosR's avatar
XhmikosR committed
71
  "dependencies": {},
72
  "peerDependencies": {
vsn4ik's avatar
vsn4ik committed
73
    "jquery": "^3.0.0",
Johann-S's avatar
Johann-S committed
74
    "popper.js": "^1.12.3"
75
  },
Mark Otto's avatar
Mark Otto committed
76
  "devDependencies": {
Bardi Harborow's avatar
Bardi Harborow committed
77
    "autoprefixer": "^7.1.2",
Bardi Harborow's avatar
Bardi Harborow committed
78
    "babel-cli": "^6.24.1",
79
    "babel-eslint": "^7.2.3",
80
    "babel-plugin-external-helpers": "^6.22.0",
Bardi Harborow's avatar
Bardi Harborow committed
81
    "babel-plugin-transform-es2015-modules-strip": "^0.1.1",
82
    "babel-preset-es2015": "^6.24.1",
Bardi Harborow's avatar
Bardi Harborow committed
83
84
    "clean-css-cli": "^4.1.6",
    "eslint": "^4.2.0",
85
86
87
    "grunt": "^1.0.1",
    "grunt-cli": "^1.2.0",
    "grunt-saucelabs": "^9.0.0",
Bardi Harborow's avatar
Bardi Harborow committed
88
    "htmllint-cli": "^0.0.6",
89
    "node-sass": "^4.5.3",
Mark Otto's avatar
Mark Otto committed
90
    "nodemon": "^1.11.0",
Bardi Harborow's avatar
Bardi Harborow committed
91
92
    "npm-run-all": "^4.0.2",
    "phantomjs-prebuilt": "^2.1.14",
93
    "popper.js": "^1.12.5",
Bardi Harborow's avatar
Bardi Harborow committed
94
    "postcss-cli": "^4.1.0",
Bardi Harborow's avatar
Bardi Harborow committed
95
    "qunit-phantomjs-runner": "^2.3.0",
Bardi Harborow's avatar
Bardi Harborow committed
96
    "qunitjs": "^2.4.0",
97
98
99
    "rollup": "^0.49.2",
    "rollup-plugin-babel": "^3.0.2",
    "rollup-plugin-node-resolve": "^3.0.0",
Bardi Harborow's avatar
Bardi Harborow committed
100
    "shelljs": "^0.7.8",
Bardi Harborow's avatar
Bardi Harborow committed
101
    "shx": "^0.2.2",
Bardi Harborow's avatar
Bardi Harborow committed
102
    "uglify-js": "^3.0.24"
Mark Otto's avatar
Mark Otto committed
103
  },
XhmikosR's avatar
XhmikosR committed
104
  "engines": {
105
    "node": ">=4"
XhmikosR's avatar
XhmikosR committed
106
  },
107
  "files": [
Bardi Harborow's avatar
Bardi Harborow committed
108
109
110
    ".babelrc",
    ".eslintignore",
    "Gruntfile.js",
111
    "Gemfile",
112
    "dist",
Bardi Harborow's avatar
Bardi Harborow committed
113
114
    "build",
    "js/.eslintrc.json",
Mark Otto's avatar
Mark Otto committed
115
    "js/**/*.js",
116
    ".scss-lint.yml",
117
118
119
    "scss/**/*.scss",
    "LICENSE"
  ],
Mark Otto's avatar
Mark Otto committed
120
  "jspm": {
vsn4ik's avatar
vsn4ik committed
121
    "registry": "npm",
Mark Otto's avatar
Mark Otto committed
122
    "main": "js/bootstrap",
123
124
125
    "directories": {
      "lib": "dist"
    },
Mark Otto's avatar
Mark Otto committed
126
127
    "shim": {
      "js/bootstrap": {
XhmikosR's avatar
XhmikosR committed
128
        "deps": [
129
130
          "jquery",
          "popper.js"
XhmikosR's avatar
XhmikosR committed
131
        ],
Mark Otto's avatar
Mark Otto committed
132
133
134
        "exports": "$"
      }
    },
135
136
    "dependencies": {},
    "peerDependencies": {
vsn4ik's avatar
vsn4ik committed
137
138
      "jquery": "^3.0.0",
      "popper.js": "^1.12.3"
139
    }
140
  }
141
}