{"_id":"@arrkiin/babel-plugin-react-native-web","_rev":"1-92cfe386650c9aa766529f6c4f6089aa","name":"@arrkiin/babel-plugin-react-native-web","dist-tags":{"latest":"0.5.4"},"versions":{"0.5.4":{"name":"@arrkiin/babel-plugin-react-native-web","description":"Babel plugin for React Native for Web","main":"index.js","devDependencies":{"babel-plugin-tester":"^5.0.0"},"author":{"name":"Jens","email":"arrkiin@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git://github.com/arrkiin/react-native-web.git"},"version":"0.5.4","bugs":{"url":"https://github.com/arrkiin/react-native-web/issues"},"homepage":"https://github.com/arrkiin/react-native-web#readme","_id":"@arrkiin/babel-plugin-react-native-web@0.5.4","_npmVersion":"6.0.0","_nodeVersion":"9.11.1","_npmUser":{"name":"arrkiin","email":"arrkiin@gmail.com"},"dist":{"integrity":"sha512-OjfXkYks2qv9m9sQhioC0FoNWHEC1r78t853/xQmPQOqyR+NYfDwIVpLBez8KeMyhpmDBHkpDdgyiRVUAPvP6Q==","shasum":"2939794fcb65921b329c9a166b050e05212b319c","tarball":"https://registry.npmjs.org/@arrkiin/babel-plugin-react-native-web/-/babel-plugin-react-native-web-0.5.4.tgz","fileCount":7,"unpackedSize":13126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGTkLCRA9TVsSAnZWagAAJHcQAIEDFWrlIHKTS5lzzzDT\nFamHDmYr6Z8/TqEEVPDv4x/DvMfVQpOqPdpMXi/sQcH/cS2sfavxNIBaP7wp\nc5WDmQHMOWNQSshxz0ShVJ6kFRzu9e1ZQVYcIJIS2ZBEo83J+NhFnypu28xL\nYhvBImaLZFRTWvnDaLDensfLzeJBDiKpvAwViYOWupdYVClGkemxr8hlvykX\np4zjDOF4Yb2Z7e9/PM0plXZW6RCS8kwbNdzxlaGAl2UAkbRi70nMuOHUBOY/\nwEExPyoeND5kLhLGjUAjWBRkeuedwbgphl/R7eaAVWtsAoIBtkOMXSmRa+G9\nhPAHKgPjY0gZwEDOgVfUocbecjBotwk4XP8MwZY/jEKLJN/x9sxQ62jbvnvT\nn54G6BISgtGpTn29txEnXpW+o9wvlQZ/nzLBXqgxxQhCzEt4z4aUbvHNUwqf\nUcfPb2tD31nEDqdxm3lOFIS8oApem52iEnu+fKmCSSDEkZCSu8mxKSpLOAyc\npv4bXyPnakS4fQCA2U08YPqRI4aE+xKTMaNUs2ljQ/6FA7MM4uWDXCRwTFYj\nMFE6T1uwajaUtmFsQJ6lRjRrJ7Bc+3yGlsuOvnM5tlDYqg9RgINA2UfWk2DI\nnS336556fnV4XjV0rrX/de/Bt/obu+nNG2HrSVscGrrk9zk6T0gwwwDlKUQ0\n6Y/m\r\n=ncK1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMyXAUJv3F3ZTttnD4PA0ltUyywFA/cmNrYloJY/QoHAiBY7gtFF9oOn2KfMEBGcW6WfNMUzcDDXPh9c3KkYTllYA=="}]},"maintainers":[{"name":"arrkiin","email":"arrkiin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-react-native-web_0.5.4_1528379659009_0.43000296408406435"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-07T13:54:18.730Z","0.5.4":"2018-06-07T13:54:19.056Z","modified":"2022-04-04T15:35:03.061Z"},"maintainers":[{"name":"arrkiin","email":"arrkiin@gmail.com"}],"description":"Babel plugin for React Native for Web","homepage":"https://github.com/arrkiin/react-native-web#readme","repository":{"type":"git","url":"git://github.com/arrkiin/react-native-web.git"},"author":{"name":"Jens","email":"arrkiin@gmail.com"},"bugs":{"url":"https://github.com/arrkiin/react-native-web/issues"},"license":"MIT","readme":"# babel-plugin-react-native-web\n\n[![npm version][package-badge]][package-url] [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://reactjs.org/docs/how-to-contribute.html#your-first-pull-request)\n\nA Babel plugin that will alias `react-native` to `react-native-web` and exclude\nany modules not required by your app (keeping bundle size down).\n\n## Installation\n\n```\nyarn add --dev babel-plugin-react-native-web\n```\n\n## Usage\n\n**.babelrc**\n\n```\n{\n  \"plugins\": [\"react-native-web\"]\n}\n```\n\n## Example\n\nNOTE: `react-native-web` internal paths are _not stable_ and you must not rely\non them. Always use the Babel plugin to optimize your build. What follows is an\nexample of the rewrite performed by the plugin.\n\n**Before**\n\n```js\nimport { StyleSheet, View } from 'react-native';\n```\n\n**After**\n\n```js\nimport StyleSheet from 'react-native-web/dist/exports/StyleSheet';\nimport View from 'react-native-web/dist/exports/View';\n```\n\n[package-badge]: https://img.shields.io/npm/v/babel-plugin-react-native-web.svg?style=flat\n[package-url]: https://yarnpkg.com/en/package/babel-plugin-react-native-web\n","readmeFilename":"README.md"}