{"_id":"babel-plugin-add-react-displayname","_rev":"467506","name":"babel-plugin-add-react-displayname","description":"Automatically add displayName to all your components","dist-tags":{"latest":"0.0.5"},"maintainers":[{"name":"roncohen","email":"ron@opbeat.com"}],"time":{"modified":"2021-08-05T08:02:40.000Z","created":"2016-09-28T09:59:16.504Z","0.0.5":"2018-01-30T23:44:00.922Z","0.0.4":"2016-12-10T13:40:43.804Z","0.0.3":"2016-10-04T14:44:59.632Z","0.0.2":"2016-09-28T13:38:57.423Z","0.0.1":"2016-09-28T09:59:16.504Z"},"users":{},"author":{"name":"Ron Cohen"},"repository":{"type":"git","url":"git+https://github.com/opbeat/babel-plugin-add-react-displayname.git"},"versions":{"0.0.5":{"name":"babel-plugin-add-react-displayname","version":"0.0.5","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-react":"^6.24.1","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":"bbdaa13f503eebda604fdf4edadb2f8a2ec4914f","_id":"babel-plugin-add-react-displayname@0.0.5","_shasum":"339d4cddb7b65fd62d1df9db9fe04de134122bd5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"roncohen","email":"ron@opbeat.com"},"dist":{"shasum":"339d4cddb7b65fd62d1df9db9fe04de134122bd5","size":5190,"noattachment":false,"key":"/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-add-react-displayname/download/babel-plugin-add-react-displayname-0.0.5.tgz"},"maintainers":[{"name":"roncohen","email":"ron@opbeat.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-add-react-displayname-0.0.5.tgz_1517355840045_0.5704040678683668"},"directories":{},"publish_time":1517355840922,"_hasShrinkwrap":false,"_cnpm_publish_time":1517355840922},"0.0.4":{"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","size":5104,"noattachment":false,"key":"/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-add-react-displayname/download/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":{},"publish_time":1481377243804,"_hasShrinkwrap":false,"_cnpm_publish_time":1481377243804},"0.0.3":{"name":"babel-plugin-add-react-displayname","version":"0.0.3","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","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":"64593a2cb3920bd5e5fa3c4dd4914c062fa41565","_id":"babel-plugin-add-react-displayname@0.0.3","_shasum":"a6be13e6672f99f354b222bec5dac8df27aaa599","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"roncohen","email":"ron@opbeat.com"},"dist":{"shasum":"a6be13e6672f99f354b222bec5dac8df27aaa599","size":4733,"noattachment":false,"key":"/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-add-react-displayname/download/babel-plugin-add-react-displayname-0.0.3.tgz"},"maintainers":[{"name":"roncohen","email":"ron@opbeat.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-add-react-displayname-0.0.3.tgz_1475592298030_0.05943999718874693"},"directories":{},"publish_time":1475592299632,"_hasShrinkwrap":false,"_cnpm_publish_time":1475592299632},"0.0.2":{"name":"babel-plugin-add-react-displayname","version":"0.0.2","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","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":"c50126cb65c1a231f97491e663a03e6b75c51744","_id":"babel-plugin-add-react-displayname@0.0.2","_shasum":"8fe8bc8fb926e528dddf8ba4f7cd33d0af519344","_from":".","_npmVersion":"2.15.2","_nodeVersion":"5.9.1","_npmUser":{"name":"roncohen","email":"ron@opbeat.com"},"dist":{"shasum":"8fe8bc8fb926e528dddf8ba4f7cd33d0af519344","size":4674,"noattachment":false,"key":"/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-add-react-displayname/download/babel-plugin-add-react-displayname-0.0.2.tgz"},"maintainers":[{"name":"roncohen","email":"ron@opbeat.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-add-react-displayname-0.0.2.tgz_1475069935489_0.6285100672394037"},"directories":{},"publish_time":1475069937423,"_hasShrinkwrap":false,"_cnpm_publish_time":1475069937423},"0.0.1":{"name":"babel-plugin-add-react-displayname","version":"0.0.1","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","mocha":"^3.0.2","standard":"^8.1.0"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/opbeat/react-babel-displayname.git"},"author":{"name":"Ron Cohen"},"license":"MIT","bugs":{"url":"https://github.com/opbeat/react-babel-displayname/issues"},"homepage":"https://github.com/opbeat/react-babel-displayname#readme","gitHead":"754a7d5466c271f1519e4a24d5c81b704577dcb9","_id":"babel-plugin-add-react-displayname@0.0.1","_shasum":"f4723ea4e015e9668cfdffd4822433bbeaaf41d8","_from":".","_npmVersion":"2.15.2","_nodeVersion":"5.9.1","_npmUser":{"name":"roncohen","email":"ron@opbeat.com"},"dist":{"shasum":"f4723ea4e015e9668cfdffd4822433bbeaaf41d8","size":5237,"noattachment":false,"key":"/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-add-react-displayname/download/babel-plugin-add-react-displayname-0.0.1.tgz"},"maintainers":[{"name":"roncohen","email":"ron@opbeat.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-add-react-displayname-0.0.1.tgz_1475056755898_0.39352760929614305"},"directories":{},"publish_time":1475056756504,"_hasShrinkwrap":false,"_cnpm_publish_time":1475056756504}},"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","_attachments":{},"homepage":"https://github.com/opbeat/babel-plugin-add-react-displayname#readme","bugs":{"url":"https://github.com/opbeat/babel-plugin-add-react-displayname/issues"},"license":"MIT"}