2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Update devDependencies, gems and lots of cleanup/build fixes.

* switch to grunt-postcss and autoprefixer directly; this is the recommended way.
* uglify: specify `ie8` for compatibility
* specify `cascade:false` for autoprefixer
* specify `ieCompat` for less
* drop grunt-contrib-compress since it doesn't work with Node.js 10.x
* remove grunt-contrib-htmlmin to match the v4 docs
* clean up Gruntfile.js
* clean up .travis.yml and backport changes from v4
* build ie10-viewport-bug-workaround.less since it's used in examples
* move shrinkwrap to root
* bs-commonjs-generator.js: Use `path.posix`
* remove .hound.yml
* remove references to no longer used PR bots
* backport and adapt the sri generation script from v4
This commit is contained in:
XhmikosR
2018-09-18 18:39:35 +03:00
parent 7a2cdfb650
commit 4a5c7f21d5
18 changed files with 2279 additions and 3870 deletions
+33 -33
View File
@@ -14,8 +14,10 @@
"homepage": "https://getbootstrap.com/",
"author": "Twitter, Inc.",
"scripts": {
"sri": "node grunt/generate-sri.js",
"release": "grunt prep-release && npm run sri && npm run release-zip",
"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\"",
"change-version": "node grunt/change-version.js",
"update-shrinkwrap": "npm shrinkwrap --dev && shx mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json",
"test": "grunt test"
},
"style": "dist/css/bootstrap.css",
@@ -29,45 +31,46 @@
"url": "https://github.com/twbs/bootstrap/issues"
},
"license": "MIT",
"dependencies": {},
"devDependencies": {
"btoa": "~1.2.1",
"autoprefixer": "^9.4.2",
"btoa": "^1.2.1",
"cross-env": "^5.2.0",
"glob": "~7.1.2",
"grunt": "~1.0.1",
"grunt-autoprefixer": "~3.0.4",
"grunt-contrib-clean": "~1.1.0",
"grunt-contrib-compress": "~1.4.3",
"grunt-contrib-concat": "~1.0.0",
"grunt-contrib-connect": "~1.0.0",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-cssmin": "~2.2.1",
"grunt-contrib-htmlmin": "~2.4.0",
"grunt-contrib-jshint": "~1.1.0",
"grunt-contrib-less": "~1.4.1",
"grunt-contrib-pug": "~1.0.0",
"grunt-contrib-uglify": "~3.3.0",
"grunt-contrib-watch": "~1.0.0",
"grunt-exec": "~3.0.0",
"grunt-html": "~9.0.0",
"grunt-jekyll": "~0.4.4",
"grunt-jscs": "~3.0.1",
"grunt-stylelint": "^0.10.0",
"glob": "^7.1.3",
"grunt": "^1.0.3",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-connect": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-jshint": "^2.0.0",
"grunt-contrib-less": "^2.0.0",
"grunt-contrib-pug": "^2.0.0",
"grunt-contrib-uglify": "^4.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-exec": "^3.0.0",
"grunt-html": "^10.1.0",
"grunt-jekyll": "^1.0.0",
"grunt-jscs": "^3.0.1",
"grunt-postcss": "^0.9.0",
"grunt-stylelint": "^0.10.1",
"ip": "^1.1.5",
"karma": "^3.0.0",
"karma": "^3.1.3",
"karma-browserstack-launcher": "^1.3.0",
"karma-chrome-launcher": "^2.2.0",
"karma-detect-browsers": "^2.3.3",
"karma-firefox-launcher": "^1.1.0",
"karma-qunit": "^1.2.1",
"load-grunt-tasks": "~3.5.0",
"markdown-it": "^8.4.0",
"load-grunt-tasks": "^4.0.0",
"markdown-it": "^8.4.2",
"qunitjs": "^1.23.1",
"shelljs": "^0.8.1",
"shx": "^0.2.2",
"stylelint": "^9.2.0",
"replace-in-file": "^3.4.2",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"stylelint": "~9.6.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-order": "^0.8.1",
"time-grunt": "^1.3.0"
"stylelint-order": "^1.0.0",
"time-grunt": "^2.0.0"
},
"engines": {
"node": ">=6"
@@ -94,8 +97,5 @@
"fonts",
"js"
]
},
"dependencies": {
"postcss": "^6.0.21"
}
}