{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils":"^3.1.0"},"description":"webhint parser needed to analyze webpack config files","devDependencies":{"@types/node":"^12.6.2","@types/proxyquire":"^1.3.28","@types/sinon":"^7.0.13","@types/webpack":"^4.4.35","@typescript-eslint/eslint-plugin":"^1.12.0","@typescript-eslint/parser":"^1.12.0","ava":"^1.4.1","cpx":"^1.5.0","eslint-plugin-import":"^2.17.3","eslint-plugin-markdown":"^1.0.0","eventemitter2":"^5.0.1","hint":"^5.1.0","npm-link-check":"^3.0.0","npm-run-all":"^4.1.5","nyc":"^14.1.0","proxyquire":"2.0.0","rimraf":"^2.6.3","sinon":"^7.3.2","typescript":"^3.5.1","webpack":"^4.33.0"},"engines":{"node":">=8.0.0"},"homepage":"https://webhint.io/","keywords":["webhint","webhint-parser","webpack-config"],"license":"Apache-2.0","main":"dist/src/parser.js","name":"@hint/parser-webpack-config","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"hint":"^5.1.0"},"repository":{"type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm-run-all build:*","build:assets":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","build-release":"npm run clean && npm run build:assets && tsc --inlineSourceMap false --removeComments true","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":"2.1.4","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/parser-webpack-config@2.1.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"antross","email":"antross@gmail.com"},"dist":{"integrity":"sha512-C5d/bhq8OEnYNz/goeokLNpkjXZifU2XT4uMkuZR6YsifWIxIypoPawmkGxXDRIB5eyYz+I4gaOCDaV+87vYPA==","shasum":"aab5aed89186cb99f4bc9219f658edfe54bff617","tarball":"http://registry-npm.ywwl.com/@hint/parser-webpack-config/download/@hint/parser-webpack-config-2.1.4.tgz","fileCount":10,"unpackedSize":43047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOMveCRA9TVsSAnZWagAAKHgP/2RwdnacHIkcW8l3doXs\ntoyO2RPrW1GqNXIDF0zcDKx/U9GTAvZrfXL/EJ3UzX5oZDLae3A3pAoA8xzp\n73GJ0LqaOXrXsSqqECkhn+rzSmHqcdja07v2oXNCfrNURypcysAvZv4PJJfs\noETVYF0upO7Wdg3Qq3cHXwEq6FErOSHrljFyAArjixXhI8XY15VXgbIvSuaj\nsQy9x5x4IZVRGm4E3TkFSn0cNvnMnAT77s0+sAd8P4i9vOj02Vvd2Q0sgACa\nRD8uWjFj34K8j0lTkArC/xhOPABJDIltg7WClwtApAKmSvld5iNFk+nhUlam\ns4UEv03RKPW0JJQke3Md/uHKL+mRgdMA3sVu51vMlnPqk9mMWVV4OLkmXgNQ\n5oERa703NbMN8Gr1EkEwk/c068H1lX1xM800hIGsI6bdmY46f2+Daq4L07te\ng+ayxzX7e+PfXWcb8+usg31nsalwDSywHuqHrWqWjiM4Wqt97C8+KeF0JXay\n9P6vaXd3XSp8gIAaCXjI0XllZYaRr58bIIdoo9X3/5tZ5TboNcn7wgJioET/\nlkk2EARjCLie0rnGMQElAxgvyLg91S0pPudpVV87tbZHudY3CyRxdfp9uA1B\nVg9pKWq4cPKBZaPLHUD3623JtSAgS4hN+GhPpy8wlgfcg74n1mk2nbYx1uKn\n0HpM\r\n=dgdW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGEoRiGu3broDqm0GX+PmggFXi7XGtpURciwZJnP4Dh4AiEA+2igWK9VimPOCMA2AcKaxd6h/92/Z7nJJKUiVAJtcLg="}],"size":12510,"noattachment":false,"key":"/@hint/parser-webpack-config/-/@hint/parser-webpack-config-2.1.4.tgz"},"maintainers":[{"email":"antross@gmail.com","name":"antross"},{"email":"amolleda@gmail.com","name":"molant"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parser-webpack-config_2.1.4_1564003293118_0.07726732417189996"},"_hasShrinkwrap":false,"readme":"# webpack config (`@hint/parser-webpack-config`)\n\nThe `webpack-config` parser allows the user to analyze the webpack\nconfiguration in their projects.\n\nIt will detect if a webpack configuration file is present in your\nproject, checking the name of the file (`webpack.config.json`).\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\": [\"webpack-config\"],\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::end::webpack-config`, of type `WebpackConfigParse`\n  which contains the following information:\n\n  * `resource`: the parsed resource.\n  * `config`: an object with a valid configuration (`webpack.Configuration`).\n  * `version`: the webpack version installed locally.\n\n* `parse::error::webpack-config::configuration`, of type `WebpackConfigInvalidConfiguration`\n  which contains the following information:\n\n  * `resource`: the parsed resource.\n  * `error`: the error emited parsing the configuration file.\n\n* `parse::error::webpack-config::not-install`. This event is sent if\n  the package `webpack` is not installed locally. This event doesn't\n  containt anything else.\n\n* `parse::error::webpack-config::not-found`. This event is sent if\n  the parser doesn't find any configuration file at the end of the\n  scan. This event doesn't containt anything else.\n\n## Types\n\nIf you need to import any type defined in this parser, you need to\nimport them as follows:\n\n```ts\nimport { TypeYouWantToUse } from '@hint/parser-webpack-config';\n```\n\n<!-- Link labels: -->\n\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1564003293438,"_cnpm_publish_time":1564003293438,"dist-tags":{"latest":"2.1.42"}}