{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m","workerThreads":false},"dependencies":{"@hint/utils-debug":"^1.0.10","@hint/utils-dom":"^2.2.0","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.1.0","@hint/parser-javascript":"^3.1.19","@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.26.0","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"},"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":"^7.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.1.0","types":"./dist/src/parser.d.ts","gitHead":"50e8485324a6c885c736d0b4d1ac8513d875f5c4","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.1.0","_nodeVersion":"14.19.3","_npmVersion":"8.12.1","dist":{"integrity":"sha512-NBd/gQglfyB7QcB1690k/JWjrcSaawxhIbRbvGtnXkQWnGC+FEXalZSEWsyJBVFOiPVtCE9TsbDWD2hYjaurFA==","shasum":"5035e6c985bc864486176bae6c7ddd9426b78ca8","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.1.0.tgz","fileCount":6,"unpackedSize":23893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDO33DTgVrboTU+nfrMmFi1i/G/2EJrfD8J5k8NnUZHwIgHKJGL7B0LNH1RL/ssKYLvmZutwJRJt9nYcbEJLeM5mQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyFR5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEqQ//bM3LXDSj0Vn2RsYRtkgEt8KyC8pyQaRHsSE5dSyWRj9wfye7\r\nWmH6YEorB1w7M+VRvEWza6sGqPWb7Ir1RqtPgrLloUh6ARJQuY78miV8vhB3\r\nDTzjCtknOBSwsyLT/a50VI6Brvh97UfGVFiRlhmKPOdZ/S70yv5d9FdJTGDJ\r\nPtfJhoPuFjC9yGXr3py3+1z+JN0XBE1PFg5XubD0Y8vbZVnnJ17OOwkvJvHn\r\n7ZMHdUQngsdFynd+wfB6SedY0ys6nlBRx8sRf3hQjHkUcMGjbOLAk64r9kWC\r\nQMJqGCF4ZkSnsYDunGgIDgRGjxSaRIUhrLm31CmLXOuxnMzIlcuHL3cyhzgA\r\nLkM+x0kslLBf/blWIhlZr5F5pRkLnqkVCy0WHBAtOPCgFdI0oOHnsNoqqgcv\r\n9ycwzLA3Owkv9eXkBOKP1J3Fs5SSxpcfqvmY75231myanpk72evNlE8KODIj\r\n/Kjv+wnlWuofpBQi4OkH0JlPLxjjJ3D6y3u2dpJ9l+v8FANkYZbOvkKPz1Ss\r\nwdM87ap6DyxRT+RzpZBLZo/qvDBJcUXG+f8sHRZZp3cLxOLlIq81dgydry/g\r\nVrQWUzvwgOngR7RRz+542ZgAthWyORh7agWu3EPqGtYI+UeFE9AlRwa2E5Ba\r\nGDl/8KvFPunfihd45lnKAr3YNZMNmWxjx8M=\r\n=GFiR\r\n-----END PGP SIGNATURE-----\r\n","size":8097,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.1.0.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"},{"name":"johnatms","email":"John.Emau@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parser-jsx_1.1.0_1657295993204_0.1145763004910687"},"_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":1657295993394,"_cnpm_publish_time":1657295993394,"dist-tags":{"latest":"1.1.6"}}