{"name":"babel-preset-react-native-stage-0","version":"1.0.1","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":"a0fd4f3b1a118859c1182da580cb8fe3194f4233","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.1","scripts":{},"_shasum":"d5f5f685575471ef756a49f191b193269f74306e","_from":".","_npmVersion":"3.8.2","_nodeVersion":"5.4.1","_npmUser":{"name":"skevy","email":"adam@sk3vy.com"},"dist":{"shasum":"d5f5f685575471ef756a49f191b193269f74306e","tarball":"http://registry-npm.ywwl.com/babel-preset-react-native-stage-0/download/babel-preset-react-native-stage-0-1.0.1.tgz","integrity":"sha512-1CRBmC26JCEVpdw4+duPTjwlwNBMzbcrx0WQPjhcrJGyDCkHttWwmUtMpe14Smd9G9cjHBFmFwXU6WPJzJVYcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoQkCtB7kSGRTDjHI/G2gjbsETB48YXbaBz16dI8IcwwIhAOniBIsGWinm6VgBvMoymERubgSOmstjMqLsLwxa2ott"}],"size":2067,"noattachment":false,"key":"/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-1.0.1.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.1.tgz_1459444793803_0.8520820084959269"},"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":1459444794816,"_cnpm_publish_time":1459444794816,"dist-tags":{"latest":"1.0.1","next":"2.0.0-alpha.1"}}