|
18 | 18 | ],
|
19 | 19 | "scripts": {
|
20 | 20 | "bundlesize": "bundlesize",
|
21 |
| - "css": "npm-run-all --parallel css-lint* css-compile* --sequential css-prefix* css-minify*", |
22 |
| - "css-main": "npm-run-all --parallel css-lint css-compile --sequential css-prefix css-minify", |
23 |
| - "css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-prefix-docs css-minify-docs", |
| 21 | + "css": "npm-run-all --parallel css-lint* css-compile* --sequential css-postcss* css-minify*", |
| 22 | + "css-main": "npm-run-all --parallel css-lint css-compile --sequential css-postcss css-minify", |
| 23 | + "css-docs": "npm-run-all --parallel css-lint-docs css-compile-docs --sequential css-postcss-docs css-minify-docs", |
24 | 24 | "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",
|
25 | 25 | "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",
|
26 | 26 | "css-lint": "stylelint --config build/.stylelintrc --syntax scss \"scss/**/*.scss\"",
|
27 | 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\"", |
29 |
| - "css-prefix-docs": "postcss --config build/postcss.config.js --replace \"assets/css/docs.min.css\" \"docs/**/*.css\"", |
| 28 | + "css-postcss": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"", |
| 29 | + "css-postcss-docs": "postcss --config build/postcss.config.js --replace \"assets/css/docs.min.css\" \"docs/**/*.css\"", |
30 | 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",
|
31 | 31 | "css-minify-docs": "cleancss --level 1 --source-map --source-map-inline-sources --output assets/css/docs.min.css assets/css/docs.min.css",
|
32 | 32 | "js": "npm-run-all js-lint* js-compile js-minify",
|
|
0 commit comments