{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-debug":"^1.0.4","@hint/utils-dom":"^2.1.5","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.19","@hint/parser-javascript":"^3.1.9","@types/node":"^14.14.22","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","ava":"^3.15.0","cpx":"^1.5.0","eslint-plugin-import":"^2.22.1","eslint-plugin-markdown":"^1.0.2","eventemitter2":"^6.4.3","npm-run-all":"^4.1.5","nyc":"^15.1.0","rimraf":"^3.0.2","typescript":"^4.1.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.10","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-jsx@1.0.10","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-8bPU/xgBWEB6E8zqphsEPLM5nNBqyzjunlAkmtdLHBjwBQ/p5aJHBrLA+doCyAmRatJBMoPZxicluJsDv4AspQ==","shasum":"4cccc687af435302df9da9ebbe75573434937803","tarball":"http://registry-npm.ywwl.com/@hint/parser-jsx/download/@hint/parser-jsx-1.0.10.tgz","fileCount":7,"unpackedSize":35841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHEvcCRA9TVsSAnZWagAAH74P/ilUaRc4JnAHRn+hsjU9\n58JVgWkihpEBye78oaCI8m8iHvrFQMCtdrr2NVKwIqXPQC3xzajrPMGRWil/\n03cdWceGXF/1tio/z/sov98gzeRIzYiOucM/v+UroybqbUpTboq/bBu4YAB0\nrbR7e8upKSwBajN3P/CPXUqOT61HJdad1gGK2Wm9ve7g3r8b/vTck4eXOELX\nsPBhrZ5dgyAEbT08EP8d26h4lzcA3TW41iHRnysq2dJpb0FVcxPxPOlZr6p0\nVnkpHacq1QhWQsgnQeCEdDml49ivEqs5wghk1caUrByYWof0KXyHOTda9xqu\niOmWkL997kowW8cwfz9EghbImXInJng6I2MeMbteodA8cfIrDF0wdOwOlTsX\nQsu+nwTBfgm0lFTz5rBlEIHJ3TWbhadnvQGVnpfdzBy6d7+cTUdJVWoPL5jW\nGov9HdZ3/cPY3/+ONU/+89OMs0nl+nKKqwKGMns1+f47uIwMV5Idj/j0I4HN\n1TEM2T4sbQQiQrQMo4Tmy0hkoVMerU4pRXL9vnr/fwFw9lTTAFxHJP4XDWcs\nKzba0QXHXaTpm76YHVpE380rIFNeRaarFdmo0bXvTuU6Lj8x1QxBBm5gHWP9\nm7SIAG+DbLWCflgoMfxDmMZDPTwLdd77yiBI58dywTWIeiVrCSEAaTTXwNj3\nAuAe\r\n=XMSN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsFOQIf6qT5y+Tdbo0KMc46WZiR9DQsd7eZ+E2KRig5AiEA4+qLrp+lu0Y+pfJE33uQCb9i65Km9589EAX/yhlclEw="}],"size":11015,"noattachment":false,"key":"/@hint/parser-jsx/-/@hint/parser-jsx-1.0.10.tgz"},"_npmUser":{"name":"sarvaje","email":"jdgarcia@outlook.com"},"directories":{},"maintainers":[{"name":"molant","email":"amolleda@gmail.com"},{"name":"antross","email":"antross@gmail.com"},{"name":"johnatms","email":"John.Emau@microsoft.com"},{"name":"sarvaje","email":"jdgarcia@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parser-jsx_1.0.10_1612467164258_0.06383479736664133"},"_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":1612467164437,"_cnpm_publish_time":1612467164437,"dist-tags":{"latest":"1.1.6"}}