{"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.1.12","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.26","@hint/parser-javascript":"^3.1.17","@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"},"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.18","types":"./dist/src/parser.d.ts","gitHead":"86a21f9d09e2e0c824fff06081f329f0382af256","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.0.18","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-r6al5XAJfV2lYs0KUsF6iz7APOvBf+1M2LmofNSgPnAjbZzkSwZcnw2KAkUVaM6xOgsZtmBDnmhfJEy9+4E40w==","shasum":"390bb89430fdba73cf38690180c970c204f87cf0","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.0.18.tgz","fileCount":6,"unpackedSize":23183,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMq+6e3tZKiYNXQl8KHBf2axpIKRzjAgzQ9kWAhhFVvAiA3SupA41JXvKun6OwRcO+afn0hQsZs9rtIj1Tt96rzKA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicdqCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUjxAAmwmYhbzi4cnQhUxmqHqnUhnWZZV7WaA0Ou9X4LwOQxjXYuiJ\r\nL04/TSUjSeguCe/pI0bag+r6BMP/E5M5CAM8+mQ6LP2NVUTXi/jyTh+PNfBU\r\nJrEO2/QJwaJEmI7zAkCxButyH/PfrEJnhSwG8LvG3jXmGBZpUUVzXNtCDP+N\r\n8eW77m1B2A40HiHiZkSMQ3R6pUYxd7EIcLMYqmrpkStmvziHRddr3/xydThg\r\njnQnXSldtzp1nwRENcJ9HunNwA20sitfpSALq2XGjiTfufY1qtK9NWDHaESr\r\n7JRLn30Y9kf2smSG0FcgPQC3cOH8abN98MtobIINSERr1ue74cVXNPgWcYwW\r\n29TqBOtc4rJC3Gtw/TVrgUITaVlz/39wKVnSeUZCy4uW9i1MOwfrTp7Rc2zd\r\ndEqeKOqkOhBWPt93rjmjoE/0KUot9gxIdOxj0giGu14whmZyZ618Fx11aOzY\r\nAZoItcVN31JZzvqcjQzFMXmwHX/aphURvcQe1RJ/1bkki3TVeMOssXYGFHjn\r\ngaU77YCgJDSBKQDsvk51Q7E5gd0Wm9U7Mdf6wAKB5985yLnT3SPMVXwqheT/\r\ny02ZB1ufE1O+15FKFlhWxNvLIW9LkoAquwGvazCP6wxJpOLlf3Mg1HQ7GV+9\r\nsjCSvgTgQ3MBQlMIHJWjILfeSLY7cNQyIBA=\r\n=ffQO\r\n-----END PGP SIGNATURE-----\r\n","size":7907,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.0.18.tgz"},"_npmUser":{"name":"vidorteg","email":"vidorteg@microsoft.com"},"directories":{},"maintainers":[{"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.0.18_1651628674725_0.058185992605053194"},"_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":1651628674912,"_cnpm_publish_time":1651628674912,"dist-tags":{"latest":"1.1.6"}}