{"name":"babel-preset-react-native-stage-0","version":"1.0.0","description":"Enable stage-0 Babel features on React Native.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/skevy/babel-preset-react-native-stage-0.git"},"keywords":["babel","babel-preset","react-native","babel-plugin"],"author":{"name":"Adam Miskiewicz","email":"adam@sk3vy.com"},"license":"MIT","dependencies":{"babel-plugin-syntax-trailing-function-commas":"^6.5.0","babel-plugin-transform-class-constructor-call":"^6.6.5","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-do-expressions":"^6.5.0","babel-plugin-transform-exponentiation-operator":"^6.5.0","babel-plugin-transform-export-extensions":"^6.5.0","babel-plugin-transform-function-bind":"^6.5.2","babel-preset-react-native":"^1.5.6"},"gitHead":"844c0f330a3620b125454afda0ff2ee7c06ef7da","bugs":{"url":"https://github.com/skevy/babel-preset-react-native-stage-0/issues"},"homepage":"https://github.com/skevy/babel-preset-react-native-stage-0#readme","_id":"babel-preset-react-native-stage-0@1.0.0","scripts":{},"_shasum":"92b423f8228d85824d42ebee714f2dfbdb5a78e5","_from":".","_npmVersion":"3.8.2","_nodeVersion":"5.4.1","_npmUser":{"name":"skevy","email":"adam@sk3vy.com"},"dist":{"shasum":"92b423f8228d85824d42ebee714f2dfbdb5a78e5","tarball":"http://registry-npm.ywwl.com/babel-preset-react-native-stage-0/download/babel-preset-react-native-stage-0-1.0.0.tgz","integrity":"sha512-izgr17pu8ltqJmXMcdvJHovGUX1KEGzezNrHqktEN5W5FRofPaL8QfDzFwP6wZpNWA62voO0s/UisyFtxROoxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBM8784J/vzIpMcAYBTrQ1fG49fQ6Zo3QZErEsQoAx86AiEAkdgMq9Ey3ERkx30Cf1d1H59V4br8XZyVa2MvQhvcMg8="}],"size":2047,"noattachment":false,"key":"/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-1.0.0.tgz"},"maintainers":[{"name":"skevy","email":"adam@sk3vy.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-preset-react-native-stage-0-1.0.0.tgz_1459444133160_0.4902493180707097"},"directories":{},"readme":"# babel-preset-react-native-stage-0\n\nHave you encountered weird errors in React Native when trying to use `babel-preset-react-native` and `babel-preset-stage-0` together? Are you generally just confused and frustrating by how hard it is to use the latest and greatest Babel features on RN? This preset is for you!\n\n## Installation\n\n```bash\nnpm install babel-preset-react-native-stage-0 --save\n```\n\n## Usage\n\nJust add a `.babelrc` file to your React Native project that looks like this:\n\n```json5\n{\n  \"presets\": [\"react-native-stage-0\"]\n}\n```\n\nDo you want/need experimental legacy decorator support (provided by [babel-plugin-transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy))? Use this as your .babelrc instead:\n\n```json5\n{\n  \"presets\": [\"react-native-stage-0/decorator-support\"]\n}\n```\n\n## Troubleshooting\n\n**Q**: I added `stage-0` to my \"presets\" list, and now everything is broken!\n\n**A**: Don't do that! This preset supersedes the need for including the stage-0 preset, and works properly with React Native.\n\n---\n\n**Q**: I changed my .babelrc to the above, but I'm still getting strange Babel errors!\n\n**A**: Have you cleared your packager cache? Run the following:\n\n```bash\nwatchman watch-del-all\n[the command you use to start the packager] --reset-cache\n```\n\nIf things are still broken, open an issue and I'll try to help you. I may say \"not a problem with this preset\", and make you go open an issue on the react-native repo. Don't be mad at me if I do that!\n","publish_time":1459444134160,"_cnpm_publish_time":1459444134160,"dist-tags":{"latest":"1.0.1","next":"2.0.0-alpha.1"}}