{"name":"babel-plugin-add-react-displayname","version":"0.0.4","description":"Automatically add displayName to all your components","main":"index.js","dependencies":{},"devDependencies":{"babel-core":"^6.14.0","babel-helper-plugin-test-runner":"^6.8.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-stage-0":"^6.16.0","mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/opbeat/babel-plugin-add-react-displayname.git"},"author":{"name":"Ron Cohen"},"license":"MIT","bugs":{"url":"https://github.com/opbeat/babel-plugin-add-react-displayname/issues"},"homepage":"https://github.com/opbeat/babel-plugin-add-react-displayname#readme","gitHead":"b386832763201366f0d99a0d6656d49648940455","_id":"babel-plugin-add-react-displayname@0.0.4","_shasum":"bc2a74bcbee6e505025b3352fea85ee7bc4c6f7c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"roncohen","email":"ron@opbeat.com"},"dist":{"shasum":"bc2a74bcbee6e505025b3352fea85ee7bc4c6f7c","tarball":"http://registry-npm.ywwl.com/babel-plugin-add-react-displayname/download/babel-plugin-add-react-displayname-0.0.4.tgz","integrity":"sha512-03ZqW9hdbHX6t/UPJ0B+PX8oir+9/9caK7SnV0qeU3E/uvcWaRkToB0hXYcuxuFkTrRC7elVQseMniyBSZoCCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaONuc0gkLFFEOUXPSXcMV71gPprBRuX9lV/nkzrEraAiAVcJ2R14BMib/IAY7OoC8Ozb/qFV0f/pn70oJhFrI7UQ=="}],"size":5104,"noattachment":false,"key":"/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.4.tgz"},"maintainers":[{"name":"roncohen","email":"ron@opbeat.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-add-react-displayname-0.0.4.tgz_1481377243179_0.47914085211232305"},"directories":{},"readme":"# babel-plugin-add-react-displayname\n\nAutomatically detects and sets displayName for React components. \nThis is useful for having real component names show up in production builds of React apps.\n\nBabel already does this for `React.createClass` style components, this adds support for the two other kinds of component definitions:\n * ES6-classes style components\n * Stateless components that return JSX\n\n\n## Installation\nSimply add `add-react-displayname` to your `.babelrc` file:\n\n```json\n{\n    \"plugins\": [\"add-react-displayname\"]\n}\n```\n\n## Troubleshooting\n\n#### Doesn't work for decorated classes\n\nIf you are using the `transform-decorators-legacy` plugin, make sure it's placed *after* this plugin in your plugin list. \n\n## Testing\n\n`npm test`\n","publish_time":1481377243804,"_cnpm_publish_time":1481377243804,"dist-tags":{"latest":"0.0.5"}}