{"name":"postcss-short-border-radius","version":"3.0.0","description":"Use more border-radius properties in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-border-radius.git"},"homepage":"https://github.com/jonathantneal/postcss-short-border-radius#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-border-radius/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.5"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.1.0","babel-eslint":"^10.0.1","eslint":"^5.6.1","eslint-config-dev":"^2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.5","rollup-plugin-babel":"^4.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","border","edge","shorthand","short"],"gitHead":"dab2179afefee6d970ca8fe0b4d624adb2e6cb6b","_id":"postcss-short-border-radius@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-s4g/NSUFA71+s4fJMUFo/IqcJL1ZdmWSz90GctW/f3msdhetgaU2OuORYQtUB2HGX5BdsvBFai8FBv/D3/lrVQ==","shasum":"44d5d4af9e74caf2e16229f145b2dc605509a9ac","tarball":"http://registry-npm.ywwl.com/postcss-short-border-radius/download/postcss-short-border-radius-3.0.0.tgz","fileCount":8,"unpackedSize":21562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvevCCRA9TVsSAnZWagAAQCMP/0Ku6k7fMgYCYC48reyt\ndU2Toy3xUG2YZBXe7fSu7I75wfur3LgLyVvh+qscBbLadHUgli0FrhJzacKg\nJzh0dVmDQum6Vt8CJmcXMGpoG3ri/lACBtwHyUnBQP9g7vKrBr4zNP06HR/z\n8uCkCraV8VFzqBV/mK41v2NZgKRbUthagGgioHKaTX8KlLovdtuutPiXQVUK\nOO2QtPTtlrkmMcoOK1b+hkHRvueYArly+CvXvBCOKXF7umi8022rEcjJfOG9\nqSBRA+ERGPbwKU4/mpO7pNFNt2lkJCYvqOrQuvyRWDR3YXXgFut41ERfEG4Z\neKZXFaWZEByZm0MjBPhSTx/Jkd3q3Q2bVawuBU1fIggGEebO8hKSYMbXzDnU\n1ZCaz4LY6I6HB2rhrxSR2h2YbvWbhvIlTygY0Bii+gR1KxAw1n7Bql3sJF/A\nbaNR1h8G/Ve3qbwpzFVH7IwXpR1jZ1+6n0SkaGbMhD8WEfvlqaRrYqyPa04d\n3gOP+Gvm/GTqejVAbr8gLAj1OOUVpHH09492tCD9RwZhsYlOjJY1fTco4267\nnr8xQJWWTXyX5AqPrDTObv9rOWxkxnclhqp7fYG9MDcTd6138aq7et9+rpwR\nEZ11opw4fpF0rX+x1mBAvVOKpcB/Y8O6OlIyLvRz8qtBfabGKjFvsLTAkuq+\njndm\r\n=Vf21\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0wylxImYssUecH84OSIGU0ZaAckAS0FIHTxJS/LaHSQIgJOQsUiMwg+THBvUlfgRMB7NkimWHEzjib1MAMYr7Wrg="}],"size":6404,"noattachment":false,"key":"/postcss-short-border-radius/-/postcss-short-border-radius-3.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-border-radius_3.0.0_1539173313969_0.1286395783151988"},"_hasShrinkwrap":false,"readme":"# PostCSS Short Border Radius [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[PostCSS Short Border Radius] lets you use `border-top-radius`,\n`border-right-radius`, `border-bottom-radius`, and `border-left-radius`\nproperties in CSS, following the [1-to-2 syntax].\n\n```pcss\n.example-1 {\n  border-top-radius: 10px;\n}\n\n.example-2 {\n  border-top-radius: 10px 5px;\n}\n\n/* becomes */\n\n.example-1 {\n  border-top-left-radius: 10px;\n  border-top-right-radius: 10px;\n}\n\n.example-2 {\n  border-top-left-radius: 10px;\n  border-top-right-radius: 5px;\n}\n```\n\n## Usage\n\nAdd [PostCSS Short Border Radius] to your project:\n\n```bash\nnpm install postcss-short-border-radius --save-dev\n```\n\nUse [PostCSS Short Border Radius] to process your CSS:\n\n```js\nconst postcssShortBorderRadius = require('postcss-short-border-radius');\n\npostcssShortBorderRadius.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssShortBorderRadius = require('postcss-short-border-radius');\n\npostcss([\n  postcssShortBorderRadius(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Short Border Radius] runs in all Node environments, with special instructions for:\n\n| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |\n| --- | --- | --- | --- | --- | --- |\n\n## Options\n\n#### prefix\n\nThe `prefix` option defines a prefix required by properties being transformed.\nWrapping dashes are automatically applied, so that `x` would transform\n`-x-border-top-radius`.\n\n```js\npostcssShortBorderRadius({ prefix: 'x' });\n```\n\n```pcss\n.example-1 {\n  -x-border-top-radius: 10px;\n}\n\n/* becomes */\n\n.example-1 {\n  border-top-left-radius: 10px;\n  border-top-right-radius: 10px;\n}\n```\n\n#### skip\n\nThe `skip` option defines the skip token used to ignore portions of the\nshorthand.\n\n```js\npostcssShortBorderRadius({ skip: '-' });\n```\n\n```pcss\n.example-1 {\n  -x-border-top-radius: - 10px;\n}\n\n/* becomes */\n\n.example-1 {\n  border-top-right-radius: 10px;\n}\n```\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-short-border-radius.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-short-border-radius\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/postcss-short-border-radius.svg\n[npm-url]: https://www.npmjs.com/package/postcss-short-border-radius\n\n[1-to-2 syntax]: https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#Tricky_edge_cases\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Short Border Radius]: https://github.com/jonathantneal/postcss-short-border-radius\n","publish_time":1539173314213,"_cnpm_publish_time":1539173314213,"dist-tags":{"latest":"3.0.0"}}