{"_id":"click-to-react-component","_rev":"4259533","name":"click-to-react-component","description":"Option+Click your React components in your browser to open the source file in VS Code","dist-tags":{"latest":"1.1.3"},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"time":{"modified":"2026-04-06T16:12:02.000Z","created":"2022-04-26T03:50:29.971Z","1.1.3":"2025-09-23T01:32:30.348Z","1.1.2":"2024-11-03T23:05:59.107Z","1.1.0":"2023-11-25T19:21:44.993Z","1.0.8":"2022-04-29T19:25:05.108Z","1.0.7":"2022-04-27T21:03:20.766Z","1.0.6":"2022-04-26T22:01:20.838Z","1.0.5":"2022-04-26T21:00:44.994Z","1.0.4":"2022-04-26T17:16:22.659Z","1.0.3":"2022-04-26T17:02:16.906Z","1.0.2":"2022-04-26T16:49:18.893Z","1.0.1":"2022-04-26T03:50:29.971Z"},"users":{},"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"versions":{"1.1.3":{"type":"module","name":"click-to-react-component","version":"1.1.3","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":{"types":"./src/types.d.ts","import":"./src/index.js","default":"./src/index.js"},"types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/node":"^22.8.6","@types/react":"^18.3.12","@types/react-reconciler":"^0.28.8","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"sideEffects":false,"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","lint":"tsc -p ./jsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.1.3","_integrity":"sha512-tHXsXuvHBKCjjrevtGUzanngE+8HtZLt57precpAO677vjCO9Vxr3Lc3VqgNGGd2JpVybL0QHhnsrijZ2T5cng==","_resolved":"/tmp/62ed2cab1edf37488b68d2323ee3ff96/click-to-react-component-1.1.3.tgz","_from":"file:click-to-react-component-1.1.3.tgz","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"shasum":"a81a3334c7fa6afd2ad349dfb7c9433a8f85ac07","size":9682,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.1.3.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/click-to-react-component_1.1.3_1758591150148_0.6359122446776224"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-23T01:32:30.348Z","publish_time":1758591150348,"_source_registry_name":"default","_cnpm_publish_time":1758591150348},"1.1.2":{"type":"module","name":"click-to-react-component","version":"1.1.2","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":{"import":"./src/index.js","types":"./src/types.d.ts"},"types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/node":"^22.8.6","@types/react":"^18.3.12","@types/react-reconciler":"^0.28.8","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"sideEffects":false,"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","lint":"tsc -p ./jsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.1.2","_integrity":"sha512-8e9xU2MTubMwrtqu66/FtVHnv4TD94svOwMLRhza54OsmZqwMsLkscnl6ecJ3GgJ8Rk74jbLHCxpoSaZrdClGw==","_resolved":"/tmp/1df4f88bcfbf1c7b0290e6c924259ecc/click-to-react-component-1.1.2.tgz","_from":"file:click-to-react-component-1.1.2.tgz","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"shasum":"495953af3d30703bd88b22a443ddb222290dd947","size":9617,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.1.2.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.1.2_1730675158890_0.6942298877009214"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-03T23:05:59.107Z","publish_time":1730675159107,"_source_registry_name":"default","_cnpm_publish_time":1730675159107},"1.1.0":{"type":"module","name":"click-to-react-component","version":"1.1.0","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":"./src/index.js","types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":{"name":"Eric Clemmons","email":"eric@smarterspam.com"},"license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","@types/react-reconciler":"^0.26.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"sideEffects":false,"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","lint":"tsc -p ./jsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.1.0","_integrity":"sha512-/DjZemufS1BkxyRgZL3r7HXVVOFRWVQi5Xd4EBnjxZMwrHEh0OlUVA2N9CjXkZ0x8zMf8dL1cKnnx+xUWUg4VA==","_resolved":"/tmp/3eda48b1272ca8580a6f19d53e911c30/click-to-react-component-1.1.0.tgz","_from":"file:click-to-react-component-1.1.0.tgz","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"shasum":"6268659153881d9e6052deee54b1716c63706ff6","size":9149,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.1.0.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.1.0_1700940104811_0.6124250743975206"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-25T19:21:44.993Z","publish_time":1700940104993,"_source_registry_name":"default","_cnpm_publish_time":1700940104993},"1.0.8":{"type":"module","name":"click-to-react-component","version":"1.0.8","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":"./src/index.js","types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","@types/react-reconciler":"^0.26.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","lint":"tsc -p ./jsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.8","_integrity":"sha512-YBNYOp00udy+NBEnUmM/3Df0Yco1iHNQ8k0ltlJVcDYK9AuYt14xPoJicBh/BokLqbzkci1p+pbdY5r4JXZC4g==","_resolved":"/tmp/cca0c3b09a1d46665c30ac028ff94231/click-to-react-component-1.0.8.tgz","_from":"file:click-to-react-component-1.0.8.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"bcad2f4551dde67c54cec77e02791c7ecda50e5a","size":9024,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.8.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.8_1651260304923_0.8602526350865927"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-29T19:30:07.356Z","publish_time":1651260305108,"_cnpm_publish_time":1651260305108},"1.0.7":{"type":"module","name":"click-to-react-component","version":"1.0.7","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":"./src/index.js","types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","@types/react-reconciler":"^0.26.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","lint":"tsc -p ./jsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.7","_integrity":"sha512-zD2TH/Tn4a1rzb9UdDMUrSSnIl6rbJtsO14LNs+453elOGczVJakP56XdE+LMsM3rukCkGmULaEltm22NXs1ZQ==","_resolved":"/tmp/2c956badbfa699aeb3c97a1ee3249568/click-to-react-component-1.0.7.tgz","_from":"file:click-to-react-component-1.0.7.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"6fe6f5b6e603cc9723352f63999783645fcaebe6","size":8990,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.7.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.7_1651093400438_0.43969720781213817"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-27T22:27:43.474Z","publish_time":1651093400766,"_cnpm_publish_time":1651093400766},"1.0.6":{"type":"module","name":"click-to-react-component","version":"1.0.6","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":"./src/index.js","types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","@types/react-reconciler":"^0.26.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","lint":"tsc -p ./jsconfig.json","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.6","_integrity":"sha512-1omKITE3huDs9sVcAf84Y6z+ZbX50oTWFnEQK/7vdJybApqV5pyZpZ55Uok7+o+nBtSKCBarNj/XL9zQHCKZIQ==","_resolved":"/home/runner/work/click-to-component/click-to-component/packages/click-to-react-component/click-to-react-component-1.0.6.tgz","_from":"file:click-to-react-component-1.0.6.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"abc01c4549aa0bb783971f65203cdad436b59ef9","size":8930,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.6.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.6_1651010480673_0.28763600498805064"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T22:01:24.310Z","publish_time":1651010480838,"_cnpm_publish_time":1651010480838},"1.0.5":{"type":"module","name":"click-to-react-component","version":"1.0.5","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":"./src/index.js","types":"src/types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.5","_integrity":"sha512-ia06G8lwJiCjuzWqcPBJZeuJEugOlBblvturd0P97AwS9jIXMDJuLF/xGj4NgKWaz3bFO3yFX1+w2I0KrFSanQ==","_resolved":"/home/runner/work/click-to-component/click-to-component/packages/click-to-react-component/click-to-react-component-1.0.5.tgz","_from":"file:click-to-react-component-1.0.5.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"1f31228c46503d10abe1517b830bf7ffb758c173","size":8902,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.5.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.5_1651006844830_0.5202266005940019"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T21:00:48.604Z","publish_time":1651006844994,"_cnpm_publish_time":1651006844994},"1.0.4":{"type":"module","name":"click-to-react-component","version":"1.0.4","description":"Option+Click your React components in your browser to open the source file in VS Code","exports":"./index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.4","_integrity":"sha512-gQrCLjz2EElRz+L00uyY4EZGAtWYNUmPIDRK0eQYr4Qwz3bqWOPtzgpFvCmj3fsFlgDlh9K2Nv/kCZNAQFDSQQ==","_resolved":"/home/runner/work/click-to-component/click-to-component/packages/click-to-react-component/click-to-react-component-1.0.4.tgz","_from":"file:click-to-react-component-1.0.4.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"013a6bde6dc9b450e3aeb6502c6a6a352258839d","size":8973,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.4.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.4_1650993382517_0.900760045515669"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T17:35:41.747Z","publish_time":1650993382659,"_cnpm_publish_time":1650993382659},"1.0.3":{"type":"module","name":"click-to-react-component","version":"1.0.3","description":"Option+Click your React components in your browser to open the source file in VS Code","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.3","_integrity":"sha512-V8A9IrntxPmdfomrLQHCcKRBtH0sFinAeMMe71dd/x84dET3/FCZJB7jEcT1LUeCzqhWJVU7nP1AmH9AFdnFUw==","_resolved":"/home/runner/work/click-to-component/click-to-component/packages/click-to-react-component/click-to-react-component-1.0.3.tgz","_from":"file:click-to-react-component-1.0.3.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"999baa301fa3f224b177584dcf89a1b4b7a8d5a2","size":8946,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.3.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.3_1650992536698_0.2025275037067391"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T17:35:40.960Z","publish_time":1650992536906,"_cnpm_publish_time":1650992536906},"1.0.2":{"type":"module","name":"click-to-react-component","version":"1.0.2","description":"Option+Click your React components in your browser to open the source file in VS Code","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.2","_integrity":"sha512-rIkGUmsBJMrEIs8pm7VJKp3yPTsYI4V8XQcRfPsie7ZD/yo4Foj17yXVu2Nxw/4/HAqRGcQFMRCFLglgZHwQAA==","_resolved":"/home/runner/work/click-to-component/click-to-component/packages/click-to-react-component/click-to-react-component-1.0.2.tgz","_from":"file:click-to-react-component-1.0.2.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"6e23f86ed1b970cc935b4dd354d374c789e4be50","size":7499,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.2.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.2_1650991758687_0.9505427142835954"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T17:35:40.195Z","publish_time":1650991758893,"_cnpm_publish_time":1650991758893},"1.0.1":{"name":"click-to-react-component","version":"1.0.1","description":"Option+Click your React components in your browser to open the source file in VS Code","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/ericclemmons/click-to-component.git"},"keywords":["react","vue","dx","vscode","devtools"],"author":"Eric Clemmons <eric@smarterspam.com>","license":"ISC","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"homepage":"https://github.com/ericclemmons/click-to-component#readme","peerDependencies":{"react":">=16.8.0"},"dependencies":{"@floating-ui/react-dom-interactions":"^0.3.1","htm":"^3.1.0","react-merge-refs":"^1.1.0"},"devDependencies":{"@types/react":"^18.0.6","eslint":"^8.0.0","eslint-config-react-app":"^7.0.1"},"scripts":{"build":"echo \"Fuck build tools\"","dev":"pnpm run build","test":"echo \"Error: no test specified\" && exit 1"},"_id":"click-to-react-component@1.0.1","_integrity":"sha512-onNRqPFuL0xg3FinZybOMGBFIzBaaVBL7y4w6EorHCxztNPwpPEd8bSgRPmcfSApuo3ZhcFyldYAauLukyDjLA==","_resolved":"/home/runner/work/click-to-component/click-to-component/packages/click-to-react-component/click-to-react-component-1.0.1.tgz","_from":"file:click-to-react-component-1.0.1.tgz","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"2aeeee4cd56e4347e383a9495841d16640be44c3","size":7377,"noattachment":false,"key":"/click-to-react-component/-/click-to-react-component-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/click-to-react-component/download/click-to-react-component-1.0.1.tgz"},"_npmUser":{"name":"ericclemmons","email":"eric@smarterspam.com"},"directories":{},"maintainers":[{"name":"ericclemmons","email":"eric@smarterspam.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/click-to-react-component_1.0.1_1650945029829_0.39072967330872155"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T03:50:34.945Z","publish_time":1650945029971,"_cnpm_publish_time":1650945029971}},"readme":"# <ClickToComponent />\n\n[![npm](https://img.shields.io/npm/v/click-to-react-component)](https://www.npmjs.com/package/click-to-react-component)\n[![Release](https://github.com/ericclemmons/click-to-component/actions/workflows/release.yml/badge.svg)](https://github.com/ericclemmons/click-to-component/actions/workflows/release.yml)\n\n<kbd>Option+Click</kbd> a Component in the browser to **instantly** goto the source in your editor.\n\n![Next.js Demo](next.gif)\n\n## Features\n\n- <kbd>Option+Click</kbd> opens the immediate Component's source\n- <kbd>Option+Right-click</kbd> opens a context menu with the parent Components' `props`, `fileName`, `columnNumber`, and `lineNumber`\n\n  > ![props](props.png)\n\n- Works with frameworks like [Next.js](https://nextjs.org/),\n  [Create React App](https://create-react-app.dev/),\n  & [Vite](https://github.com/vitejs/vite/tree/main/packages/plugin-react)\n  that use [@babel/plugin-transform-react-jsx-source](https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx-source)\n- Supports `vscode` & `vscode-insiders` & `cursor` [URL handling](https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls)\n- Automatically **tree-shaken** from `production` builds\n- Keyboard navigation in context menu (e.g. <kbd>←</kbd>, <kbd>→</kbd>, <kbd>⏎</kbd>)\n- More context & faster than using React DevTools:\n\n  > ![React DevTools](devtools.png)\n\n## Installation\n\n<details>\n<summary>npm</summary>\n\n```shell\nnpm install click-to-react-component\n```\n\n</details>\n\n<details>\n<summary>pnpm</summary>\n\n```shell\npnpm add click-to-react-component\n```\n\n</details>\n\n<details>\n<summary>yarn</summary>\n\n```shell\nyarn add click-to-react-component\n```\n\n</details>\n\nEven though `click-to-react-component` is added to `dependencies`, [tree-shaking](https://esbuild.github.io/api/#tree-shaking) will remove `click-to-react-component` from `production` builds.\n\n## Usage\n\n<details>\n<summary>Create React App</summary>\n\n[/src/index.js](https://github.com/ericclemmons/click-to-component/blob/main/apps/cra/src/index.js#L11)\n\n```diff\n+import { ClickToComponent } from 'click-to-react-component';\n import React from 'react';\n import ReactDOM from 'react-dom/client';\n import './index.css';\n@@ -8,7 +7,6 @@ import reportWebVitals from './reportWebVitals';\n const root = ReactDOM.createRoot(document.getElementById('root'));\n root.render(\n   <React.StrictMode>\n+    <ClickToComponent />\n     <App />\n   </React.StrictMode>\n );\n```\n\n> ![Create React App Demo](cra.gif)\n\n</details>\n\n<details>\n<summary>Next.js</summary>\n\n[pages/\\_app.tsx](https://github.com/ericclemmons/click-to-component/blob/main/apps/next/pages/_app.tsx#L8)\n\n```diff\n+import { ClickToComponent } from 'click-to-react-component'\n import type { AppProps } from 'next/app'\n import '../styles/globals.css'\n\n function MyApp({ Component, pageProps }: AppProps) {\n   return (\n     <>\n+      <ClickToComponent />\n       <Component {...pageProps} />\n     </>\n   )\n```\n\n> ![Next.js Demo](next.gif)\n\n</details>\n\n<details>\n<summary>Vite</summary>\n\n```diff\n+import { ClickToComponent } from \"click-to-react-component\";\nimport React from \"react\";\nimport ReactDOM from \"react-dom/client\";\nimport App from \"./App\";\nimport \"./index.css\";\n\nReactDOM.createRoot(document.getElementById(\"root\")!).render(\n  <React.StrictMode>\n    <App />\n+   <ClickToComponent />\n  </React.StrictMode>\n);\n```\n\n> ![Vite Demo](vite.gif)\n\n</details>\n\n<details>\n<summary>Docusaurus</summary>\n\n    npm install @babel/plugin-transform-react-jsx-source\n\nbabel.config.js:\n\n```js\nmodule.exports = {\n  presets: [require.resolve('@docusaurus/core/lib/babel/preset')],\n  plugins: [\n    ...(process.env.BABEL_ENV === 'development'\n      ? ['@babel/plugin-transform-react-jsx-source']\n      : []),\n  ],\n};\n```\n\nsrc/theme/Root.js:\n\n```js\nimport { ClickToComponent } from 'click-to-react-component';\nimport React from 'react';\n\n// Default implementation, that you can customize\nexport default function Root({ children }) {\n  return (\n    <>\n      <ClickToComponent />\n      {children}\n    </>\n  );\n}\n```\n\n</details>\n\nIf [developing in container](https://github.com/ericclemmons/click-to-component/issues/58)?\n\n### `editor`\n\nBy default, clicking will default `editor` to [`vscode`](https://code.visualstudio.com/).\n\nIf, like me, you use [`vscode-insiders`](https://code.visualstudio.com/insiders/), you can set `editor` explicitly:\n\n```diff\n-<ClickToComponent />\n+<ClickToComponent editor=\"vscode-insiders\" />\n```\n\n## Run Locally\n\nClone the project\n\n```shell\ngh repo clone ericclemmons/click-to-component\n```\n\nGo to the project directory\n\n```shell\ncd click-to-component\n```\n\nInstall dependencies\n\n```shell\npnpm install\n```\n\nRun one of the examples:\n\n<details>\n<summary>Create React App</summary>\n\n```shell\ncd apps/cra\npnpm start\n```\n\n</details>\n\n<details>\n<summary>Next.js</summary>\n\n```shell\ncd apps/next\npnpm dev\n```\n\n</details>\n","_attachments":{},"homepage":"https://github.com/ericclemmons/click-to-component#readme","bugs":{"url":"https://github.com/ericclemmons/click-to-component/issues"},"license":"ISC"}