diff options
| author | XhmikosR <[email protected]> | 2021-02-18 20:59:05 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-18 20:59:05 +0200 |
| commit | 8ec32eec44f46da2980d851e88523b8765e76bc8 (patch) | |
| tree | c121be5d75ad5a381ff8912ea29c8ce82413ad38 /package.json | |
| parent | c3417214392537e70ef4e6aaa8d11b3322e01f30 (diff) | |
| download | bootstrap-8ec32eec44f46da2980d851e88523b8765e76bc8.tar.xz bootstrap-8ec32eec44f46da2980d851e88523b8765e76bc8.zip | |
Update clean-css-cli to v5.2.0 (#33144)
* Update clean-css-cli to v5.2.0
* Enable clean-css's batch flag
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index 493e9b2c8..f03c74bb7 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*", "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd", "css-lint-vars": "fusv scss/ site/assets/scss/", - "css-minify": "cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css", + "css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\"", "css-prefix": "npm-run-all --parallel css-prefix-*", "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"", "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"", @@ -58,7 +58,7 @@ "docs-serve": "hugo server --port 9001 --disableFastRender", "docs-serve-only": "npx sirv-cli _gh_pages --port 9001", "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json", - "update-deps": "ncu -u -x \"clean-css-cli,jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor", + "update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor", "release": "npm-run-all dist release-sri docs-build release-zip*", "release-sri": "node build/generate-sri.js", "release-version": "node build/change-version.js", @@ -103,7 +103,7 @@ "autoprefixer": "^10.2.4", "babel-plugin-istanbul": "^6.0.0", "bundlewatch": "^0.3.2", - "clean-css-cli": "^4.3.0", + "clean-css-cli": "^5.2.0", "cross-env": "^7.0.3", "eslint": "^7.20.0", "eslint-config-xo": "^0.34.0", |
