{"_id":"babel-preset-react-native-stage-0","_rev":"6-74f6278064ad6252217d18f79c4c52e4","name":"babel-preset-react-native-stage-0","description":"Enable stage-0 Babel features on React Native.","dist-tags":{"latest":"1.0.1","next":"2.0.0-alpha.1"},"versions":{"1.0.0":{"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":"https://registry.npmjs.org/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-1.0.0.tgz","integrity":"sha512-izgr17pu8ltqJmXMcdvJHovGUX1KEGzezNrHqktEN5W5FRofPaL8QfDzFwP6wZpNWA62voO0s/UisyFtxROoxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBM8784J/vzIpMcAYBTrQ1fG49fQ6Zo3QZErEsQoAx86AiEAkdgMq9Ey3ERkx30Cf1d1H59V4br8XZyVa2MvQhvcMg8="}]},"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"}},"1.0.1":{"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":"https://registry.npmjs.org/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-1.0.1.tgz","integrity":"sha512-1CRBmC26JCEVpdw4+duPTjwlwNBMzbcrx0WQPjhcrJGyDCkHttWwmUtMpe14Smd9G9cjHBFmFwXU6WPJzJVYcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoQkCtB7kSGRTDjHI/G2gjbsETB48YXbaBz16dI8IcwwIhAOniBIsGWinm6VgBvMoymERubgSOmstjMqLsLwxa2ott"}]},"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"}},"2.0.0-alpha.1":{"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":"https://registry.npmjs.org/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-2.0.0-alpha.1.tgz","integrity":"sha512-ICZbVCFKJooKjuRYjeh73usIOJqWeIyNiQ62lwTJisozo7xfMHq0vbNOcb7+zKEKWUNEL3lJCGX0Vlyeqems2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVBlaStlXsUEyFAbuouQG65oiNWagQs8EgBBxVREfmkAIhANtE9GM96RpzNNWr4juWlCenVNID6irJm6hp4EcySyqM"}]},"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"}}},"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","maintainers":[{"name":"skevy","email":"adam@sk3vy.com"}],"time":{"modified":"2022-06-13T04:07:50.274Z","created":"2016-03-31T17:08:54.160Z","1.0.0":"2016-03-31T17:08:54.160Z","1.0.1":"2016-03-31T17:19:54.816Z","2.0.0-alpha.1":"2017-06-23T19:34:42.999Z"},"homepage":"https://github.com/skevy/babel-preset-react-native-stage-0#readme","keywords":["babel","babel-preset","react-native","babel-plugin"],"repository":{"type":"git","url":"git+https://github.com/skevy/babel-preset-react-native-stage-0.git"},"author":{"name":"Adam Miskiewicz","email":"adam@sk3vy.com"},"bugs":{"url":"https://github.com/skevy/babel-preset-react-native-stage-0/issues"},"license":"MIT","readmeFilename":"README.md","users":{"zhongyuan":true}}