{"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.1","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.1","@hint/parser-javascript":"^3.1.21","@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.2","types":"./dist/src/parser.d.ts","gitHead":"64f0d5cf033aa97b12ef161d91e00bd2f750da6f","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.1.2","_nodeVersion":"14.20.0","_npmVersion":"8.14.0","dist":{"integrity":"sha512-h2w2NyGYRbZYFMw2nteW/Zfn2iXscthgbS78RZJsBdoGItgYS/AGwN6VUW/28q81FbLpFPFNzrADYCo14lVXdw==","shasum":"de15f6ccb540d2c5037178c7bf63c9cb2c461988","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.1.2.tgz","fileCount":6,"unpackedSize":23893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfbbrPeL1PTl1bi61CES8LAcWYUo/pVQI81ivk7bANrAiAj2CmTZpmK1wbwJIaLGXIT2Qv08mvvwiM2LDMGAsuDMw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF3hEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqr6g//YOZnxoAcha9wlze6olUWZ0y/o/RnWINxPonTgmoQtiQ/yx4T\r\nx0/VULC/x8fxnJWVLyHCIp5Ie124DFR3kRr5ZJqJGDGLprawUnWVc847t1xx\r\nE3KE/CL+y/+CIKsRyKEF3uIN0DaAqU9g+D73FTsOQpMSKqx0/oCfzfx8qdIJ\r\nvxRPp0EiEF1i1FnKxXW75q2LNr9sJ6pJMVtqmgbYRIwHqcVvE3iIxefIfKOs\r\n+gUJLvbMpI6f4jaEGrAZzu6ACeWFz4DGXpPQC7JBeyrb67bEKW84UrFVJa8P\r\nR/1NnEmyDGzvrrZbKok6PUMU70krd3ubtw8N30qCMtpvEcw4o5xrG3UOqP9b\r\ngZ4KRuOv/4Re/LdUOuQg+FpBkmIiDcCHN/yjvsc80or7BmnhlabdbzadwN46\r\ncoub0edZB+lO6nRn3+5y9nl+wJT/4UO++OxV+81j43DpqXTPgp8q3FSZ0UZt\r\n/Lg8QKV2NQ0XIu6mmPCSOqsSF/BaegqAVAtioo0F0DFsyNyxJRbWWe5lUjAW\r\nuKsVxZevsKPQn/fbXlbEhLHyoC4XZhSSlGZ3lgfGwk6FpWZ0X4AC6BfAewKP\r\nzHmK6X8WTPqU+oS896i7mNWiDBkUyYtFFBrMgVn+NRHOhDFCZYn2w8hwovWK\r\ncXK4rksU+sR3qhd1/te0DBogNBOp8PK2zCI=\r\n=OHxr\r\n-----END PGP SIGNATURE-----\r\n","size":8098,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.1.2.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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parser-jsx_1.1.2_1662482500681_0.36766209097808566"},"_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":1662482500923,"_cnpm_publish_time":1662482500923,"dist-tags":{"latest":"1.1.6"}}