{"name":"postcss-short-font-size","version":"2.0.0","description":"Extends font-size to allow a line-height value","keywords":["postcss","css","postcss-plugin","shorthands","fonts","sizes","line-heights","declarations","property","properties","values"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com/"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-short-font-size.git"},"homepage":"https://github.com/jonathantneal/postcss-short-font-size#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-short-font-size/issues"},"dependencies":{"postcss":"^5.0.4"},"devDependencies":{"ava":"^0.15.2","eslint":"^2.11.1","eslint-config-10up":"github:jonathantneal/eslint-config-10up","fs-promise":"^0.5.0","jscs":"^3.0.4","jscs-config-10up":"github:jonathantneal/jscs-config-10up"},"scripts":{"lint":"eslint . && jscs .","tape":"ava","test":"npm run lint && npm run tape"},"engines":{"node":">=0.12.0"},"jscsConfig":{"preset":"10up"},"eslintConfig":{"extends":"10up"},"gitHead":"b33d4d9f7d8f0b93b6771d8234725df0057c5668","_id":"postcss-short-font-size@2.0.0","_shasum":"0695df05920f020b3ce836e889c12a33cfc3e57c","_from":".","_npmVersion":"3.9.2","_nodeVersion":"5.4.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"0695df05920f020b3ce836e889c12a33cfc3e57c","tarball":"http://registry-npm.ywwl.com/postcss-short-font-size/download/postcss-short-font-size-2.0.0.tgz","integrity":"sha512-mXuzD489JoctxsjOF7QGd9tmSp0+HkL5lCviY7klNDkRXCyO6MpUq4u+q3lamlWT33iWBZOFIt54ZfjH4vAkrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNMW4rj10u2SHoL4oGrf6GJgcbpOZZ8urNVKeD8gOgIAIhAIkhysdCjOK4D0bLC381FHfrqNMmHj5bHJJCEznJ9s9G"}],"size":3455,"noattachment":false,"key":"/postcss-short-font-size/-/postcss-short-font-size-2.0.0.tgz"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/postcss-short-font-size-2.0.0.tgz_1465509688067_0.35901802219450474"},"directories":{},"readme":"# PostCSS Short Font Size [<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 Font Size] lets you define `line-height` within the `font-size`\nproperty in CSS.\n\n```pcss\nbody {\n  font-size: 125%/1.5;\n}\n\n/* becomes */\n\nbody {\n  line-height: 1.5;\n  font-size: 125%;\n}\n```\n\n## Usage\n\nAdd [PostCSS Short Font Size] to your project:\n\n```bash\nnpm install postcss-short-font-size --save-dev\n```\n\nUse [PostCSS Short Font Size] to process your CSS:\n\n```js\nconst postcssShortFontSize = require('postcss-short-font-size');\n\npostcssShortFontSize.process(YOUR_CSS /*, processOptions, pluginOptions */);\n```\n\nOr use it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssShortFontSize = require('postcss-short-font-size');\n\npostcss([\n  postcssShortFontSize(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Short Font Size] runs in all Node environments, with special\ninstructions 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-font-size`.\n\n```js\npostcssShortFontSize({ prefix: 'x' });\n```\n\n```pcss\nbody {\n  -x-font-size: 125%/1.5;\n}\n\n/* becomes */\n\nbody {\n  line-height: 1.5;\n  font-size: 125%;\n}\n```\n\n#### skip\n\nThe `skip` option defines the skip token used to ignore portions of the\nshorthand.\n\n```js\npostcssShortFontSize({ skip: '-' });\n```\n\n```pcss\nbody {\n  color: -/125%;\n}\n\n/* becomes */\n\nbody {\n  font-size: 125%;\n}\n```\n\nNote: If the skip token is made to be a space then certain values with\n`!important` may not work properly, such as `font-size: 200% !important 1.5`.\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-short-font-size.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-short-font-size\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-font-size.svg\n[npm-url]: https://www.npmjs.com/package/postcss-short-font-size\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Short Font Size]: https://github.com/jonathantneal/postcss-short-font-size\n","publish_time":1465509690329,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1465509690329,"dist-tags":{"latest":"5.0.0"}}