{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-debug":"^1.0.1","@hint/utils-dom":"^2.1.1","parse5":"^6.0.0","parse5-htmlparser2-tree-adapter":"^6.0.0"},"description":"webhint parser needed to analyze HTML elements in JSX","devDependencies":{"@hint/parser-html":"^3.0.15","@hint/parser-javascript":"^3.1.5","@types/node":"^13.13.4","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.12.0","ava":"^3.8.2","cpx":"^1.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-markdown":"^1.0.2","eventemitter2":"^6.0.0","npm-run-all":"^4.1.5","nyc":"^15.0.1","rimraf":"^3.0.2","typescript":"^3.8.3"},"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":"cpx \"./{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.6","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.0.6","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-fcRBzrHrb/vHg/pAZ87B1cY4P5lQu7okPykkiKekvCZzvQNMoKLcKwO1eR4b7lv2qDdC+I0/DSYXZDI9J7NC3w==","shasum":"fb157eec4c48bcddbf13e5ac8d5ebd640da7ec10","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.0.6.tgz","fileCount":7,"unpackedSize":29531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewwmsCRA9TVsSAnZWagAAAKEP/iELUX0V3ACHtIQbaIeP\nnOcA+Hnz87IfVTyYAjJqkPAKNqiFPolcTUaKCRIZWVd/rekewcuJVkFP2+Gf\n4CNlmYv1Kd9Hk0naHZ3OaCZbRx1p0H/ybzfEeQVcZC5VkqhFfXF/tCtaJB9M\nvwExyAugAyPHfjc7jFdt1qR5erw9tFc5EvKp4vGsxwUyVmamBXEQhqCm+f1N\nm+EmtfroB2qIlWxlKDqw4b7WYG2pq+RVbWM7kFgFgB5DkvaTkBZZiukE61pF\ntEkPOuy+gDGus0BrWBrCXgep1uNcFYUkrnLZ35CbHiBURtRjZRYXOM7rq27B\nQVSUBljn1CG6uzrrWIzML9QcwH92qVFLlW3BG8kpNelJPKUYnWoG8ESREVJV\n/18UqzGrATZsgxVIRaA5sH65JaKbhFwY+xxYfLJWbCBIfBsteynrWm7LEa6Y\n4ApcQqXYNNNlWrK+bz0cnvxmEP30MKyO7dllI+RUMvkoZXzdRIgD8yshV0kP\nmvwnpsEyKd6Oahmd41b0gljGiZolaiNo//bosf2BktViw+3mvg3KNKScKq2X\nrc9uXd892W6tU7mqwgQwblESQ8L1hlMsDwDgK5ZmERw3gIFewNodKzUWNe09\n4XG+KIThTWTn39jJDj9uwn4WVHQ5pDjSMHmkoIDgDNzFYH1W0HzFTc+OBirW\naVgJ\r\n=DqfW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzTloZb40HwonE4Nv1Y8emgP9Pw0ZZganXjPPoB/VHmAIgZATs9YeLuhByWeqtFs7NKATjH7a7BTicfk1KGH9Yz98="}],"size":9601,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.0.6.tgz"},"maintainers":[{"email":"antross@gmail.com","name":"antross"},{"email":"John.Emau@microsoft.com","name":"johnatms"},{"email":"amolleda@gmail.com","name":"molant"}],"_npmUser":{"name":"johnatms","email":"John.Emau@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parser-jsx_1.0.6_1589840300104_0.742943852314262"},"_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":1589840300232,"_cnpm_publish_time":1589840300232,"dist-tags":{"latest":"1.1.6"}}