{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils-debug":"^1.0.8","@hint/utils-dom":"^2.1.10","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.24","@hint/parser-javascript":"^3.1.15","@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-plugin-import":"^2.25.4","eslint-plugin-markdown":"^2.2.1","eventemitter2":"^6.4.5","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.5.5"},"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.16","types":"./dist/src/parser.d.ts","gitHead":"259226d420ada93e86c1ee0e5876251967abcf04","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.0.16","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-xhRmfIgIHhZmTbNiQ1/A45lF13pfBoEMXJxWxDCCarik5ogb7x94GWYxBWKikhGX2YbXjeeb5zRQnThGcuR+PQ==","shasum":"8577cba4301bbc3314b2757ec69a86b06319e681","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.0.16.tgz","fileCount":6,"unpackedSize":23182,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKkZbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosgA/+MkH1Rw8l2hOPWTZUabHpH8dwYBklT1rn/qvw5Gp8IQerIi0U\r\ngJqZOydUusoVvNFnVdJB7ehG9uiJdiivgABXoxGX0tIb2zzx9+XnA4LYVS1W\r\njAk4A/835pnkXVj2qDysD30XGVPqbkT/6xGCgbfFPcTWIEEUKX6GozbpCCjS\r\nd4OWqPgCi9PbIw7gwj8TThK1ziR8jCo6DlnV3gS0fEm8NfNtR4V02Uh2D7Mf\r\nZgy4D671+VywpWh/R9SH0B9GIPWh6LhPffiiUmgj+pZP6DeJC+kzbLj1JAjg\r\n02sWUiRKbeM1vMhBFFmh3f5jKSzZ/cSoGddA8+kuR+F5tEG9n+MayPmSm6HH\r\nCEyLszCCBU797brOZLatTGjZmTutOGYyNKncFLGqJTlrtDcY2pMvxkkos4L+\r\nt5acS1U8rmo33eVhfL1KcBWA8r08AxPVEhRv52qTc8X+3Afqxa+t/p9NM7F7\r\nfpDnFIXRjA00gwMcaeP12EyBBsSnhh5AmvF05IJRIfKneucgLRGJJv1x5P9S\r\nnxEtaOMZ2EyOC7G04UtxrvU7Sl1ElvYD8EsUOyxQfpaYiUThKM/QoBcf49ZV\r\nLRZd0xSnoVmbmteiVk2/j99mScTgXS76oHfEB3aqgXO/V16xbRXyJQnioQ5w\r\ny9RLcHIsY75qfkZTcAQUdMNXasGkf1RBIUw=\r\n=axs6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDg+vJywavaA5+KSBA3M19XT5yqrX6eQoAJQOvvuJ6M4AiEA2apk8vE2qw8sLIQ/gQDF3t30lOVg27JMzAICtKaxjM0="}],"size":7906,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.0.16.tgz"},"_npmUser":{"name":"oaflynn","email":"flynnolivia@microsoft.com"},"directories":{},"maintainers":[{"name":"oaflynn","email":"flynnolivia@microsoft.com"},{"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.16_1646937691381_0.16188734161672613"},"_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":1646937691533,"_cnpm_publish_time":1646937691533,"dist-tags":{"latest":"1.1.6"}}