aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorBardi Harborow <[email protected]>2016-12-23 15:02:54 +1100
committerBardi Harborow <[email protected]>2016-12-23 16:51:36 +1100
commit69935953413ca0bd96f2d70fe3b6f905ae2141b0 (patch)
treee011fb50c7053ae797244ca875b4a80d223449fe /package.json
parent800cfa24ad55fc7d6a4af363a385c84d8d3bf3f0 (diff)
downloadbootstrap-69935953413ca0bd96f2d70fe3b6f905ae2141b0.tar.xz
bootstrap-69935953413ca0bd96f2d70fe3b6f905ae2141b0.zip
Move clean-css to npm scripts.
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index 9ca76f663..f01c27eba 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,8 @@
],
"scripts": {
"change-version": "node grunt/change-version.js",
+ "clean-css": "cleancss --skip-advanced --source-map --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --skip-advanced --source-map --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --skip-advanced --source-map --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
+ "clean-css-docs": "cleancss --skip-advanced --source-map --output docs/assets/css/docs.min.css docs/assets/css/docs.min.css",
"eslint": "eslint --ignore-path .eslintignore js",
"jscs": "jscs --config=js/.jscsrc js/src js/tests/unit docs/assets/js/src grunt Gruntfile.js docs/assets/js/ie-emulation-modes-warning.js docs/assets/js/ie10-viewport-bug-workaround.js",
"htmlhint": "htmlhint --config docs/.htmlhintrc _gh_pages/",
@@ -48,6 +50,7 @@
"babel-eslint": "^7.0.0",
"babel-plugin-transform-es2015-modules-strip": "^0.1.0",
"babel-preset-es2015": "^6.16.0",
+ "clean-css": "^3.4.23",
"eslint": "^3.7.1",
"grunt": "^1.0.1",
"grunt-babel": "^6.0.0",
@@ -57,7 +60,6 @@
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-copy": "^1.0.0",
- "grunt-contrib-cssmin": "^1.0.2",
"grunt-contrib-qunit": "^1.2.0",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "^2.0.0",