{"_id":"postcss-short-border-radius","_rev":"322537","name":"postcss-short-border-radius","description":"Use more border-radius properties in CSS","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2021-06-04T01:29:00.000Z","created":"2016-10-03T21:54:39.182Z","3.0.0":"2018-10-10T12:08:34.213Z","2.0.0":"2017-05-25T06:34:49.804Z","1.0.1":"2016-12-06T19:58:23.402Z","1.0.0":"2016-10-03T21:54:39.182Z"},"users":{},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-border-radius.git"},"versions":{"3.0.0":{"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":{"shasum":"44d5d4af9e74caf2e16229f145b2dc605509a9ac","size":6404,"noattachment":false,"key":"/postcss-short-border-radius/-/postcss-short-border-radius-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-short-border-radius/download/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,"publish_time":1539173314213,"_cnpm_publish_time":1539173314213},"2.0.0":{"name":"postcss-short-border-radius","version":"2.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.js","files":["index.js"],"scripts":{"clean":"git clean -X -d -f","prepublish":"npm test","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-pattern .gitignore","test:tape":"postcss-tape"},"engines":{"node":">=4"},"dependencies":{"postcss":"^6.0.1"},"devDependencies":{"eslint":"^3.19.0","eslint-config-dev":"2.0.0","postcss-tape":"2.0.1","pre-commit":"^1.2.2"},"eslintConfig":{"extends":"dev"},"keywords":["postcss","css","postcss-plugin","borders","radius","radii","corners","edges","sides","shorthands"],"gitHead":"87608cbce3408868b89d4e95e07f838324bd1ee7","_id":"postcss-short-border-radius@2.0.0","_shasum":"a87b1d60ac433222963945d90e2b7a5b3bc24453","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"a87b1d60ac433222963945d90e2b7a5b3bc24453","size":5196,"noattachment":false,"key":"/postcss-short-border-radius/-/postcss-short-border-radius-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-short-border-radius/download/postcss-short-border-radius-2.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-short-border-radius-2.0.0.tgz_1495694088932_0.48815564555116"},"directories":{},"publish_time":1495694089804,"_hasShrinkwrap":false,"_cnpm_publish_time":1495694089804},"1.0.1":{"name":"postcss-short-border-radius","version":"1.0.1","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.js","files":["index.js"],"scripts":{"lint":"echint && eslint index.js && jscs index.js","prepublish":"npm test","tape":"postcss-tape","test":"npm run lint && postcss-tape"},"engines":{"node":">=6.9.1"},"dependencies":{"postcss":"^5.2.6"},"devDependencies":{"echint":"^2.1.0","echint-config-dev":"1.0.0","eslint":"^3.11.1","eslint-config-dev":"1.0.0","jscs":"^3.0.7","jscs-config-dev":"1.0.1","postcss-tape":"1.0.1"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev","parserOptions":{"sourceType":"module"}},"jscsConfig":{"preset":"dev"},"keywords":["postcss","css","postcss-plugin","borders","radius","radii","corners","edges","sides","shorthands"],"gitHead":"d15339c418464a109e536643cd75323967d789c4","_id":"postcss-short-border-radius@1.0.1","_shasum":"72760dff743d1d417a3572b41fd95b591d7b0c63","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"72760dff743d1d417a3572b41fd95b591d7b0c63","size":6038,"noattachment":false,"key":"/postcss-short-border-radius/-/postcss-short-border-radius-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-short-border-radius/download/postcss-short-border-radius-1.0.1.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-short-border-radius-1.0.1.tgz_1481054303177_0.8742083068937063"},"directories":{},"publish_time":1481054303402,"_cnpm_publish_time":1481054303402,"_hasShrinkwrap":false},"1.0.0":{"name":"postcss-short-border-radius","version":"1.0.0","description":"Define more border-radius properties in CSS","main":"index.js","dependencies":{"postcss":"^5.2.4","postcss-selector-parser":"^2.2.1","postcss-value-parser":"^3.3.0"},"devDependencies":{"eslint":"^3.7.0","eslint-config-10up":"github:jonathantneal/eslint-config-10up","jscs":"^3.0.7","jscs-config-10up":"github:jonathantneal/jscs-config-10up","stylelint-config-10up":"github:jonathantneal/stylelint-config-10up","tap-spec":"^4.1.1","tape":"^4.6.2"},"scripts":{"lint":"eslint . --ignore-path .gitignore && jscs .","tape":"tape test.js | tap-spec","test":"npm run lint && npm run tape"},"engines":{"node":">=0.12.0"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-border-radius.git"},"keywords":["postcss","css","postcss-plugin","borders","radius","radii","corners","edges","sides","shorthands"],"eslintConfig":{"extends":"10up"},"jscsConfig":{"preset":"10up"},"stylelint":{"extends":"stylelint-config-10up"},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","bugs":{"url":"https://github.com/jonathantneal/postcss-short-border-radius/issues"},"homepage":"https://github.com/jonathantneal/postcss-short-border-radius#readme","gitHead":"ff7267a9ad61bf6c1865b691b67d2a4415908fdd","_id":"postcss-short-border-radius@1.0.0","_shasum":"7eace6a154c8f87dffeeb1a9a49e28b6f0193862","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"7eace6a154c8f87dffeeb1a9a49e28b6f0193862","size":6664,"noattachment":false,"key":"/postcss-short-border-radius/-/postcss-short-border-radius-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postcss-short-border-radius/download/postcss-short-border-radius-1.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/postcss-short-border-radius-1.0.0.tgz_1475531677512_0.19346319930627942"},"directories":{},"publish_time":1475531679182,"_cnpm_publish_time":1475531679182,"_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","_attachments":{},"homepage":"https://github.com/jonathantneal/postcss-short-border-radius#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-border-radius/issues"},"license":"CC0-1.0"}