{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils":"^2.1.0"},"description":"hint that that checks if a web app manifest file was specified and it exists","devDependencies":{"@hint/parser-manifest":"^2.2.0","@hint/utils-tests-helpers":"^5.0.0","@types/node":"^12.0.2","@typescript-eslint/eslint-plugin":"^1.9.0","@typescript-eslint/parser":"^1.7.0","ava":"^1.4.1","cpx":"^1.5.0","eslint":"^5.15.1","eslint-plugin-import":"^2.17.2","eslint-plugin-markdown":"^1.0.0","hint":"^5.0.2","npm-link-check":"^3.0.0","npm-run-all":"^4.1.5","nyc":"^14.1.0","rimraf":"^2.6.3","typescript":"^3.4.5"},"engines":{"node":">=8.0.0"},"homepage":"https://webhint.io/","keywords":["manifest-exists","manifest-exists-hint","webhint","webhint-hint","webhint-recommended"],"license":"Apache-2.0","main":"dist/src/hint.js","name":"@hint/hint-manifest-exists","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"@hint/parser-manifest":"^2.2.0","hint":"^5.0.2"},"repository":{"type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm-run-all build:*","build-release":"npm run clean && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","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","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":"2.2.2","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-manifest-exists@2.2.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"antross","email":"antross@gmail.com"},"dist":{"integrity":"sha512-vjYXVsPDSxKTZmwvIllAEvQ9ny8+ssQR9rtGkGJwNQtkqvbzmZjWzG8Tl47cpKuE0+Awc4MPCxbdRSv5y3dVJQ==","shasum":"fc86a01475bfffc59ef4329a8ca9cf015c6fd6bb","tarball":"http://registry-npm.ywwl.com/@hint/hint-manifest-exists/download/@hint/hint-manifest-exists-2.2.2.tgz","fileCount":10,"unpackedSize":29846,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5sEECRA9TVsSAnZWagAALmsP/RNJ/P7wktRn3axZOoUP\nB8y5as+HbzD141bVMCFN75hDJEldUW3z0ggarXYRe2H3S/EX6VBTWByJ9ktz\nvhKiFxFq0PFPxC0b0fK7fQolrAwm7l0Xrc4sT063AxdwSVKtQCMj3pu/a3xM\nw6/W8mRuUUKAzXogjRWRitQIeMNh1gT381vUKOV/7EfmCNdvyLvHhtsTKN9w\nX0Bq/9Ba4NiQ+Usb0JUfUiuB5LYi56QIZfCO56nHcusyNA8gJEiKoTkW1HLC\ne3TRRJYIvyk5MB963nGfwhxWHHqdbKhg1G+Hb9FpR9k6fxgEQC4oh1lIK/PT\nB30zdCUUG0op+QoVGAHwl/C5ii2DMdovpPYQT1Z95tdqnbnATv6BAmWyWksX\na9H8h1yNWucSpwkn1JKuxXsuiUZYNDKJaoJ8SX4WJuBOwcvx9y1W5sS1I1Uc\ndQTxls6DdY7Tdk40QymgegsqG1CnaDiD39Jxk9cqJT85MjeHb8pr/esyVoRj\nTAOhuaznpCtyhTDNEiO/v96YY15rb2tJJvyoAdjyglZWwQyVK1F7NI0uof5p\n9hMnH/WvFmf0oj+F1ISmjYEIvNTzjSLe3jXrAg6ShnUWUS04No3lyAr2Es3+\n2D0i1SiV7P2/6O3qTT2X6Ykc3VwvUp03CBMAeEOJ6rQVKh6z4/WCdbNq2vuq\n4qEg\r\n=FD6N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhNNMZMrHF7AXM8yJvMyD/pD1dSaHtg32EDtcNjRvKgAiEA/Ue7OBMPqSRLCr/Xc/c5aj1HJrR+EVY5ls5wrQWziDs="}],"size":10004,"noattachment":false,"key":"/@hint/hint-manifest-exists/-/@hint/hint-manifest-exists-2.2.2.tgz"},"maintainers":[{"email":"antross@gmail.com","name":"antross"},{"email":"amolleda@gmail.com","name":"molant"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-manifest-exists_2.2.2_1558626564166_0.6004547020989806"},"_hasShrinkwrap":false,"readme":"# Has web app manifest (`manifest-exists`)\n\n`manifest-exists` warns when a [web app manifest][spec]\nfile is not provided.\n\n## Why is this important?\n\nThe web app manifest file constitutes a standard centralized place\nto put metadata about your web application, and providing it:\n\n* informs browsers (and possible [others][windows]) where to look\n  for information about your web app, information that they may need\n  in different contexts (e.g. what icon and name should be used if\n  your web app is added to the home screen)\n\n* is an essential piece in the context of progressive web apps,\n  being one of the signals used by some browsers (e.g. [Chrome][chrome],\n  [Opera][opera], [Samsung Internet][samsung internet]) in deciding if\n  they will show the add to home screen prompt to users\n\n## What does the hint check?\n\nThis hint checks if:\n\n* The web app manifest file is specified correctly in the page\n  (i.e. the page contains a single, valid declaration such as:\n  `<link rel=\"manifest\" href=\"site.webmanifest\">`)\n\n* The specified web app manifest file is accessible (i.e. requesting\n  it doesn’t result in a `404`, `500`, etc.)\n\n### Examples that **trigger** the hint\n\nThe web app manifest file is not specified:\n\n```html\n<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"utf-8\">\n        <title>example</title>\n        ...\n    </head>\n    <body>...</body>\n</html>\n```\n\nThe location of the web app manifest file is not specified:\n\n```html\n<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"utf-8\">\n        <title>example</title>\n        <link rel=\"manifest\">\n        ...\n    </head>\n    <body>...</body>\n</html>\n```\n\n```html\n<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"utf-8\">\n        <title>example</title>\n        <link rel=\"manifest\" href=\"\">\n        ...\n    </head>\n    <body>...</body>\n</html>\n```\n\n```html\n<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"utf-8\">\n        <title>example</title>\n        <link rel=\"manifest\" href=\"site.webmanifest\">\n        ...\n    </head>\n    <body>...</body>\n</html>\n```\n\nMore than one web app manifest file is specified:\n\n```html\n<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"utf-8\">\n        <title>example</title>\n        <link rel=\"manifest\" href=\"site.webmanifest\">\n        <link rel=\"manifest\" href=\"another-site.webmanifest\">\n        ...\n    </head>\n    <body>...</body>\n</html>\n```\n\n### Examples that **pass** the hint\n\n```html\n<!doctype html>\n<html lang=\"en\">\n    <head>\n        <meta charset=\"utf-8\">\n        <title>example</title>\n        <link rel=\"manifest\" href=\"site.webmanifest\">\n        ...\n    </head>\n    <body>...</body>\n</html>\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-exists\": \"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[chrome]: https://developers.google.com/web/fundamentals/engage-and-retain/app-install-banners/\n[opera]: https://dev.opera.com/blog/web-app-install-banners/\n[samsung internet]: https://medium.com/samsung-internet-dev/what-does-it-mean-to-be-an-app-ace43eb6b94d\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n[spec]: https://www.w3.org/TR/appmanifest\n[windows]: https://medium.com/web-on-the-edge/progressive-web-apps-on-windows-8d8eb68d524e\n","publish_time":1558626564283,"_cnpm_publish_time":1558626564283,"dist-tags":{"latest":"2.4.29"}}