{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"dependencies":{"postcss":"^7.0.14"},"description":"Ensure vendor-prefixed versions of a CSS property are listed before the unprefixed version.","devDependencies":{"@hint/parser-css":"^2.1.0","@hint/utils-tests-helpers":"^3.0.0","@types/debug":"4.1.2","@typescript-eslint/parser":"1.4.2","ava":"^1.3.1","cpx":"^1.5.0","eslint":"^5.15.1","eslint-plugin-markdown":"^1.0.0","@typescript-eslint/eslint-plugin":"^1.4.2","hint":"^4.5.0","npm-link-check":"^3.0.0","npm-run-all":"^4.1.5","nyc":"^13.3.0","postcss":"^7.0.14","rimraf":"^2.6.3","typescript":"^3.3.3333"},"engines":{"node":">=8.0.0"},"homepage":"https://webhint.io/","keywords":["hint","webhint","css-prefix-order","css-prefix-order-hint"],"license":"Apache-2.0","main":"dist/src/hint.js","name":"@hint/hint-css-prefix-order","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"@hint/parser-css":"^2.1.0","hint":"^4.5.0"},"repository":{"type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm-run-all build:*","build-release":"npm run clean && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives","lint:md":"node ../../scripts/lint-markdown.js","test":"npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run lint && npm run clean && npm run build:assets && tsc && npm run test-only","init":"npm install && npm run build","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:assets":"npm run build:assets -- -w --no-initial","watch:test":"ava --watch","watch:ts":"npm run build:ts -- --watch"},"version":"1.0.2","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-css-prefix-order@1.0.2","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"molant","email":"amolleda@gmail.com"},"dist":{"integrity":"sha512-8dRi2oCdAnFpn04iXmCa51KheCeASwFCXqdBg7R5h2IM5FrSLHfYgNSTOdFYv6dj/6C1eZi/C0UiKy22NmcoJg==","shasum":"e1a29c4f0b96139b129263738f458db7df0b8947","tarball":"http://registry-npm.ywwl.com/@hint/hint-css-prefix-order/download/@hint/hint-css-prefix-order-1.0.2.tgz","fileCount":10,"unpackedSize":20506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgZ6sCRA9TVsSAnZWagAA0RAP/jG3Wd883lbtDB/Fc/Hq\nhABsP57TW0QR7TfjhzERGZy2SNyEdZf489+EKYEmWHUqUm0hiKOZMHQ5wWx9\nXEerp+2bBDoN7EY2AnrXrKz5Fus4LpaK3pigE+yoF/hOPdP32bFmwdz3cznv\nv3sjvxShOvB3GmghmfldFwM8V69GlvHER9aR+YEc4WeJcdkYjTyZxjY/Ypwj\nu5hFuSqcDRkhD8DvWV8EXYTuAEVFNFGCobIie1wLZC91I8N/bANywZyZogYH\nodI6jGoFQJnWqpo6yYt2KD412ycEhZ1k/Dcp/QzcB/ySp3eh1fCZVMEeed/f\n18GyR3ge5iqOk0kEYHH5SP4jY3QWFnTv9reeuO8DZJdRUTW5dYaFLbqs8i2L\nJLsPXlo4vmiefktn9EQlcaSg/fLaUJZFhef1A42r0g4OtHrGcvEG25n6b7RH\n6rgpKQn6GG+7bfmzK5bxWAdSjumd+0PwH/ymcbL7y1itr6KUGWXsQ0K78Ben\nCwaBc21kQQch/kE9BF6fIRVO0Vtxg+F8vBwNQYisBIjhHPlNW1FG1gIhiEpm\nhVO5Q5bZFBziY3Grzc54BPm7W7kjBOyOnaFmdb12tbS7eHZ7c/KlPP/CFSaX\nM7SaJY7Jv+jTxhLn9z0uPhMGK63cWKPBv2o6ICj9eQOFDY8qQwAw7aOLtZQl\nG1aR\r\n=5rLP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHXsQYiRDUD7FFq2lwiPFGJUde0sWeBldKJa+U2BYP0pAiEAh7Vktrcd4+CUr15d2pP+jQJJ+TgTAS0MkFpv2MATxHU="}],"size":7602,"noattachment":false,"key":"/@hint/hint-css-prefix-order/-/@hint/hint-css-prefix-order-1.0.2.tgz"},"maintainers":[{"name":"antross","email":"antross@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-css-prefix-order_1.0.2_1551998635820_0.8107188449008855"},"_hasShrinkwrap":false,"readme":"# Prefixed CSS first (`css-prefix-order`)\n\nEnsure vendor-prefixed versions of a CSS property are listed before the\nstandardized, unprefixed version.\n\n## Why is this important?\n\nWhen multiple versions of the same CSS property are specified, the last\n*supported* one will be used due to how browsers handle\n[fallback values][css-fallback]. This means the [order matters][css-order]\nwhen using both vendor-prefixed and unprefixed versions of the same\nproperty. Specifically, the unprefixed version must be listed last to ensure\nstandardized behavior takes precedence.\n\n## What does the hint check?\n\nThis hint examines CSS files looking for blocks containing both prefixed\nand unprefixed CSS properties or values. The hint then verifies the last\nlisted version of a particular property in a block is unprefixed.\n\n### Examples that **trigger** the hint\n\n```css\nappearance: none;\n-moz-appearance: none;\n-webkit-appearance: none;\n```\n\n```css\ndisplay: grid;\ndisplay: -ms-grid;\n```\n\n### Examples that **pass** the hint\n\n```css\n-moz-appearance: none;\n-webkit-appearance: none;\nappearance: none;\n```\n\n```css\ndisplay: -ms-grid;\ndisplay: grid;\n```\n\n## How to use this hint?\n\nThis package is installed automatically by webhint:\n\n```bash\nnpm install hint --save-dev\n```\n\nTo use it, activate it via the [`.hintrc`][hintrc] configuration file:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [...],\n    \"parsers\": [...],\n    \"hints\": {\n        \"css-prefix-order\": \"error\"\n    },\n    ...\n}\n```\n\n**Note**: The recommended way of running webhint is as a `devDependency` of\nyour project.\n\n<!-- Link labels: -->\n\n[css-fallback]: https://www.w3.org/TR/css-2018/#partial\n[css-order]: https://css-tricks.com/ordering-css3-properties/#article-header-id-0\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1551998635992,"_cnpm_publish_time":1551998635992,"dist-tags":{"latest":"1.5.8"}}