{"bugs":{"url":"https://github.com/hipstersmoothie/react-docgen-typescript-plugin/issues"},"dist":{"shasum":"aa5359bd90560283ee041629098cd278d31e4e8d","tarball":"https://registry.npmjs.org/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-0.0.3-canary.1.1efeefe.0.tgz","fileCount":8,"integrity":"sha512-+14SCriPoCYf8hE0y7WMAvSboTTldADuMRQJtfb/S9dtO4pbx47c3Nfsxtfsl2g0CS974pbbaxOwz/zFDu6IDQ==","signatures":[{"sig":"MEQCIFSo1qfWpzLpfWRKsn6n9uMfEEVsxO3IokkFjWXYFz9fAiAXxSzGi4joHcMcZPNvQGK0oA9qxutY6y35rFYT/exKdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4V0CCRA9TVsSAnZWagAA/MsP/0N20qQQbtKfY2H7Dju9\nuyiestObDU62YAXuSLLjkvvFZ9bPNhTCXdbOx/XX/UQHWGsdGEqvQ5iUA0mA\ndvk3PN2qBSGZVE4lHFGqL4CHZJmMa5I6PWaoYb19xXdy05j+kgGiGwZbUHS/\ncgJekIz3S+t6oQ4towe9ekxEBWdbDdvqzTaHUR5Y3nDSdy8AcrpfR59nGjp5\neUjhteQlhTIPfmncaXTtrtVpHTUXRpgSjiJZ7UKVGYbfH9eVYZT1pO6lOCEi\nqLF0LVoTaZI1pwPgurA2XmAJ9TQnxxavs2DbAe5q0UHjzI0VJQorxfSkC3qO\njjndxhquKzGkzPkeCKX/iCnww1d2AxNRDCUhrGgPOZ28Yc1zK7qTMDSvmyjy\n+42zsXb9cSC1brvw5+e1/feTGG0vq2bqXYWCyNyU5bUaIBuj/9xe/aQDx7T9\nv8XMEAsVfGmB6wVC/2JusEYo430XYpcYth1gydBf8c0TntRRAcT1RQI1l99D\nkDWbPRJHA22Sf12lUP0rZsmCBaLD2xnm7MBpQVzmnvUu40nIfgJ1eMybJoFb\nxhio/1PYfWjSzOToWxHVkirzNbNQ9fDty/DTwZoNDVw5qN3cudoaWa05vHts\nTJowGCDUyXp+rWLiN1vIdkHc2UyCB08FXYr24XScaTtCxM+Hejh1illheJcC\nj0qT\r\n=UeV7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"react-docgen-typescript-plugin","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"readme":"<div align=\"center\">\n  <img  height=\"200\"\n    src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/React-icon.svg/512px-React-icon.svg.png\">\n  <h1>react-docgen-typescript-plugin</h1>\n  <p>A webpack plugin to inject react typescript docgen information</p>\n</div>\n\n## Install\n\n```sh\nnpm install --save-dev react-docgen-typescript-plugin\n# or\nyarn add -D react-docgen-typescript-plugin\n```\n\n## Usage\n\n```ts\nconst ReactDocgenTypescriptPlugin = require(\"react-docgen-typescript-plugin\");\n\nmodule.exports = {\n  plugins: [\n    new ReactDocgenTypescriptPlugin(),\n    // or with a tsconfig\n    new ReactDocgenTypescriptPlugin({ tsconfigPath: \"./tsconfig.json\" }),\n    // or with options\n    new ReactDocgenTypescriptPlugin({ jsx: ts.JsxEmit.Preserve }),\n  ],\n};\n```\n\n### Options\n\nThis plugins support all parser options from [react-docgen-typescript](https://github.com/styleguidist/react-docgen-typescript#parseroptions) and all of the following options\n\n| Option               | Type           | Description                                                                                                                                         | Default                   |\n| -------------------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |\n| tsconfigPath         | string         | Specify the location of the `tsconfig.json` to use.                                                                                                 | `null`                    |\n| compilerOptions      | object         | Specify compiler options. Cannot be used with `tsconfigPath`                                                                                        | `null`                    |\n| docgenCollectionName | string or null | Specify the docgen collection name to use. All docgen information will be collected into this global object. Set to `null` to disable.              | `STORYBOOK_REACT_CLASSES` |\n| setDisplayName       | boolean        | Set the components' display name. If you want to set display names yourself or are using another plugin to do this, you should disable this option. | `true`                    |\n| typePropName         | string         | Specify the name of the property for docgen info prop type.                                                                                         | `type`                    |\n\n## Prior Art\n\n- [sn-client](https://github.com/SenseNet/sn-client/) - Inspired by this custom webpack plugin\n- [react-docgen-typescript-loader](https://github.com/strothj/react-docgen-typescript-loader/) - Webpack loader to generate docgen information from Typescript React components.\n","gitHead":"1efeefe64cf560c9c7799231aca39046b4c08526","license":"MIT","scripts":{"lint":"eslint src --ext .ts,.js","build":"tsc -p tsconfig.json","start":"yarn build --watch","release":"auto shipit"},"_npmUser":{"name":"alisowski","email":"lisowski54@gmail.com"},"homepage":"https://github.com/hipstersmoothie/react-docgen-typescript-plugin#readme","keywords":["react","docgen","typescript","webpack","plugin"],"repository":{"url":"git+https://github.com/hipstersmoothie/react-docgen-typescript-plugin.git","type":"git"},"_npmVersion":"6.14.4","description":"A webpack plugin to inject react typescript docgen information.","directories":{},"lint-staged":{"*.{js,css,md}":["prettier --write","git add"]},"maintainers":[{"name":"alisowski","email":"lisowski54@gmail.com"}],"_nodeVersion":"12.18.0","dependencies":{"tslib":"^2.0.0","endent":"^2.0.1","react-docgen-typescript":"^1.16.6","react-docgen-typescript-loader":"^3.7.2"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"auto":"^9.39.0","eslint":"7.0.0","prettier":"^2.0.5","typescript":"3.8.3","@types/node":"^14.0.12","@types/webpack":"^4.41.17","eslint-config-xo":"0.29.1","eslint-plugin-jsdoc":"25.2.0","eslint-plugin-import":"2.20.2","eslint-config-prettier":"6.11.0","eslint-plugin-jsx-a11y":"6.2.3","eslint-plugin-prettier":"3.1.3","@typescript-eslint/parser":"2.31.0","eslint-config-airbnb-base":"14.1.0","@typescript-eslint/eslint-plugin":"2.31.0"},"peerDependencies":{"typescript":">= 3.x"},"_npmOperationalInternal":{"tmp":"tmp/react-docgen-typescript-plugin_0.0.3-canary.1.1efeefe.0_1591827713486_0.5139650080443421","host":"s3://npm-registry-packages"},"_id":"react-docgen-typescript-plugin@0.0.3-canary.1.1efeefe.0","version":"0.0.3-canary.1.1efeefe.0"}