{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-debug":"^1.0.0","@hint/utils-dom":"^1.0.0","parse5":"^5.1.1","parse5-htmlparser2-tree-adapter":"^5.1.1"},"description":"webhint parser needed to analyze HTML elements in JSX","devDependencies":{"@hint/parser-html":"^3.0.12","@hint/parser-javascript":"^3.1.2","@types/node":"^12.12.12","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.12.0","ava":"^2.4.0","cpx":"^1.5.0","eslint-plugin-import":"^2.18.2","eslint-plugin-markdown":"^1.0.1","eventemitter2":"^5.0.1","npm-run-all":"^4.1.5","nyc":"^14.1.0","rimraf":"^3.0.0","typescript":"^3.6.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":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives","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.3","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.0.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-wlPr89o5aREQ+Pw5MZ3crj7I8w+3cx3H8GgnWi4Pq1QwylFEO1rCA/Yd7wQcN/GkYvufjyecO5wv80UrbpqG0Q==","shasum":"1e2f9e678d546e451232e91422c4352aafc36cb5","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.0.3.tgz","fileCount":7,"unpackedSize":35571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6FRwCRA9TVsSAnZWagAAXQEP/iWulV3Y3jPxoYUyfm/7\npcHuVFIbpN6gA4aI8bC6q+D2YXA63BbdDBukSJ2DCTt5dd7ooRSfxxez3eee\nk8IWZjLEw4kuCB7oPGShqpxRCIK8e1lmLxoMRlNcv4FBi/UNm7Ccc6Lqmlq2\nv1sTLK6gcHmSEVJ7S60+fkE9qvPN3OMfx6rdHmXLrb72j+Nwo8j19sM4HL3y\nKa/Z3OhZMND+KPxW7yQHK/juSL8TyVS88HcZpfz5WP5cnGs3U3ZIn1liCWfl\nRP+BgSnnPnshKTZ3TsWaIKfhPre8ay3HhX7LyWCsXqz23uwbuSwFtu/siYwk\n6W+3MMifcmVo5U50dzne9jFtMWde0sJ4gwk4Z4qIjJbFMdm8O/Tf9HIyW4Ao\naEKY54ZN29YM1GMTV/69onUqsQ0K9r/AAXTV1JXZm+aB7HPXEnE4FduzyWX4\nhk4Dd1iyiFCF50sefNPVnkGnrljqKZ62sYz23QeW7yLh64nsox9wZaDrDjnT\n3U7WhDz8h68bCAB1iLI4vXlNQn3cYPxhhfzVyY0MZ8nRRXMwJc+v7eKkb/sU\nPm4gD6hAvfxDg0HEvMnWFKbdBkNjULpQqS+poOpJmCLToGl5vQFPYQm0Gc5S\nfOrWAJUimki6Z1KRvf0522hX08jQSEWRVisfxoNbfX2bHIWM5yUoZf5kd+s1\naXuh\r\n=ASKJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2f3FDGKnugUWVsTh3Oz/oBiiZulQ0saG90jE1lna37wIgYWa2M19XWUveqWXQLN86ALPeBNFHHf4EGIunMbqGA5k="}],"size":11478,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.0.3.tgz"},"maintainers":[{"name":"antross","email":"antross@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"_npmUser":{"name":"molant","email":"amolleda@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parser-jsx_1.0.3_1575507055624_0.4517604222410272"},"_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":1575507055819,"_cnpm_publish_time":1575507055819,"dist-tags":{"latest":"1.1.6"}}