{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-fs":"^1.0.10","@hint/utils-i18n":"^1.0.9","@hint/utils-string":"^1.0.9","@hint/utils-types":"^1.1.4"},"description":"hint that that checks if the web app manifest file has the correct file extension","devDependencies":{"@hint/parser-manifest":"^2.3.3","@hint/utils-create-server":"^3.4.11","@hint/utils-tests-helpers":"^6.3.5","@types/node":"^15.6.1","@typescript-eslint/eslint-plugin":"^4.28.5","@typescript-eslint/parser":"^4.28.1","ava":"^3.15.0","copyfiles":"^2.4.1","eslint":"^7.29.0","eslint-plugin-import":"^2.23.4","eslint-plugin-markdown":"^2.2.1","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.3.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":"^6.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.7","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-manifest-file-extension@3.0.7","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-uU8SKHWtCgXxGmHMnp7/1htLRYs5D4EWJzB0w4PC7GkHDAWTNimA5UrdBbVVU6aVb1n2n5nmHJlF+0wLesATgw==","shasum":"2da8fe161034d4066feeb235610f25f3cea5a0ca","tarball":"http://registry-npm.ywwl.com/@hint/hint-manifest-file-extension/download/@hint/hint-manifest-file-extension-3.0.7.tgz","fileCount":14,"unpackedSize":57406,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCemDY8evsTxWGUmgCV5Njbioj9OwFX0PTHnNlO/9NZ3QIhAIc3hee6tuDaHDy7Rsc+Fqq8pz0I8Kl69O4/8xyYGEU4"}],"size":15753,"noattachment":false,"key":"/@hint/hint-manifest-file-extension/-/@hint/hint-manifest-file-extension-3.0.7.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-manifest-file-extension_3.0.7_1634833189742_0.7974634034191646"},"_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":1634833189932,"_cnpm_publish_time":1634833189932,"dist-tags":{"latest":"3.0.24"}}