{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js","!dist/tests/helpers/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils-debug":"^1.0.4","@hint/utils-string":"^1.0.7","postcss":"^8.2.1","postcss-less":"^4.0.0"},"description":"webhint parser needed to analyze LESS files","devDependencies":{"@hint/parser-css":"^3.0.24","@hint/utils-dom":"^2.1.5","@types/node":"^14.14.22","@types/proxyquire":"^1.3.28","@types/sinon":"^9.0.10","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","ava":"^3.15.0","cpx":"^1.5.0","eslint":"^7.17.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","proxyquire":"^2.1.3","rimraf":"^3.0.2","sinon":"^9.2.4","typescript":"^4.1.3"},"homepage":"https://webhint.io/","keywords":["less","webhint","webhint-parser"],"license":"Apache-2.0","main":"dist/src/parser.js","name":"@hint/parser-less","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"hint":"^6.0.0"},"repository":{"directory":"packages/parser-less","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.16","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-less@1.0.16","_nodeVersion":"10.22.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-0fI1J/iRHgaNONhv5a9/ZcjW41oSaF2KUVpxxagQ3ojfF0OR7CnOKo2iqb8d3vzfY6y0yHGg743G+mD8cD/qJQ==","shasum":"f8493a0c1fd67eab2834e89d8c0b141929b65001","tarball":"http://registry-npm.ywwl.com/@hint/parser-less/download/@hint/parser-less-1.0.16.tgz","fileCount":7,"unpackedSize":38404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHeZvCRA9TVsSAnZWagAAaYkP/3vz3RvLlK5wvYBhSrQg\nXOzlf2Bm2FGCgDgq6+YSDRtgBZy4L3aJx2ICFf/7kvDk3bkNzpr8lmhlA/Zx\nNoTKCAZFfFkPE7E6PFRJX68Pk1VjT9oLXUouUo9xe2YCSJRx9jdxo6sMvx8c\naiU+FuxaBIa5PILpI1OLS2H+695+Jjt7cQbnO/I3nc6ojL4UPSksZQijTpk4\njdgZmShdJAKiuLHXEAehtT1JI1FvY7lVYPwyvcDhznCZioeIQ4MFCCZ5/KzU\nlW8qMypdDJ7sYvB6mmE13Wza34g8JfKVHnlWLvNDHs/ze6UQzhMOS/Yx2Tzp\n59qOxi+8WaP9SHZbatJ6GjVev4AZ+WuhF09znKleCMZ8iWfdv6RBol/YwSQX\nxjh+Hned2tw+MDGCtM6stx7EN+16czzT8tR4d28ZCvCxBJo9ITOKlbkAc53F\nhwQqd189oPv9sQGT2BBleJ8fcgWyuj6VHnzXvgDX/OtdAyqCACTdPK24D1/H\nkO/igNPWq4DlOQOUFAw7/1Gp4EkRlNFCb9RsNR1VKmVilkfPoaUhBd+oi3Iq\nhRvuksdRTlhZp/q7p9CS0BstEJL4V4mNrgSebnEvKWKzdmxG+z6DzL5wxgRd\nIw7hbi36R5OZjiaSIsmsEiSZfVCbsC0CcTQTVhAv8rKQk4WfJc1HLdLQCP6u\n6ViF\r\n=3XzN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvx5LaDGLswv3oPfyr3hVMSkbXjGZRAMl3+jDlllp0eAiEAlP81kCYlrQb3Lj4TkahisqYbru4caAtrmF/9zA5W5OA="}],"size":11306,"noattachment":false,"key":"/@hint/parser-less/-/@hint/parser-less-1.0.16.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-less_1.0.16_1612572271307_0.9595313567677697"},"_hasShrinkwrap":false,"readme":"# LESS (`@hint/parser-less`)\n\nThe `LESS` parser is built on top of [PostCSS][postcss] and\n[postcss-less] so hints can analyze `LESS` files. It emits the same\nevents as `@hint/parser-css` so existing hints targeting `CSS` files\nwill 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\": [\"less\"],\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 following events:\n\n* `parse::start::css` of type `Event` which contains the following information:\n\n  * `resource`: the resource we are going to parse.\n\n* `parse::end::css` of type `StyleParse` which has the following information:\n\n  * `ast`: a PostCSS `Root` object containing the AST.\n    See the [PostCSS `walk*` APIs][postcss-walk] for help navigating\n    the AST.\n  * `code`: a string containing the raw stylesheet source code.\n  * `element`: an `HTMLElement` reference if the source was inline\n    in HTML; `null` otherwise.\n  * `resource`: the parsed resource. If the CSS is in a `style tag`\n    and not a file, the value will refer to the HTML document containing\n    the stylesheet.\n\n## Limitations\n\nThis parser is not fault-tolerant (unlike `@hint/parser-css`) so only\nwell-formed files will be parsed.\n\n<!-- Link labels: -->\n\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n[postcss]: https://postcss.org/\n[postcss-less]: https://github.com/shellscape/postcss-less\n[postcss-walk]: https://api.postcss.org/Container.html#walk\n","publish_time":1612572271491,"_cnpm_publish_time":1612572271491,"dist-tags":{"latest":"1.0.31"}}