{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-css":"^1.0.10","@hint/utils-debug":"^1.0.7","@hint/utils-fs":"^1.0.11","@hint/utils-i18n":"^1.0.10","@hint/utils-types":"^1.1.5","postcss":"^8.3.11"},"description":"Ensure vendor-prefixed versions of a CSS property are listed before the unprefixed version.","devDependencies":{"@hint/parser-css":"^3.0.28","@hint/parser-sass":"^1.0.20","@hint/utils-create-server":"^3.4.14","@hint/utils-tests-helpers":"^6.3.8","@types/node":"^15.6.1","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.28.1","ava":"^3.15.0","copyfiles":"^2.4.1","eslint":"^7.29.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","postcss":"^8.3.11","rimraf":"^3.0.2","typescript":"^4.3.5"},"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":"^6.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":"copyfiles \"./{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,.md,.ts --ignore-path ../../.eslintignore","lint:dependencies":"node ../../scripts/lint-dependencies.js","lint:md":"node ../../scripts/lint-markdown.js","test":"npm run i18n && npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run i18n && 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.4.14","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-css-prefix-order@1.4.14","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1Rz02MCRhBxhHWvQ6qK7X6Tt1Wg5AuJ1oBcoDAtUPF5MdNJ3jy0oWcVxpbenZGye1a/5eHMgH+6dpXFI64yT0A==","shasum":"7cd7c5b9681244d6bfc158f3d1418dba1cf00f66","tarball":"http://registry-npm.ywwl.com/@hint/hint-css-prefix-order/download/@hint/hint-css-prefix-order-1.4.14.tgz","fileCount":14,"unpackedSize":61653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2KRpCRA9TVsSAnZWagAAm3EP+gNkhXS8zacysjcacBjz\nnzBDj2skwOhrpaBBk/ooLMslVpWrfYx1WjBiwkj0l8fO5BY9o9DoLW9FHL8K\nk7Hvwz57YI9owfcW2d4htIBS3Mx88whra6k7bnRtTRWm/mnRNY14qqPVtPPb\nipxtzVQHoulnQUyCTcc1BLNIZgfYmd67SLIIswkjn6UJ7737CSQ4kz2HRAJy\n4IL0CNQofS0MiZvMe1wyTkcmydf3AaiXAxJB2yFQI5nTIl3od3+lsEPDn/Rl\nAkNW8g4e1YRbqwmkE7hPtPzhEMm1q46jr0Bq/S0M5eOSLeSbX/NAi4zN7Nxk\nN6qVPZFRs62qaMS+Rkh9E8AMQto03Gpb/ggmXhnnR6EQZyKcDt19qB6jSjGu\nAK3YU84zy7RtLWxn5bVoWY2oPwLuXlor4YVZBvERx2biKTLNkYd3wpKIfeT7\n6ZJcQakCPXBUERaPhS9Fbn5uRkfbzHqZomXqGAW5dkZQij30QTnTmlz2P3ZJ\nnOW/z4ODcGKrLfP4JnnGoXsND9eQ+zNi78Hn/wK5qN3K0096UdpL+G/IrzoB\n1N+8iNn0DV6qfnt8bph6Mk30GzXaooFFXkSMMSnOlX83GnYTDav433wm3ojw\nf2TcG5XKHWP+5SJrECT/3bUUyfWoS66XYGePkcGGIss0c7z36/qQd4QpRqLO\nPeEx\r\n=bish\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+sYazboJ7/TvatQvrNE118VbHOMfUQrXZ42YV0WI3VAiBvWXLcRdVJgeQJ96UgqB9xRhjcJxsJhfWA6xUkpiafGg=="}],"size":16725,"noattachment":false,"key":"/@hint/hint-css-prefix-order/-/@hint/hint-css-prefix-order-1.4.14.tgz"},"_npmUser":{"name":"antross","email":"antross@gmail.com"},"directories":{},"maintainers":[{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"},{"name":"johnatms","email":"John.Emau@microsoft.com"},{"name":"sarvaje","email":"jdgarcia@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-css-prefix-order_1.4.14_1637006933799_0.9389197360621582"},"_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":1637006934009,"_cnpm_publish_time":1637006934009,"dist-tags":{"latest":"1.5.8"}}