{"_id":"babel-plugin-react-transform","_rev":"45-eb8f9052d6fa94e303c1de996a9aeb8b","name":"babel-plugin-react-transform","description":"Babel plugin to instrument React components with custom transforms","dist-tags":{"latest":"3.0.0","beta":"2.0.0-beta1"},"versions":{"1.0.0":{"name":"babel-plugin-react-transform","version":"1.0.0","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5"},"scripts":{"build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"gitHead":"cb096f7bd6efd78b4ffc7fcb00878c26f9219093","_id":"babel-plugin-react-transform@1.0.0","_shasum":"7478b37fd68872e166ebb5275826ce129c015129","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"7478b37fd68872e166ebb5275826ce129c015129","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.0.0.tgz","integrity":"sha512-2omhdwCzDLbKyRUvcLFmG57eIhOYyb0AQ8Dz14FVvWLeASP6i590aBionJOivD5XTv67WeOIUV++i+zv8/gDBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF10+WG7EXtPZkLSTLayO4LG5aL5brLlT9TNPB06vnBQIhAPA4ifE9rKraeEtiCnxrwKYYMuq/kpoWRm7EMF2JdWRf"}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"deprecated":"Option name was incorrect. Please update to 1.0.1","directories":{}},"1.0.1":{"name":"babel-plugin-react-transform","version":"1.0.1","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5"},"scripts":{"build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"gitHead":"a73345bbb167699ed7b45ae6766f79e658fa910f","_id":"babel-plugin-react-transform@1.0.1","_shasum":"73510a8eeda5b4241e5c7246b551ec888398f152","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"73510a8eeda5b4241e5c7246b551ec888398f152","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.0.1.tgz","integrity":"sha512-udcuXXBqKzSBCO1tuEYEBLFARSOqlkRp6pvcUGyvpIkwwnChUOoCHw+YRYTiAIRRbQZeGqLa0LRgxGbpnWVQoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLWsORJaZalSQbxoBtRNqMzfVZ7xDcaxY42qYFE10/FAiApGyhJPuePe2weNV2nDNFkqPjY7zIBi7Hb+sdjtFShmw=="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"1.0.2":{"name":"babel-plugin-react-transform","version":"1.0.2","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5"},"scripts":{"build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"gitHead":"6dadc8186557136158eed61ce3f02db79cd84d22","_id":"babel-plugin-react-transform@1.0.2","_shasum":"b01df3153d61f8fe7b7bb7a682f161375a5968c2","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"b01df3153d61f8fe7b7bb7a682f161375a5968c2","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.0.2.tgz","integrity":"sha512-s5LF0iP6T6q8970o5yeA38T+aTbN6Eh1y3XCvTJEdTyHpKgAPFmGPVKom7mm+h0j6gCpMBdWxo0XaBxZXz02VQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvbZSJjWEYdVRiRrYjo7vIaO6mDgB4prNdOAiTfPOQzgIhANuAgB7aD5oiIwxfMKBG0/BjiMX3CER2r22yQa+3k9ww"}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"1.0.3":{"name":"babel-plugin-react-transform","version":"1.0.3","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5"},"scripts":{"build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"path-parse":"^1.0.5"},"gitHead":"f931796270a9052abce24dadda93b36755525f92","_id":"babel-plugin-react-transform@1.0.3","_shasum":"0777ed46a8ced460c02a9fb8f8dd8a5e1c252065","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"0777ed46a8ced460c02a9fb8f8dd8a5e1c252065","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.0.3.tgz","integrity":"sha512-kv7dEcPNDI9bJQyPsYvu0YfwepL8RqRpe1o+8wBu8+aihLkeZpTEyecQBnSPah8ICl5fOBM6sHuQ9F6Ym5n6Xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvDZHTKpkGHIUk8CANWIoMLDVczYNvV4wOM4td9sZc/AiAICtBUvOXheKatTrYqvKkSgUYyo9Pt95wktCpya7eCdw=="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"1.0.4":{"name":"babel-plugin-react-transform","version":"1.0.4","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5"},"scripts":{"build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"path-parse":"^1.0.5"},"gitHead":"d65e4316ead6a099597df201ed4232604eec1886","_id":"babel-plugin-react-transform@1.0.4","_shasum":"a8484a80fe6fee777f9ba5bf7f3dc3510549f86b","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"a8484a80fe6fee777f9ba5bf7f3dc3510549f86b","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.0.4.tgz","integrity":"sha512-6lavZV+Tjl6NOo4UIp9MYagGhKJbPGY9EeVi1d9+Jt4wGC+jUS7VbLlLNafFAjRUj3CD1X9fB7fvXZ5A4WCsiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi2NLzKzbGHSvvo87l9JJ6/gCaQjrSzvbzU2z0W60pbAIgCZDYTy8VwTw5jQXomANjshCDYUMCkPqHfYeAnSIDmkM="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"1.0.5":{"name":"babel-plugin-react-transform","version":"1.0.5","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"path-parse":"^1.0.5"},"gitHead":"49b7d6b42942204b03163471d280c5d8ea9c426b","_id":"babel-plugin-react-transform@1.0.5","_shasum":"2fc1bf60f8450b5ab01f18d498ebbbf7f3733911","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"2fc1bf60f8450b5ab01f18d498ebbbf7f3733911","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.0.5.tgz","integrity":"sha512-+E/iun/IPZKwP5AmlC2rWlVQ8bPCoYYxD6jEk/oa3ezF57zEv5YYRM+DJHfF9bSvTjNNHzDRTnnQhxTbAv3EjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeqHZaAz7CVsuSsXaf7/bpEYfHZKwfAr1Y8LFebCTbwwIgCbNwYr3eWh6i1AdKL9gHzNxlPrQHt+vF4/lL5PGiRFk="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"1.1.0":{"name":"babel-plugin-react-transform","version":"1.1.0","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"path-parse":"^1.0.5"},"gitHead":"63b5f51f1f28efb4e9954d06bea73314eb6afe49","_id":"babel-plugin-react-transform@1.1.0","_shasum":"6eb5d60c9ef2eba8253e5843d6da602cfbf90063","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"6eb5d60c9ef2eba8253e5843d6da602cfbf90063","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.1.0.tgz","integrity":"sha512-1WYqQOofi/LY1lU9El9CfpUCGGoOBJUxmBPcmOupflP1VjyBcP5vaBH8NZvjnsdvxYAh7+YK42kgO+09DhJRkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQqVp6jQ4RRfkDlRlrHwKMXxYRDg9b8YkY+MPOucnimAiA35mW4DTgCBMvljC5esP5ZF1EkVdNy5mjxP0QoqQTu/w=="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"1.1.1":{"name":"babel-plugin-react-transform","version":"1.1.1","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel":"^5.8.23","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel-plugin build","test":"mocha --compilers js:babel/register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"path-parse":"^1.0.5"},"gitHead":"a477fe0810a103c9ed0480648104479e5b1b7e35","_id":"babel-plugin-react-transform@1.1.1","_shasum":"95e243827a1090bb8b6e93fe7c6f56fb5c23b0fb","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"95e243827a1090bb8b6e93fe7c6f56fb5c23b0fb","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-1.1.1.tgz","integrity":"sha512-s4gkZXURQcqolfVTekOgfAla/nBwmexizns1H+34Vu0Eq4usqegNaYerTIk101P9taO547YlypTNJ+BprjpGgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXdSwTR+bI87aSaMyYYQ32nhH7DNMUbncoAfFMagPdDQIhAOq9ulfoPE6W9zaEDPf4QKDNp1kl0kYLp91Rge+djvRB"}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"}],"directories":{}},"2.0.0-beta1":{"name":"babel-plugin-react-transform","version":"2.0.0-beta1","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-eslint":"^4.1.6","babel-preset-es2015":"^6.1.18","babel-register":"^6.2.0","eslint":"^1.10.3","eslint-plugin-react":"^3.11.2","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel src -d lib","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"array-find":"^1.0.0"},"gitHead":"a99196cc3763516d23265af8a071adcacf5bf885","_id":"babel-plugin-react-transform@2.0.0-beta1","_shasum":"5f54f863abe17ca522ff0acd053ba4a74c029d07","_from":".","_npmVersion":"3.3.10","_nodeVersion":"0.10.41","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"5f54f863abe17ca522ff0acd053ba4a74c029d07","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-2.0.0-beta1.tgz","integrity":"sha512-/qFiKjyfKFPj5wjc/hXlHPjSzEynT90wSxsHikmkbw+F1xgyOrdvgUDDlnHGM5kkeUZC/TXuwDDuNzcT/hrWvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAnrDVn1nelplU1wiO+Ygwaw5CTTh3zhidLvZNY9AGqAiEA5AkDsYrPyZBtSearZ72aGH4yrmIaziqJDigPqyasfsk="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{}},"2.0.0":{"name":"babel-plugin-react-transform","version":"2.0.0","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-eslint":"^4.1.6","babel-preset-es2015":"^6.1.18","babel-register":"^6.2.0","eslint":"^1.10.3","eslint-plugin-react":"^3.11.2","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel src -d lib","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"array-find":"^1.0.0"},"gitHead":"4bdbef12435f184222fe72ad409d9c71acc6731b","_id":"babel-plugin-react-transform@2.0.0","_shasum":"1d9d9f7001da9b355359f8f92c5de5a921293d9b","_from":".","_npmVersion":"3.3.10","_nodeVersion":"0.10.41","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"shasum":"1d9d9f7001da9b355359f8f92c5de5a921293d9b","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-2.0.0.tgz","integrity":"sha512-Px5s29ag3qcFsRlCIfFFKQlh6tvuzV8JN43P2l6rg/dBvyHIjDQwb11wgccdZ/w9IkFwgoO2qwpUpQ5MlS025A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYiPBIo8bzzd3ik/PnpjrhDVXyjWEJ4PJt/6SgUi5U8wIhANxtA4UHIxCe/hpdjgfQTQuz1I93vacYu48Z+0CqK4j5"}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{}},"2.0.1":{"name":"babel-plugin-react-transform","version":"2.0.1","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-eslint":"^4.1.6","babel-preset-es2015":"^6.1.18","babel-register":"^6.2.0","eslint":"^1.10.3","eslint-plugin-react":"^3.11.2","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel src -d lib","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"array-find":"^1.0.0"},"gitHead":"b8f5c6f1214de2e42cda91acb4b69325af7e11d2","_id":"babel-plugin-react-transform@2.0.1","_shasum":"c6269edb0f72763b9fb1fc1c34eb1ba8d3c06dbf","_from":".","_npmVersion":"3.7.0","_nodeVersion":"5.1.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"shasum":"c6269edb0f72763b9fb1fc1c34eb1ba8d3c06dbf","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-2.0.1.tgz","integrity":"sha512-WcMwD8XRjdq/zy4V/ZeeRfTCVvwvUsmrAM+vXd+G/vq+8ExauXgWcZcrEL0JMZKQtrVhG60jP9zefXgA4dL0PA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqXB72mpu2ZYqQG7jRcyMQiVamRaUIy8ugnXa5XTK3vAiEAgSNkHKMSVf0P0f/glT8/NUQ69NqKf6cVNgcGE5Qwr50="}]},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/babel-plugin-react-transform-2.0.1.tgz_1457116974394_0.2700151791796088"},"directories":{}},"2.0.2":{"name":"babel-plugin-react-transform","version":"2.0.2","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-eslint":"^4.1.6","babel-preset-es2015":"^6.1.18","babel-register":"^6.2.0","eslint":"^1.10.3","eslint-plugin-react":"^3.11.2","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel src -d lib","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"lodash":"^4.6.1"},"gitHead":"827843e1da56b1edbd4f9e526339d9968ada652d","_id":"babel-plugin-react-transform@2.0.2","_shasum":"515bbfa996893981142d90b1f9b1635de2995109","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"maintainers":[{"name":"gaearon","email":"dan.abramov@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"dist":{"shasum":"515bbfa996893981142d90b1f9b1635de2995109","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-2.0.2.tgz","integrity":"sha512-y/e6c6xTp5vNAOWJ628872w0ntFbiM4baNSvubOE4xWIEeI8J3npUz0I1DVbzcjijtyket2WRXSqCFYoI3ENZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuE1Io4eG4Ma4W7kCmVQOmQWOMwWHHOs8GDQu6yUbLUAiEA9MdKe53PvkhtFl8P65dpFzYgZ5XQQ5/TdDPWh20w3KI="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-react-transform-2.0.2.tgz_1457141468524_0.8604225248564035"},"directories":{}},"3.0.0":{"name":"babel-plugin-react-transform","version":"3.0.0","description":"Babel plugin to instrument React components with custom transforms","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"license":"MIT","bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","devDependencies":{"babel-cli":"^6.2.0","babel-core":"^6.2.1","babel-eslint":"^4.1.6","babel-preset-es2015":"^6.1.18","babel-register":"^6.2.0","eslint":"^1.10.3","eslint-plugin-react":"^3.11.2","mocha":"^2.2.5","rimraf":"^2.4.3"},"scripts":{"clean":"rimraf lib","build":"babel src -d lib","test":"mocha --compilers js:babel-register","test:watch":"npm run test -- --watch","prepublish":"npm run clean && npm run build"},"keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"dependencies":{"lodash":"^4.6.1"},"gitHead":"d7069df5c6f36a07857fd108067dc515b3a795ee","_id":"babel-plugin-react-transform@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"gaearon","email":"dan.abramov@gmail.com"},"dist":{"integrity":"sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==","shasum":"402f25137b7bb66e9b54ead75557dfbc7ecaaa74","tarball":"https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMV66GbZdt4XqO/RRCo7SWARONColbRo0xbh8skSE7wQIgKVWyki4XCEJ19BnyeIgije3iwFG0CITIOD+OJD81CEg="}]},"maintainers":[{"email":"me@thejameskyle.com","name":"thejameskyle"},{"email":"dan.abramov@gmail.com","name":"gaearon"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-react-transform-3.0.0.tgz_1505226983613_0.6134067801758647"},"directories":{}}},"readme":">## This Project Is Deprecated\n\n>React Hot Loader 3 is [on the horizon](https://github.com/gaearon/react-hot-loader/pull/240), and you can try it today ([boilerplate branch](https://github.com/gaearon/react-hot-boilerplate/pull/61), [upgrade example](https://github.com/gaearon/redux-devtools/commit/64f58b7010a1b2a71ad16716eb37ac1031f93915)). It fixes some [long-standing issues](https://twitter.com/dan_abramov/status/722040946075045888) with both React Hot Loader and React Transform, and is intended as a replacement for both. The docs are not there yet, but they will be added before the final release. For now, [this commit](https://github.com/gaearon/redux-devtools/commit/64f58b7010a1b2a71ad16716eb37ac1031f93915) is a good reference.\n\n# babel-plugin-react-transform\n\n[![react-transform channel on discord](https://img.shields.io/badge/discord-react--transform%40reactiflux-61DAFB.svg?style=flat-square)](http://www.reactiflux.com)\n\n:rocket: **Now  with [Babel 6](https://github.com/babel/babel) support** (thank you [@thejameskyle](https://github.com/thejameskyle)!)\n\nThis plugin wraps React components with arbitrary transforms. In other words, **it allows you to instrument React components** in any way—limited only by your imagination.\n\n## 🚧🚧🚧🚧🚧\n\nThis is **highly experimental tech**. If you’re enthusiastic about hot reloading, by all means, give it a try, but don’t bet your project on it. Either of the technologies it relies upon may change drastically or get deprecated any day. You’ve been warned 😉 .\n\n**This technology exists to prototype next-generation React developer experience**. Please don’t use it blindly if you don’t know the underlying technologies well. Otherwise you are likely to get disillusioned with JavaScript tooling.\n\n**No effort went into making this user-friendly yet. The goal is to eventually kill this technology** in favor of less hacky technologies baked into React. These projects are not long term.\n\n## Table of Contents\n\n* [Ecosystem](#ecosystem)\n* [Demo Project](#demo-project)\n* [Installation](#installation)\n* [Writing Transforms](#writing-transforms)\n\n## Ecosystem\n\nFor a reference implementation, see [**react-transform-boilerplate**](https://github.com/gaearon/react-transform-boilerplate).  \nFor a starter kit to help write your own transforms, see [**react-transform-noop**](https://github.com/pwmckenna/react-transform-noop).\n\n\n#### Transforms\n\n* [**react-transform-hmr**](https://github.com/gaearon/react-transform-hmr) - enables hot reloading using HMR API\n* [**react-transform-catch-errors**](https://github.com/gaearon/react-transform-catch-errors) - catches errors inside `render()`\n* [**react-transform-debug-inspector**](https://github.com/alexkuz/react-transform-debug-inspector) - renders an inline prop inspector\n* [**react-transform-render-visualizer**](https://github.com/spredfast/react-transform-render-visualizer) - highlight components when updated\n* [**react-transform-style**](https://github.com/pwmckenna/react-transform-style) - support `style` and `className` styling for all components\n* [**react-transform-log-render**](https://github.com/rkit/react-transform-log-render) - log component renders with passed props and state\n* [**react-transform-count-renders**](https://github.com/stipsan/react-transform-count-renders) - counts how many times your components render\n\nFeeling inspired? Learn [how to write transforms](#writing-transforms) and send a PR!\n\n## Demo Project\n\nCheck out **[react-transform-boilerplate](https://github.com/gaearon/react-transform-boilerplate)** for a demo showing a combination of transforms.\n\n![](https://cloud.githubusercontent.com/assets/1539088/11611771/ae1a6bd8-9bac-11e5-9206-42447e0fe064.gif)\n\n## Installation\n\nThis plugin is designed to be used with the Babel 6 ecosystem. These instructions assume you have a working project set up. If you do not have Babel set up in your project, [learn how to integrate](https://babeljs.io/docs/setup/) it with your toolkit before installing this plugin.\n\n##### Using NPM\n\nInstall plugin and save in `devDependencies`:\n\n```bash\nnpm install --save-dev babel-plugin-react-transform\n```\n\nInstall some transforms:\n\n```bash\nnpm install --save-dev react-transform-hmr\nnpm install --save-dev react-transform-catch-errors\n```\n\n##### Configuration\nAdd react-transform to the list of plugins in your babel configuration (usually `.babelrc`):\n\n```js\n\n\n{\n  \"presets\": [\"react\", \"es2015\"],\n  \"env\": {\n    // this plugin will be included only in development mode, e.g.\n    // if NODE_ENV (or BABEL_ENV) environment variable is not set\n    // or is equal to \"development\"\n    \"development\": {\n      \"plugins\": [\n        // must be an array with options object as second item\n        [\"react-transform\", {\n          // must be an array of objects\n          \"transforms\": [{\n            // can be an NPM module name or a local path\n            \"transform\": \"react-transform-hmr\",\n            // see transform docs for \"imports\" and \"locals\" dependencies\n            \"imports\": [\"react\"],\n            \"locals\": [\"module\"]\n          }, {\n            // you can have many transforms, not just one\n            \"transform\": \"react-transform-catch-errors\",\n            \"imports\": [\"react\", \"redbox-react\"]\n          }, {\n            // can be an NPM module name or a local path\n            \"transform\": \"./src/my-custom-transform\"\n          }]\n          // by default we only look for `React.createClass` (and ES6 classes)\n          // but you can tell the plugin to look for different component factories:\n          // factoryMethods: [\"React.createClass\", \"createClass\"]\n        }]\n      ]\n    }\n  }\n}\n```\n\nAs you can see, each transform, apart from the `transform` field where you write it name, also has `imports` and `locals` fields. You should consult the docs of each individual transform to learn which `imports` and `locals` it might need, and how it uses them. You probably already guessed that this is just a way to inject local variables (like `module`) or dependencies (like `react`) into the transforms that need them.\n\nNote that when using `React.createClass()` and allowing `babel` to extract the `displayName` property you must ensure that [babel-plugin-react-display-name](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-display-name) is included before `react-transform`. See [this github issue](https://github.com/gaearon/babel-plugin-react-transform/issues/19) for more details.\n\nYou may optionally specify an array of strings called `factoryMethods` if you want the plugin to look for components created with a factory method other than `React.createClass`. Note that you don’t have to do anything special to look for ES6 components—`factoryMethods` is only relevant if you use factory methods akin to `React.createClass`.\n\n## Writing Transforms\n\nIt’s not hard to write a custom transform! First, make sure you call your NPM package `react-transform-*` so we have uniform naming across the transforms. The only thing you should export from your transform module is a function.\n\n```js\nexport default function myTransform() {\n  // ¯\\_(ツ)_/¯\n}\n```\n\nThis function should *return another function*:\n\n```js\nexport default function myTransform() {\n  return function wrap(ReactClass) {\n    // ¯\\_(ツ)_/¯\n    return ReactClass;\n  }\n}\n```\n\nAs you can see, you’ll receive `ReactClass` as a parameter. It’s up to you to do something with it: monkeypatch its methods, create another component with the same prototype and a few different methods, wrap it into a higher-order component, etc. Be creative!\n\n```js\nexport default function logAllUpdates() {\n  return function wrap(ReactClass) {\n    const displayName = // ¯\\_(ツ)_/¯\n    const originalComponentDidUpdate = ReactClass.prototype.componentDidUpdate;\n\n    ReactClass.prototype.componentDidUpdate = function componentDidUpdate() {\n      console.info(`${displayName} updated:`, this.props, this.state);\n\n      if (originalComponentDidUpdate) {\n        originalComponentDidUpdate.apply(this, arguments);\n      }\n    }\n\n    return ReactClass;\n  }\n}\n```\n\nOh, how do I get `displayName`?\nActually, we give your transformation function a single argument called `options`. Yes, `options`:\n\n```js\nexport default function logAllUpdates(options) {\n```\n\nIt contains some useful data. For example, your `options` could look like this:\n\n```js\n{\n  // the file being processed\n  filename: '/Users/dan/p/my-projects/src/App.js',\n  // remember that \"imports\" .babelrc option?\n  imports: [React],\n  // remember that \"locals\" .babelrc option?\n  locals: [module],\n  // all components declared in the current file\n  components: {\n    $_MyComponent: {\n      // with their displayName when available\n      displayName: 'MyComponent'\n    },\n    $_SomeOtherComponent: {\n      displayName: 'SomeOtherComponent',\n      // and telling whether they are defined inside a function\n      isInFunction: true\n    }\n  }\n}\n```\n\nOf course, you might not want to use *all* options, but isn’t it nice to know that you have access to them in the top scope—which means before the component definitions actually run? (Hint: a hot reloading plugin might use this to decide whether a module is worthy of reloading, even if it contains an error and no React components have yet been wrapped because of it.)\n\nSo, to retrieve the `displayName` (or `isInFunction`, when available), use the `options` parameter *and* the second `uniqueId` parameter given to the inner function after `ReactClass`:\n\n```js\nexport default function logAllUpdates(options) {\n  return function wrap(ReactClass, uniqueId) {\n    const displayName = options.components[uniqueId].displayName || '<Unknown>';\n```\n\nThis is it!\n\nSure, it’s a slightly contrived example, as you can grab `ReactClass.displayName` just fine, but it illustrates a point: you have information about all of the components inside a file before that file executes, which is *very* handy for some transformations.\n\nHere is the complete code for this example transformation function:\n\n```js\nexport default function logAllUpdates(options) {\n  return function wrap(ReactClass, uniqueId) {\n    const displayName = options.components[uniqueId].displayName || '<Unknown>';\n    const originalComponentDidUpdate = ReactClass.prototype.componentDidUpdate;\n\n    ReactClass.prototype.componentDidUpdate = function componentDidUpdate() {\n      console.info(`${displayName} updated:`, this.props, this.state);\n\n      if (originalComponentDidUpdate) {\n        originalComponentDidUpdate.apply(this, arguments);\n      }\n    }\n\n    return ReactClass;\n  }\n}\n```\n\nNow go ahead and write your own! Don’t forget to tag it with `react-transform` [keyword on npm](https://www.npmjs.com/browse/keyword/react-transform).\n\n## Patrons\n\nThe work on React Transform, [React Hot Loader](https://github.com/gaearon/react-hot-loader), [Redux](https://github.com/rackt/redux), and related projects was [funded by the community](https://www.patreon.com/reactdx). Meet some of the outstanding companies that made it possible:\n\n* [Webflow](https://github.com/webflow)\n* [Ximedes](https://www.ximedes.com/)\n\n[See the full list of React Transform patrons.](PATRONS.md)\n\n## License\n\nMIT\n","maintainers":[{"email":"me@thejameskyle.com","name":"thejameskyle"},{"email":"dan.abramov@gmail.com","name":"gaearon"}],"time":{"modified":"2022-06-13T04:02:59.951Z","created":"2015-09-02T23:33:10.037Z","1.0.0":"2015-09-02T23:33:10.037Z","1.0.1":"2015-09-03T00:02:05.796Z","1.0.2":"2015-09-03T15:10:32.178Z","1.0.3":"2015-09-04T19:12:17.450Z","1.0.4":"2015-09-16T19:51:17.623Z","1.0.5":"2015-09-17T00:46:39.413Z","1.1.0":"2015-09-23T23:53:40.057Z","1.1.1":"2015-09-24T17:23:56.194Z","2.0.0-beta1":"2015-12-09T05:04:47.097Z","2.0.0":"2015-12-23T20:05:22.103Z","2.0.1":"2016-03-04T18:42:57.634Z","2.0.2":"2016-03-05T01:31:11.804Z","3.0.0":"2017-09-12T14:36:24.807Z"},"homepage":"https://github.com/gaearon/babel-plugin-react-transform#readme","keywords":["babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"repository":{"type":"git","url":"git+https://github.com/gaearon/babel-plugin-react-transform.git"},"author":{"name":"Dan Abramov","email":"dan.abramov@me.com"},"bugs":{"url":"https://github.com/gaearon/babel-plugin-react-transform/issues"},"license":"MIT","readmeFilename":"README.md","users":{"panlw":true,"nelix":true,"jabbrwcky":true,"moimikey":true,"isman_usoh":true,"adrianpark":true,"abdul":true,"wkaifang":true,"mswanson1524":true,"langri-sha":true,"qddegtya":true,"lestad":true,"tedyhy":true,"youtwo":true,"maddas":true}}