{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils-fs":"^1.0.14","@hint/utils-i18n":"^1.0.13","@hint/utils-string":"^1.0.12","@hint/utils-types":"^1.2.0"},"description":"hint that that checks if the web app manifest file has the correct file extension","devDependencies":{"@hint/parser-manifest":"^2.3.15","@hint/utils-create-server":"^3.4.22","@hint/utils-tests-helpers":"^6.5.2","@types/node":"^17.0.14","@typescript-eslint/eslint-plugin":"^4.33.0","@typescript-eslint/parser":"^4.33.0","ava":"^4.0.1","copyfiles":"^2.4.1","eslint":"^7.32.0","eslint-plugin-import":"^2.26.0","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.5.5"},"homepage":"https://webhint.io/","keywords":["manifest-file-extension","manifest-file-extension-hint","webhint","webhint-hint","webhint-recommended"],"license":"Apache-2.0","main":"dist/src/hint.js","name":"@hint/hint-manifest-file-extension","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"@hint/parser-manifest":"^2.0.0","hint":"^7.0.0"},"repository":{"directory":"packages/hint-manifest-file-extension","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","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":"3.0.19","types":"./dist/src/hint.d.ts","gitHead":"64f0d5cf033aa97b12ef161d91e00bd2f750da6f","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-manifest-file-extension@3.0.19","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-nLFFxjj8M7guCh3aV4fj+d4cJYS0wsQ23O0UXTAXs6Ongr//kBB3JEig/sT3dAiOCSJdCtNQQVfa2Nys2aGJ0Q==","shasum":"dfbc3100e39ad9d81602f53bf34d16d045f23631","tarball":"http://registry-npm.ywwl.com/@hint/hint-manifest-file-extension/download/@hint/hint-manifest-file-extension-3.0.19.tgz","fileCount":13,"unpackedSize":20370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+Detw8xBs7CvGkh1JRRE6V98MBJEmhSmUdJp9rUaHewIgfjEIScjTvXTBffTc8ESlT742rFvbayHMLn4vljGOjIQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF3gNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqd1w//acND066nHaLV4PZdx09okGqZj0shuSqOwrjXQOPLWs/vB1wo\r\nWRsSev+smWZDQe9DOekLubdDb+SPGYh6a4XZ3ghcLHbhQIo+Iu3ST76bdjjK\r\n0/foyS9OCpaPVt+vVBDC9URTjb142e6lY8GSiw8vw/ZGdvViLdC0IDHd4G9X\r\nH/TL+joKZyi6AHNAoBGxIfrcP8H7gvK2YxpJXM55KcXqoueQni9Kb/o8sGxG\r\neEdbOuIrtGgl8mkH+9i5VX2fPN3M85iY0B8WRqVfdqQ6SqnnOmUks271djqA\r\nPsGU8MS+cdE8j6a0eFSWSJ34G29PSWbbQHvWxTg4C+I3+KGDJU+NqiuYNs+y\r\nn5lJrVdfIt/2T7hAxJTIrK92fUj1D7hjGIH48iQBiPE9HeMO4jL7KUg0zfDx\r\nbXVDmOoA0P4RFhBANmwEgEj2dfQSLCwQKpyPIXWTShpjXzcJ69yI6y/FbHzZ\r\n+pc59teEqcWjfkPKfPGn7tNjVyPv3Xf6RfWncJ66sYp4eKxay1h6XAEVDqnk\r\nPKlIqDGelrBaPkc90wIqk7Hdjp7KzKUsvH3hd1M0TZ2CPnZACfbrAMpXb/YD\r\nP4Kc/V1o2gAQbmcGGho6F3G8ilngx1jXMyf6RZ6h5Bk3F0fW0b/hNdhHZys3\r\n8rxQildezF0Cw41o8KtHq8FgbHeE1MQGmEA=\r\n=FU80\r\n-----END PGP SIGNATURE-----\r\n","size":7392,"noattachment":false,"key":"/@hint/hint-manifest-file-extension/-/@hint/hint-manifest-file-extension-3.0.19.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-manifest-file-extension_3.0.19_1662482445554_0.47223816703138954"},"_hasShrinkwrap":false,"readme":"# Correct manifest extension (`manifest-file-extension`)\n\n`manifest-file-extension` warns against using non-standard file\nextensions for the [web app manifest][spec] file.\n\n## Why is this important?\n\nWhile the [`.webmanifest`][file extension] file extension is not\nenforced by the specification, nor is it required by browsers, using\nit makes it:\n\n* [easier to set custom server configurations][server configs] for\n  the web app manifest file\n* possible to benefit from [existing configurations][other configs]\n\n## What does the hint check?\n\nThe hint checks if the recommended [`.webmanifest`][file extension]\nfile extension is used for the web app manifest file.\n\n### Examples that **trigger** the hint\n\n```html\n<link rel=\"manifest\" href=\"site.json\">\n```\n\n```html\n<link rel=\"manifest\" href=\"site.manifest\">\n```\n\n### Examples that **pass** the hint\n\n```html\n<link rel=\"manifest\" href=\"site.webmanifest\">\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    \"hints\": {\n        \"manifest-file-extension\": \"error\",\n        ...\n    },\n    \"parsers\": [...],\n    ...\n}\n```\n\n**Note**: The recommended way of running webhint is as a `devDependency` of\nyour project.\n\n## Further Reading\n\n* [Web App Manifest Specification][spec]\n\n<!-- Link labels: -->\n\n[file extension]: https://w3c.github.io/manifest/#media-type-registration\n[other configs]: https://github.com/jshttp/mime-db/blob/67a4d013c31e73c47b5d975062f0088aea6cd5cd/src/custom-types.json#L85-L92\n[server configs]: https://github.com/w3c/manifest/issues/346\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n[spec]: https://www.w3.org/TR/appmanifest\n","publish_time":1662482445751,"_cnpm_publish_time":1662482445751,"dist-tags":{"latest":"3.0.24"}}