postcss-discard-empty
Advanced tools
Comparing version
{ | ||
"name": "postcss-discard-empty", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Discard empty rules and values with PostCSS.", | ||
@@ -10,7 +10,2 @@ "main": "dist/index.js", | ||
], | ||
"scripts": { | ||
"prebuild": "del-cli dist", | ||
"build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"", | ||
"prepublish": "yarn build" | ||
}, | ||
"keywords": [ | ||
@@ -45,3 +40,7 @@ "compress", | ||
}, | ||
"gitHead": "28c247175032fa03f04911cde56ad82d74d211cc" | ||
} | ||
"scripts": { | ||
"prebuild": "rimraf dist", | ||
"build": "babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"" | ||
}, | ||
"readme": "# [postcss][postcss]-discard-empty\n\n> Discard empty rules and values with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-discard-empty) do:\n\n```\nnpm install postcss-discard-empty --save\n```\n\n## Example\n\nFor more examples see the [tests](src/__tests__/index.js).\n\n### Input\n\n```css\n@font-face;\nh1 {}\n{color:blue}\nh2 {color:}\nh3 {color:red}\n```\n\n### Output\n\n```css\nh3 {color:red}\n```\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n\n[postcss]: https://github.com/postcss/postcss\n" | ||
} |
4502
-21.14%4
-20%