{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-debug":"^1.0.5","@hint/utils-dom":"^2.1.6","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1"},"description":"webhint parser needed to analyze HTML elements in JSX","devDependencies":{"@hint/parser-html":"^3.0.20","@hint/parser-javascript":"^3.1.11","@types/node":"^15.6.1","@typescript-eslint/eslint-plugin":"^4.22.0","@typescript-eslint/parser":"^4.26.0","ava":"^3.15.0","copyfiles":"^2.4.1","eslint-plugin-import":"^2.22.1","eslint-plugin-markdown":"^2.2.0","eventemitter2":"^6.4.4","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.2.4"},"engines":{"node":">=8.0.0"},"homepage":"https://webhint.io/","keywords":["jsx","react","webhint","webhint-parser"],"license":"Apache-2.0","main":"dist/src/parser.js","name":"@hint/parser-jsx","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"@hint/parser-javascript":"^3.0.0","hint":"^6.0.0"},"repository":{"directory":"packages/parser-jsx","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":"copyfiles \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","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 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":"1.0.12","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.0.12","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-13eyxbVkMDwdkkHS416W997gxUDll9XEh02qWau7+Fo/wJlC3srLerZzz0vvupoCGw1pQqvmZgx/9Bkz7+80AA==","shasum":"51a8b729a6f2f3e7bee0c30a1d0b522875da0cb1","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.0.12.tgz","fileCount":7,"unpackedSize":42226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwRKrCRA9TVsSAnZWagAAhM8QAJhYN42+zGDLkWPLPbVi\nXrrk53pj1l3slNdpy1zIhsC4QRNuvsBxgKOttypfDvrTMTuRFbq+f4+cbC9h\nunPrEdLkxkUgijjjBch2F2TrBKP+yxTolaGwYlNPM9+m4EfMYuDKOpHCqytR\nBV/fUzD02hSrFP0d8lJxBsUn/IGKYJ0wG8F3ldlJHTb/J24Ph2S9bICiO5P5\noFpdiBvSdRUO/5Qz6+o9hioUA6ntLTYcZ89EzkF4V5AmQNzP/68+ImX3bt5P\nZMlG0TDYdkd5oZMF2yRjkSynND8vMlcF7UST2vrK7ARWhi0U0qi1RfMSBvjA\nxCL/keY/tED7qyYIuudU+2Nek1ps+hdpPDDeFmmROKDOdrfFzm4jeeblWiUx\nisNM7VFO+Z2WGVJniyykyhAejTpKKVWzdTpnyx3ExGC8cKmTJCO6kOAE7mUY\n8xmLXwpRHdQJrxEOoQRLH3yvXKZWZoTfCElvF4lwNS93xXkec0kQ+blOPNUb\nnIWbCZcIUQrF2w/yfhaf7qU9vIAR7+wv0luYvaXaetmdt6ztSn+2JCOUkP9n\nUXbd/DswuV0f/uxp3pGJiks1P5R2XcBmUO4PxMnge0NWRbFm12nuoSML1iuT\nviFZPx7Voa7CexuwW0H9Ndyr5mGj419aAFfCgLYaycnjWN3tvYxU2lNY1Rt8\n9jjc\r\n=dZ8t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuXSA8h+2a0/ZUIKK0A8cTxsAKwkrPXPSgzAUEhRl4LwIgbrUYcevRyCZv1cL+nNm7Xa6wGMoLoc7Fs0r85pyN7fs="}],"size":12185,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.0.12.tgz"},"_npmUser":{"name":"sarvaje","email":"jdgarcia@outlook.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/parser-jsx_1.0.12_1623265963061_0.32476670016918674"},"_hasShrinkwrap":false,"readme":"# JSX (`@hint/parser-jsx`)\n\nThe `jsx` parser allows hints to analyze HTML elements from `JSX` files.\nIt operates on ASTs received via `parse::end::javascript` events and\nemits the same events as `@hint/parser-html`. This ensures existing hints\ntargeting `HTML` files will work without modification.\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        ...\n    },\n    \"parsers\": [\"javascript\", \"jsx\"],\n    ...\n}\n```\n\n**Note**: The recommended way of running webhint is as a `devDependency` of\nyour project.\n\n## Events emitted\n\nThis `parser` emits the event `parse::end::html` of type `HTMLParse`\nwhich has the following information:\n\n* `document`: an `HTMLDocument` object containing the\n  parsed document.\n* `html`: a string containing the generated HTML source code.\n* `resource`: the parsed resource.\n\nAnd the event `parse::start::html` of type `Event` which has the\nfollowing information:\n\n* `resource`: the resource that is going to be parsed\n\n<!-- Link labels: -->\n\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1623265963227,"_cnpm_publish_time":1623265963227,"dist-tags":{"latest":"1.1.6"}}