UNPKG

1.8 kBJSONView Raw
1{
2 "name": "postcss-merge-longhand",
3 "version": "5.0.6",
4 "description": "Merge longhand properties into shorthand with PostCSS.",
5 "main": "src/index.js",
6 "files": [
7 "LICENSE-MIT",
8 "src"
9 ],
10 "keywords": [
11 "css",
12 "minify",
13 "optimise",
14 "postcss",
15 "postcss-plugin"
16 ],
17 "license": "MIT",
18 "homepage": "https://github.com/cssnano/cssnano",
19 "author": {
20 "name": "Ben Briggs",
21 "email": "beneb.info@gmail.com",
22 "url": "http://beneb.info"
23 },
24 "repository": "cssnano/cssnano",
25 "dependencies": {
26 "postcss-value-parser": "^4.2.0",
27 "stylehacks": "^5.0.3"
28 },
29 "bugs": {
30 "url": "https://github.com/cssnano/cssnano/issues"
31 },
32 "engines": {
33 "node": "^10 || ^12 || >=14.0"
34 },
35 "devDependencies": {
36 "postcss": "^8.2.15"
37 },
38 "peerDependencies": {
39 "postcss": "^8.2.15"
40 },
41 "readme": "# [postcss][postcss]-merge-longhand\n\n> Merge longhand properties into shorthand with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-merge-longhand) do:\n\n```\nnpm install postcss-merge-longhand --save\n```\n\n## Example\n\nMerge longhand properties into shorthand; works with `margin`, `padding` &\n`border`. For more examples see the [tests](src/__tests__/index.js).\n\n### Input\n\n```css\nh1 {\n margin-top: 10px;\n margin-right: 20px;\n margin-bottom: 10px;\n margin-left: 20px;\n}\n```\n\n### Output\n\n```css\nh1 {\n margin: 10px 20px;\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"
42}
\No newline at end of file