postcss-unique-selectors
Advanced tools
Comparing version
{ | ||
"name": "postcss-unique-selectors", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Ensure CSS selectors are unique.", | ||
"main": "dist/index.js", | ||
"main": "src/index.js", | ||
"files": [ | ||
"LICENSE-MIT", | ||
"dist" | ||
"src" | ||
], | ||
@@ -38,7 +38,3 @@ "keywords": [ | ||
}, | ||
"scripts": { | ||
"prebuild": "rimraf dist", | ||
"build": "babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"" | ||
}, | ||
"readme": "# [postcss][postcss]-unique-selectors\n\n> Ensure CSS selectors are unique.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-unique-selectors) do:\n\n```\nnpm install postcss-unique-selectors --save\n```\n\n## Example\n\nSelectors are sorted naturally, and deduplicated:\n\n### Input\n\n```css\nh1,h3,h2,h1 {\n color: red\n}\n```\n\n### Output\n\n```css\nh1,h2,h3 {\n color: red\n}\n```\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n" | ||
} |
4296
-9.61%35
-14.63%