{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"description":"hint formatter that prints the results using the codeframe style","dependencies":{"chalk":"^2.4.1","lodash":"^4.17.10"},"devDependencies":{"ava":"^0.25.0","cpx":"^1.5.0","eslint":"^5.1.0","eslint-plugin-import":"^2.13.0","eslint-plugin-markdown":"^1.0.0-beta.7","eslint-plugin-typescript":"^0.12.0","markdownlint-cli":"^0.11.0","npm-link-check":"^2.0.0","npm-run-all":"^4.1.2","nyc":"^12.0.2","proxyquire":"2.0.0","rimraf":"^2.6.2","sinon":"^6.1.3","hint":"^3.0.0-beta.0","typescript":"^2.9.2","typescript-eslint-parser":"^16.0.1"},"engines":{"node":">=8.0.0"},"files":["dist/src","images","npm-shrinkwrap.json"],"homepage":"https://webhint.io/","keywords":["hint","hint-formatter","codeframe"],"license":"Apache-2.0","main":"dist/src/formatter.js","name":"@hint/formatter-codeframe","nyc":{"branches":80,"extends":"../../.nycrc"},"peerDependencies":{"hint":"^3.0.0-beta.0"},"repository":{"type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run clean && 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","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:md":"markdownlint --ignore CHANGELOG.md *.md","test":"npm run lint && npm run build && npm run test-only","test-only":"nyc 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.0-beta.0","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/formatter-codeframe@1.0.0-beta.0","_npmVersion":"6.2.0","_nodeVersion":"10.4.0","_npmUser":{"name":"alrra","email":"alrraa@gmail.com"},"dist":{"integrity":"sha512-OJ6u7MQV2DwTMS5l5ZjFX5S2AiY75WS20+LjQP3iMkjm3FLL+Vq1zUHyLRnBXA0O7s2gYaAfCsyIfJ4swljOvw==","shasum":"e136c6416511963811c4befefe6d41d66ce648e9","tarball":"http://registry-npm.ywwl.com/@hint/formatter-codeframe/download/@hint/formatter-codeframe-1.0.0-beta.0.tgz","fileCount":7,"unpackedSize":83785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTSTMCRA9TVsSAnZWagAAs1YP/0LIIJAb6xsa7hnS+DNy\nbhwrrhuo1spA9EhSZ5gN9QlyLDQuiSX4zsCAgsgobwcm8lkAViJbqpT3sRen\nfrCVWSBMsqC8x1XmyoJXmNVNF795E+DSH1YkE0NpY4qBsldEhGKpRnZLQ/A/\nfbWA+5SyJoVXM+mH2yUXDMvlKQLUhidRra8Yu5yAPFOKm4tcM6RQMXS9F7Rk\n2IgKLDVVWmGK4jYl2rcs/+XmPxEcAzQr7ublOtZIUbradC2OMl9E3BhMiEi4\nXHNKqFBPhUTXeTt96Y24lxnhVifpF1iDPjz6RZHTDVVowdWigkiffTNFNaJR\ni3ME2SX4Qqfs9SAtddSen//LbkvKvbogl8a8Vc2K91myfAoIKSXcaYFmaNTz\ngYKR2X+hM5/7Mv5cMKMYvYvAfGinqCffwf5HDnvCtAliItORHxel3qKNy0Cx\n57Hqi+DCoIHuB6w/aEcLN/o4zj56XjwK+WfgADK7+bs2NzMjQeoqM4gO0dSa\n788YsSRKiUUNOrifZ7+EKbUF5xAjx8a3Gfa6nO2AN45swvwRFWeoNJ1wK6uR\nJp4tGn+MohQkJo9hmAnSZ74uZGOsRqUrNVhyE88+C4991JV9Wal3Ir4sk59s\nN7WgK6ZCWsc8gpWyXcVc0hsM43z87DSQSHaAFJRBuyGwR2TPS8m2WP/TBlJ/\n7f/7\r\n=2Cgx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZkEP3w+v7zbFbFbXdcz7kbzFQvgr9M3vW0TuAFghQTAIhAKICv6K8ArAzi1mMm5smrvMgC0fABbSqDbLI7hk9tvs9"}],"size":68969,"noattachment":false,"key":"/@hint/formatter-codeframe/-/@hint/formatter-codeframe-1.0.0-beta.0.tgz"},"maintainers":[{"name":"alrra","email":"alrraa@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formatter-codeframe_1.0.0-beta.0_1531782348810_0.25160844695792295"},"_hasShrinkwrap":true,"readme":"# Codeframe (`@hint/formatter-codeframe`)\n\nThe `codeframe` formatter shows the results in table format indicating\nthe resource, line and column as well as the part of the code where the\nerror was found (if applicable):\n\n![Example output for the codeframe formatter](images/codeframe-output.png)\n\nTo use it you will have to install it via `npm`:\n\n```bash\nnpm install @hint/formatter-codeframe --save-dev\n```\n\n**Note:** The recommended way of running webhint is as a `devDependency` of\nyour project.\n\nAnd then activate it via the [`.hintrc`][hintrc] configuration file:\n\n```json\n{\n    \"connector\": {...},\n    \"formatters\": [\"codeframe\"],\n    \"hints\": {\n        ...\n    },\n    ...\n}\n```\n\n<!-- Link labels: -->\n\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1531782348901,"_cnpm_publish_time":1531782348901,"dist-tags":{"latest":"3.1.36"}}