{"_id":"expo-atlas-without-expo","_rev":"1-4568361e3821850ef53abdb85231592f","name":"expo-atlas-without-expo","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"expo-atlas-without-expo","version":"1.0.0","keywords":["react-native","bundle","visualizer","explorer","expo","react","devtools"],"author":{"url":"https://github.com/V3R0N","name":"Szymon Chmal","email":"szymon@chmal.it"},"license":"MIT","_id":"expo-atlas-without-expo@1.0.0","maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"homepage":"https://github.com/v3ron/expo-atlas-without-expo#readme","bugs":{"url":"https://github.com/v3ron/expo-atlas-without-expo/issues"},"dist":{"shasum":"2926ce85ef40576474a7487731d8aef7bf49b925","tarball":"https://registry.npmjs.org/expo-atlas-without-expo/-/expo-atlas-without-expo-1.0.0.tgz","fileCount":5,"integrity":"sha512-WbBHh450xO/aHkh9/lk21hdYkAo9M0xC+uj2LdhSNpqTxVZHp3188Z+DCHtqIb5hnNvZ+rarrED5p3fhrfKbSg==","signatures":[{"sig":"MEUCIQCeq2R10KUIrWXsql/5S+9ZJhxuYMIF32P85ZHblAPZDgIgUBeYNE/3Nau7JhQlwQH9//hi+1U+ZE1xVOi33x7pPDU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6151},"main":"index.js","_from":"file:expo-atlas-without-expo-1.0.0.tgz","_npmUser":{"name":"aitwar","email":"szymonchmal@gmail.com"},"_resolved":"/private/var/folders/rx/c2x4bbm14t30jjs_k9trl_h80000gn/T/c3bf319fb470524da660f6a3bc5192da/expo-atlas-without-expo-1.0.0.tgz","_integrity":"sha512-WbBHh450xO/aHkh9/lk21hdYkAo9M0xC+uj2LdhSNpqTxVZHp3188Z+DCHtqIb5hnNvZ+rarrED5p3fhrfKbSg==","repository":{"url":"git+https://github.com/v3ron/expo-atlas-without-expo.git","type":"git"},"_npmVersion":"10.5.0","description":"Supercharge your vanilla React Native apps with Expo Atlas metrics","directories":{},"sideEffects":false,"_nodeVersion":"21.7.3","dependencies":{"expo-atlas":"0.4.0"},"_hasShrinkwrap":false,"peerDependencies":{"metro":"^0.79.0"},"_npmOperationalInternal":{"tmp":"tmp/expo-atlas-without-expo_1.0.0_1738326477080_0.4268024490709237","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"sideEffects":false,"name":"expo-atlas-without-expo","version":"1.0.1","description":"Supercharge your vanilla React Native apps with Expo Atlas metrics","keywords":["react-native","bundle","visualizer","explorer","expo","react","devtools"],"main":"index.js","homepage":"https://github.com/v3ron/expo-atlas-without-expo#readme","bugs":{"url":"https://github.com/v3ron/expo-atlas-without-expo/issues"},"repository":{"type":"git","url":"git+https://github.com/v3ron/expo-atlas-without-expo.git"},"license":"MIT","dependencies":{"expo-atlas":"^0.4.0"},"peerDependencies":{"metro":"^0.79.0 || ^0.81.0","expo-atlas":"^0.4.0"},"peerDependenciesMeta":{"expo-atlas":{"optional":false}},"author":{"name":"Szymon Chmal","email":"szymon@chmal.it","url":"https://github.com/V3R0N"},"_id":"expo-atlas-without-expo@1.0.1","_integrity":"sha512-YW27H7fZRRxOSnu3RcA1U9InW1/GUdJFEIRSWv1I04NaVaMA27ZEUnkDMn4QLp34q81TiVyJFtj8tjn9LMCtfQ==","_resolved":"/private/var/folders/rx/c2x4bbm14t30jjs_k9trl_h80000gn/T/8f9e22ddacc76dde951924b50d398ec1/expo-atlas-without-expo-1.0.1.tgz","_from":"file:expo-atlas-without-expo-1.0.1.tgz","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-YW27H7fZRRxOSnu3RcA1U9InW1/GUdJFEIRSWv1I04NaVaMA27ZEUnkDMn4QLp34q81TiVyJFtj8tjn9LMCtfQ==","shasum":"2ebe699453acc62b3ec5a432bc7282f6db3652c8","tarball":"https://registry.npmjs.org/expo-atlas-without-expo/-/expo-atlas-without-expo-1.0.1.tgz","fileCount":5,"unpackedSize":6671,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDwi02WQHagv9+HUTZPttmJWL8KLvxFCE5rfmcVJ9EmlgIhANR6AqwNIIHKGz7hIiAUZCr2HOucXAGkV+4sa3J7tVAL"}]},"_npmUser":{"name":"aitwar","email":"szymonchmal@gmail.com"},"directories":{},"maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/expo-atlas-without-expo_1.0.1_1738495020219_0.9121386245006711"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-31T12:27:57.080Z","modified":"2025-02-02T11:17:00.592Z","1.0.0":"2025-01-31T12:27:57.260Z","1.0.1":"2025-02-02T11:17:00.423Z"},"bugs":{"url":"https://github.com/v3ron/expo-atlas-without-expo/issues"},"author":{"name":"Szymon Chmal","email":"szymon@chmal.it","url":"https://github.com/V3R0N"},"license":"MIT","homepage":"https://github.com/v3ron/expo-atlas-without-expo#readme","keywords":["react-native","bundle","visualizer","explorer","expo","react","devtools"],"repository":{"type":"git","url":"git+https://github.com/v3ron/expo-atlas-without-expo.git"},"description":"Supercharge your vanilla React Native apps with Expo Atlas metrics","maintainers":[{"name":"aitwar","email":"szymonchmal@gmail.com"}],"readme":"<div align=\"center\">\n\n# 📊 expo-atlas-without-expo\n\n[![npm version](https://img.shields.io/npm/v/expo-atlas-without-expo.svg?style=flat-square)](https://www.npmjs.com/package/expo-atlas-without-expo)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/v3ron/expo-atlas-without-expo/blob/main/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n**Supercharge your vanilla React Native apps with Expo Atlas metrics**\n\n[Installation](#installation) •\n[Usage](#usage) •\n[Documentation](#configuration-options) •\n[Contributing](#contributing)\n\n---\n\n</div>\n\n## Overview\n\nThis package allows you to use Expo Atlas in your vanilla React Native applications without requiring a full Expo setup. It provides the same functionality as Expo Atlas in Expo apps but works with custom Metro configurations.\n\n## ✨ Features\n\n- 🔄 Seamless integration with existing Metro config\n- 📊 Full Expo Atlas metrics support\n- 🛠 Custom serializer preservation\n- ⚡️ Zero performance overhead\n- 🎯 Simple one-line setup\n\n## 🚀 Installation\n\n```bash\nnpm install --save-dev expo-atlas-without-expo expo-atlas\n# or\nyarn add -D expo-atlas-without-expo expo-atlas\n# or\npnpm add --save-dev expo-atlas-without-expo expo-atlas\n```\n\n## 📖 Usage\n\n1. Import the adapter in your Metro configuration file (`metro.config.js`):\n\n```javascript\nconst { withExpoAtlasWithoutExpo } = require('expo-atlas-without-expo');\n\nmodule.exports = withExpoAtlasWithoutExpo({\n  // Your existing Metro configuration\n}, {\n  // Optional: Specify custom Atlas options\n  atlasFile: 'path/to/atlas-stats.json'\n});\n```\n\n\n2. Bundle your application using the React Native CLI:\n\n```bash\nnpx react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios/main.jsbundle\n# or for Android\nnpx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle\n```\n\n3. Run Expo Atlas - it will automatically detect and analyze the statistics gathered during bundling:\n\n```bash\nnpx expo-atlas\n```\n\n## ⚙️ Configuration Options\n\nThe `withExpoAtlasWithoutExpo` function accepts two parameters:\n\n- `metroConfig`: Your base Metro configuration object\n- `options`: (Optional) An object with the following properties:\n    - `atlasFile`: Custom path for the Atlas statistics output file\n\n## 🔍 How It Works\n\nThe adapter wraps your Metro configuration with Expo Atlas while preserving your existing serializer settings. It ensures compatibility between Expo Atlas and your custom Metro setup by:\n\n1. Maintaining your existing Metro configuration\n2. Adding the necessary Expo Atlas instrumentation\n3. Preserving any custom serializers you may have configured\n\n## 💡 Example\n\n```javascript\nconst { withExpoAtlasWithoutExpo } = require('expo-atlas-without-expo');\n\nconst config = {\n  transformer: {\n    // Your transformer config\n  },\n  resolver: {\n    // Your resolver config\n  },\n  // ... other Metro config options\n};\n\nmodule.exports = withExpoAtlasWithoutExpo(config, {\n  atlasFile: './build/atlas-stats.json'\n});\n```\n\n## 📄 License\n\nMIT\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","readmeFilename":"README.md"}