{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils":"^6.0.0","postcss":"^7.0.18"},"description":"Ensure vendor-prefixed versions of a CSS property are listed before the unprefixed version.","devDependencies":{"@hint/parser-css":"^3.0.13","@hint/parser-sass":"^1.0.5","@hint/utils-tests-helpers":"^5.0.11","@types/node":"^12.7.5","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.12.0","ava":"^1.4.1","cpx":"^1.5.0","eslint":"^6.5.1","eslint-plugin-markdown":"^1.0.0","npm-run-all":"^4.1.5","nyc":"^14.1.0","postcss":"^7.0.18","rimraf":"^3.0.0","typescript":"^3.6.3"},"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":"^3.0.0","hint":"^5.0.0"},"repository":{"directory":"packages/hint-css-prefix-order","type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run i18n && npm-run-all build:*","build-release":"npm run clean && npm run i18n && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","i18n":"node ../../scripts/create-i18n.js","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives","lint:dependencies":"node ../../scripts/lint-dependencies.js","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 build-release && ava","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.2.10","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-css-prefix-order@1.2.10","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-tlKuJQYcarmesVBWWJ8/Y3h0bemrbTutQZqtfVg30djEMkra/3QjGV+qsAh5aC0n7pN3pS7FqdsntOUZlerBqQ==","shasum":"7c35235df2e04e44816f4a6c8045e7c15cc3c9cd","tarball":"http://registry-npm.ywwl.com/@hint/hint-css-prefix-order/download/@hint/hint-css-prefix-order-1.2.10.tgz","fileCount":14,"unpackedSize":36141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdp3L4CRA9TVsSAnZWagAAvu8P/j+4ZK6hIx0zCzCNCu5J\nrX/trYMDd30RdCVDu2kdaeceSe2RZYCIh2EnMiAjlc7iwSM1Gnj7pFFfxh2n\n9cZ7c4we5qMBcwVj3qimuUlzGHLE/xskvJHTFNOuBDoA7CKqByqYwoQg+nuD\nf1C33mKKiXYJ3NSQgj72tFYYeN8/kZkCPrQZFE143N0+hkhLV764Vyq1oOw/\nOWDR6z4o4x3Riw9DHlQeV97ot7mniOVgxOlSSkRkMrSANJyMbmMV0rqwe72B\nznbiVC92h1M6NqU4doTxk36SCJO4SxiltQVD6AnaI5jVvpp04v9Gq7h6sJvm\nnauMP9EhzHceElEt1YagY4GjfJeVzzc6qGQv4T6T4z2bsmRNEeJW96HIoPZs\naCzfCsEH4uZXxhoE5wz1ybVHv9of7HrAxhb4LxDmSOZag29Qp3cOW3wl2Gw8\nwwvcTCnMMtb1lAMDNHzqHUbdhNde3HVc82tN8Jb4Uh69wtXUy9DT9p8yT9gX\nI1pqLKZ/E6vmSGombNn58Nn4jSJGgN5ALz0wCSVUWAkDVbqLgpIT/LLgtuVI\nzfUMDfIi+p4YpI0UH6wJt3ehty9ruPt4DKW1/Jf1+pI1t3hm7uA8wKDsTEbd\nZvuWh2ZvnivTEB5KDgKnCe7C0yhi/nQx8R5dY/vpzJl03ElPlL9uRW5yAESI\njNxm\r\n=w7yo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFBtSZUS0eZBPeJjy5baLk/BHg4rJ/iHLHCyoTgigpQ4AiAQu/hmENAUwdeOOUZP4gH8u+IlnyectvyOvZ45xvfXMA=="}],"size":11405,"noattachment":false,"key":"/@hint/hint-css-prefix-order/-/@hint/hint-css-prefix-order-1.2.10.tgz"},"maintainers":[{"name":"antross","email":"antross@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"_npmUser":{"name":"molant","email":"amolleda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-css-prefix-order_1.2.10_1571255032020_0.7938474848833041"},"_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":1571255032181,"_cnpm_publish_time":1571255032181,"dist-tags":{"latest":"1.5.8"}}