{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils-css":"^1.0.14","@hint/utils-debug":"^1.0.10","@hint/utils-fs":"^1.0.15","@hint/utils-i18n":"^1.0.14","@hint/utils-types":"^1.2.0","postcss":"^8.4.13"},"description":"Ensure vendor-prefixed versions of a CSS property are listed before the unprefixed version.","devDependencies":{"@hint/parser-css":"^3.0.37","@hint/parser-sass":"^1.0.29","@hint/utils-create-server":"^3.4.24","@hint/utils-tests-helpers":"^6.5.4","@types/node":"^18.13.0","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","ava":"^4.3.3","copyfiles":"^2.4.1","eslint":"^7.32.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","postcss":"^8.4.13","rimraf":"^3.0.2","typescript":"^4.5.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":"^7.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.5.4","types":"./dist/src/hint.d.ts","gitHead":"722be1b4c0836d5c0adacfb00c8c4f6bc5d1e707","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-css-prefix-order@1.5.4","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-M8Xn7aoWnGM4qflQseZW6RadAHj9ar+38++7yNcFs7se903ev8QuvyNiv/qyfMWqXxnoxbJH2ceb6ZwZTPtJ9w==","shasum":"b6c482ea367eb4f1482f7ab620c5db6718945ba6","tarball":"http://registry-npm.ywwl.com/@hint/hint-css-prefix-order/download/@hint/hint-css-prefix-order-1.5.4.tgz","fileCount":13,"unpackedSize":23575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSLS1uU5LtEyOunkqX24ZtyjN58IuB92OMbphL9RlEOAIhAIbAAkDJ+Hb5ckVI6CNgt6CPfzm6MmWtgFq4LbsdaHlk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE50PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpcmg//SwPz9UpZIgiAdSQOAim5t4YbHSbx/+82lQSU6aKSaJeDdyRu\r\nSOKIwoGPslm8NkprRO+vzIaPNuA9dQZE7JC5luLCf3f/MQz3BxtI5VoOvFUJ\r\nTFIAJH7+dodcWRTBQndFKSOLKugU4V3VzFR+1CpX7/qttOIH/W4MhLHFjOJL\r\nvdaf9i9C6rm23qKK2Eczh442j9bPhAR1TjmDpzNu80mkoDtdFKkDi7yyN+0N\r\niiizJEMaRniFKsI0Vc/pzOd5saxj669dEW4tKvYenUVxlMEWkBbvJLa+Kg4V\r\nlgUgtijO4ZkPEvWhk3trf9kp8YCyrcC69D0czKx8MSLbydTKIs1SVfWTP7w0\r\nPUMbzSJLG6gFA45KkqZfmf+iA3mCDriDbId3L7DKg+lqdOKv56UO46VnRPpH\r\nP5CEyRwwPiDn7kCN8EFLwoFFvd1PiFSzWpIusRtNixuY5dKrSXHX4XHU6WPX\r\nISjVvcf0OEJiaY+wMGW80Hrj4tkh7UnwMchp6kRBqUS6IueHHCQcj9vXWVNC\r\nuSMFUgWXVMIDcsYqBisZ/oXLEfIu7RZmTIhHWo5Jwhzl3MkusrLDJTV4yvnw\r\n/MaxToUKqQumaSKCC9KuEwTcWx2r28UW0A6zQoNfWnG0BQEyK9Njm8e3UAiY\r\ng8p0ljTDcPR3hVGmC15sSGqUR9R3IKM5xyQ=\r\n=SUtZ\r\n-----END PGP SIGNATURE-----\r\n","size":8113,"noattachment":false,"key":"/@hint/hint-css-prefix-order/-/@hint/hint-css-prefix-order-1.5.4.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"name":"leotlee","email":"leolee@microsoft.com"},{"name":"vidorteg","email":"vidorteg@microsoft.com"},{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-css-prefix-order_1.5.4_1679006991275_0.06201834112346405"},"_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":1679006991418,"_cnpm_publish_time":1679006991418,"dist-tags":{"latest":"1.5.8"}}