{"name":"babel-preset-react-native-stage-0","version":"2.0.0-alpha.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":"^2.0.0"},"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@2.0.0-alpha.1","scripts":{},"_shasum":"5b5018211847aa083a364eae733defb922b4a32d","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"skevy","email":"adam@sk3vy.com"},"dist":{"shasum":"5b5018211847aa083a364eae733defb922b4a32d","tarball":"http://registry-npm.ywwl.com/babel-preset-react-native-stage-0/download/babel-preset-react-native-stage-0-2.0.0-alpha.1.tgz","integrity":"sha512-ICZbVCFKJooKjuRYjeh73usIOJqWeIyNiQ62lwTJisozo7xfMHq0vbNOcb7+zKEKWUNEL3lJCGX0Vlyeqems2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVBlaStlXsUEyFAbuouQG65oiNWagQs8EgBBxVREfmkAIhANtE9GM96RpzNNWr4juWlCenVNID6irJm6hp4EcySyqM"}],"size":7409,"noattachment":false,"key":"/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-2.0.0-alpha.1.tgz"},"maintainers":[{"name":"skevy","email":"adam@sk3vy.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-preset-react-native-stage-0-2.0.0-alpha.1.tgz_1498246482911_0.5812840107828379"},"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":1498246482999,"_cnpm_publish_time":1498246482999,"dist-tags":{"latest":"1.0.1","next":"2.0.0-alpha.1"}}