{"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","tarball":"http://registry-npm.ywwl.com/postcss-short-border-radius/download/postcss-short-border-radius-1.0.0.tgz","integrity":"sha512-ANuTYOGziiowZK4NNc21ETc/Do3gjBJRvFZQqLllkT/k7YdsOn0bMuxVqG3l7Jf40p1uCK6lEUWsilLuf8TzKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/GugfvZ4vLrbI7z700ocwrwoVCnMamE1Vn93oo6G1NgIhAOV0EhveVueGpYB1xwtCRfyGoLAzCqojBZBN8jdCoJ6H"}],"size":6664,"noattachment":false,"key":"/postcss-short-border-radius/-/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":{},"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":1475531679182,"_cnpm_publish_time":1475531679182,"dist-tags":{"latest":"3.0.0"}}