{"_id":"react-fix-it","_rev":"10-f291edd2651a1b6ec2fe539c80ed3313","name":"react-fix-it","description":"Automagically generate tests from errors","dist-tags":{"latest":"0.3.3"},"versions":{"0.1.0":{"name":"react-fix-it","version":"0.1.0","description":"Automagically generate tests from errors","main":"index.js","repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"license":"MIT","scripts":{"test":"jest","lint":"eslint ./"},"devDependencies":{"babel-jest":"^17.0.2","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","enzyme":"^2.6.0","eslint":"^3.12.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.8.0","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1"},"dependencies":{"react-component-errors":"^0.0.6"},"peerDependencies":{"react":"^15.4.1"},"gitHead":"77312bb8532740c4682c6d778648d0e880b0af9c","bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","_id":"react-fix-it@0.1.0","_shasum":"1d1900f81a7dc577a8ea9e71bd5399397abb256c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michelebertoli","email":"michele@berto.li"},"dist":{"shasum":"1d1900f81a7dc577a8ea9e71bd5399397abb256c","tarball":"https://registry.npmjs.org/react-fix-it/-/react-fix-it-0.1.0.tgz","integrity":"sha512-c31NjeqHFkYMzEIfPzsaE21LVsNy8GpATLXvNnoYG2g6jzmgS8+n0nm9y22gDVQlYktLTv8J+fmDpIgiHIIl4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjp9KJeVjAXHikWQJNB4EpHyIOnt0ua380wQfx5q8RYAiARDiRPLWE0PF3ewCpTr3HKMAwyMkrjVqTRbBsmx1+4/g=="}]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-fix-it-0.1.0.tgz_1481806749454_0.3195821945555508"}},"0.2.0":{"name":"react-fix-it","version":"0.2.0","description":"Automagically generate tests from errors","main":"dist/index.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"license":"MIT","scripts":{"test":"jest","lint":"eslint ./","build":"babel ./src --out-dir ./dist","prepublish":"npm run build"},"devDependencies":{"babel-cli":"^6.18.0","babel-jest":"^17.0.2","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","enzyme":"^2.6.0","eslint":"^3.12.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.8.0","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1"},"dependencies":{"react-component-errors":"^0.0.6"},"peerDependencies":{"react":"^15.4.1"},"gitHead":"b7b56e3e52ec94707c08da84f5f3bcbced87ed43","bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","_id":"react-fix-it@0.2.0","_shasum":"667553818c18fc2b72bf1bd30bfde536ceca6071","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michelebertoli","email":"michele@berto.li"},"dist":{"shasum":"667553818c18fc2b72bf1bd30bfde536ceca6071","tarball":"https://registry.npmjs.org/react-fix-it/-/react-fix-it-0.2.0.tgz","integrity":"sha512-RKC96D1sLUvSGkNWOiFLrAYhNLO6zktrtINGDifsbsuKjoKu3NT8S5Aqp+jbAYzQpjJS3sVtxzLps+fq03IhTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICD926zjqO2iE2SxhTlJaphJO59I0xc7XnsCclxwt64cAiEA0qiGVNzKqDUf8SOpIv9enHWFGcR1WWwTHw40O+0i37w="}]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-fix-it-0.2.0.tgz_1481807252142_0.8731373983900994"}},"0.3.0":{"name":"react-fix-it","version":"0.3.0","description":"Automagically generate tests from errors","main":"dist/index.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"license":"MIT","scripts":{"test":"jest","lint":"eslint ./","build":"babel ./src --out-dir ./dist","prepublish":"npm run build"},"devDependencies":{"babel-cli":"^6.18.0","babel-jest":"^17.0.2","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","enzyme":"^2.6.0","eslint":"^3.12.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.8.0","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1"},"dependencies":{"react-component-errors":"^0.0.6"},"peerDependencies":{"react":"^15.4.1"},"gitHead":"43a95cb1f9f5a647e185e694b70e0e52b8246a93","bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","_id":"react-fix-it@0.3.0","_shasum":"4155f1a724b2fcb8a391921208ac7dc490aa29f5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michelebertoli","email":"michele@berto.li"},"dist":{"shasum":"4155f1a724b2fcb8a391921208ac7dc490aa29f5","tarball":"https://registry.npmjs.org/react-fix-it/-/react-fix-it-0.3.0.tgz","integrity":"sha512-TtsRAE2bxrR4VrGqFSDQKz2VVOhrIXCNfBIeV4BT//ldAAGdvxA9x40b8Xy5JxEU8eDaQLszT+6GoXSdzH31sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFvrCMH6+oWow1CotBasV5XF1BxnNzV95mL4plvpJP0ZAiAyy8SIrABwh+d0duArJ5mvP88p4g9cuSSRTcj6GkDIow=="}]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-fix-it-0.3.0.tgz_1482477788189_0.7681806969922036"}},"0.3.1":{"name":"react-fix-it","version":"0.3.1","description":"Automagically generate tests from errors","main":"dist/index.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"license":"MIT","scripts":{"test":"jest","lint":"eslint ./","build":"babel ./src --out-dir ./dist","prepublish":"npm run build"},"devDependencies":{"babel-cli":"^6.18.0","babel-jest":"^17.0.2","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","enzyme":"^2.6.0","eslint":"^3.12.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.8.0","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1"},"dependencies":{"react-component-errors":"^0.0.6"},"peerDependencies":{"react":"^15.4.1"},"gitHead":"26df2e0662f6b33b52364596ef364c5731e9d3ac","bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","_id":"react-fix-it@0.3.1","_shasum":"00a50146a1f872d55ef2002c9b2950319c71f204","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michelebertoli","email":"michele@berto.li"},"dist":{"shasum":"00a50146a1f872d55ef2002c9b2950319c71f204","tarball":"https://registry.npmjs.org/react-fix-it/-/react-fix-it-0.3.1.tgz","integrity":"sha512-1XDEh9AL7v6UV7VYoKZYVbNwNIOnvFlqez33VVg4/noBjPgikjwkT8S4gO8TO5cWdTHib4nLBWg3ueM7aLsUvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZN/wYJcrlZ7QoL2bwedDf8PsflGeepqBG1NMBDABhTAiADMwBDtVs63uSW7xvFQuep4K2ApB14A8igJLcEH1G7FA=="}]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-fix-it-0.3.1.tgz_1482530398143_0.08637165394611657"}},"0.3.2":{"name":"react-fix-it","version":"0.3.2","description":"Automagically generate tests from errors","main":"dist/index.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"license":"MIT","scripts":{"test":"jest","lint":"eslint --ignore-path .gitignore ./","build":"babel ./src --out-dir ./dist","prepublish":"yarn run build","dev":"webpack-dev-server","deploy":"webpack && gh-pages -d ./build"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.21.0","babel-jest":"^17.0.2","babel-loader":"^6.2.10","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","enzyme":"^2.6.0","eslint":"^3.12.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.8.0","gh-pages":"^0.12.0","html-webpack-plugin":"^2.24.1","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","webpack":"^1.14.0","webpack-dev-server":"^1.16.2"},"dependencies":{"react-component-errors":"^0.0.6"},"peerDependencies":{"react":"^15.4.1"},"gitHead":"3110429f497ffe367dd5f92df0f39b30b748d2b7","bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","_id":"react-fix-it@0.3.2","_shasum":"b6c940c41613a621eb31af2c5fa7c4aaf57d20af","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michelebertoli","email":"michele@berto.li"},"dist":{"shasum":"b6c940c41613a621eb31af2c5fa7c4aaf57d20af","tarball":"https://registry.npmjs.org/react-fix-it/-/react-fix-it-0.3.2.tgz","integrity":"sha512-mU8TJ/Jr7l9LlL9mvP3h0B8FYp88qQxfyZL2KQ30FusitIm25KwmKjg5KANrFmEGrd+G2ldcf74XXHHDANBd0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4jUadUWtsgqGgyNEZLOR4KaaCmzjfBzoDiEcvpzRGbAiBijaZeirsDiN5QnktdLVdu9XZxheXJoJvyui/uOieA2w=="}]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-fix-it-0.3.2.tgz_1482586161750_0.3113503635395318"}},"0.3.3":{"name":"react-fix-it","version":"0.3.3","description":"Automagically generate tests from errors","main":"dist/index.js","files":["dist"],"repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"license":"MIT","scripts":{"test":"jest","lint":"eslint --ignore-path .gitignore ./","build":"babel ./src --out-dir ./dist","prepublish":"yarn run build","dev":"webpack-dev-server","deploy":"webpack && gh-pages -d ./build"},"devDependencies":{"babel-cli":"^6.18.0","babel-core":"^6.21.0","babel-jest":"^17.0.2","babel-loader":"^6.2.10","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","enzyme":"^2.6.0","eslint":"^3.12.2","eslint-config-airbnb":"^13.0.0","eslint-plugin-import":"^2.2.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.8.0","gh-pages":"^0.12.0","html-webpack-plugin":"^2.24.1","jest":"^17.0.3","react":"^15.4.1","react-addons-test-utils":"^15.4.1","react-dom":"^15.4.1","webpack":"^1.14.0","webpack-dev-server":"^1.16.2"},"dependencies":{"react-component-errors":"^0.0.6"},"peerDependencies":{"react":"^15.4.1"},"gitHead":"4e2fb830b925e216acf6cd965377bea6e919cd87","bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","_id":"react-fix-it@0.3.3","_shasum":"c3debc91c43660010b0ef78fc3b730dbb1f9e7fd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"michelebertoli","email":"michele@berto.li"},"dist":{"shasum":"c3debc91c43660010b0ef78fc3b730dbb1f9e7fd","tarball":"https://registry.npmjs.org/react-fix-it/-/react-fix-it-0.3.3.tgz","integrity":"sha512-TLF9jrwWsA66KbSgPqABQlFkQhtw51uTFHgkR0VyVf5U6AkX3YzdUrGJ26WHgGbdeeKyKskEK+b5VzlJ2fphzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2UnefDRfNByqX7chYtS3U1oM9MHHNYuwcVvC2t2hNJAiEA6f/M4Yy3r9zhc26+Og87rR8kYzvNTP/RfKYuF3g4/Qo="}]},"maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-fix-it-0.3.3.tgz_1482588359426_0.8488877944182605"}}},"readme":"# React Fix It [![Build Status](https://travis-ci.org/MicheleBertoli/react-fix-it.svg?branch=master)](https://travis-ci.org/MicheleBertoli/react-fix-it)\nAutomagically generate tests from errors.\n\n:warning: This package uses [react-component-errors](https://github.com/staxmanade/react-component-errors) to wrap the lifecycle methods into a try...catch block, which affects the performance of your components. Therefore it should **not** be used in production.\n\n## How to use it\n\n- Enhance your components with `fixIt`\n- Write some bugs (or wait for your components to fail)\n- Open the console and copy the test snippet\n- Paste the code to reproduce the error\n- Fix the bugs and celebrate\n\n## Demo\n\n[https://michelebertoli.github.io/react-fix-it/](https://michelebertoli.github.io/react-fix-it/)\n\n![Preview](demo/preview.gif)\n\n## Installation\n\n> You can either install it with [npm](https://nodejs.org) or [yarn](https://yarnpkg.com).\n\n```sh\nnpm install --save-dev react-fix-it\n```\nor\n```sh\nyarn add --dev react-fix-it\n```\n\n## Example\n\n```jsx\nimport React, { Component } from 'react'\nimport fixIt, { options } from 'react-fix-it'\n\n// defaults to console.log\noptions.log = (test) => {\n  console.warn(test)\n  doWatheverYouWant(test)\n}\n\nclass MyComponent extends Component {\n  render() {\n    return <div>Hello ⚛</div>\n  }\n}\n\nexport default fixIt(MyComponent)\n```\n\n:bulb: They easiest way to patch automatically all the components in development mode is by using [babel-plugin-react-fix-it](https://github.com/MicheleBertoli/babel-plugin-react-fix-it) with the following configuration:\n```json\n{\n  \"env\": {\n    \"development\": {\n      \"plugins\": [\"react-fix-it\"]\n    }\n  }\n}\n```\n\n## Test\n```sh\nnpm test\n```\nor\n```sh\nyarn test\n```\n","maintainers":[{"name":"michelebertoli","email":"michele@berto.li"}],"time":{"modified":"2022-06-25T21:40:15.912Z","created":"2016-12-15T12:59:10.142Z","0.1.0":"2016-12-15T12:59:10.142Z","0.2.0":"2016-12-15T13:07:32.852Z","0.3.0":"2016-12-23T07:23:08.788Z","0.3.1":"2016-12-23T21:59:58.851Z","0.3.2":"2016-12-24T13:29:22.296Z","0.3.3":"2016-12-24T14:06:00.036Z"},"homepage":"https://github.com/MicheleBertoli/react-fix-it#readme","repository":{"type":"git","url":"git+https://github.com/MicheleBertoli/react-fix-it.git"},"author":{"name":"Michele Bertoli"},"bugs":{"url":"https://github.com/MicheleBertoli/react-fix-it/issues"},"license":"MIT","readmeFilename":"README.md","users":{"michelebertoli":true,"craigmorton":true}}