{"_id":"@react-native-swc/core","_rev":"6-b00bc2d32684453728779dea06e52e22","name":"@react-native-swc/core","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@react-native-swc/core","version":"0.1.0","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"author":{"name":"Joel Arvidsson"},"license":"MIT","_id":"@react-native-swc/core@0.1.0","maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"homepage":"https://github.com/oblador/react-native-swc#readme","bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"dist":{"shasum":"1fe5a69d570fdfd489915312f4475ff1a305322d","tarball":"https://registry.npmjs.org/@react-native-swc/core/-/core-0.1.0.tgz","fileCount":63,"integrity":"sha512-oQimA7Y5xkLmEFBWSZmQj+hkL7+LmA8HKQeHfmsrpvDiMLSf+AOTv8PVmm3fpkHQOKLAVMYpd+HqV4HA1I8Srg==","signatures":[{"sig":"MEUCIQC85Zxcxeng2gRkMjVy9fHLBnLQ13SGvvbRhinbGlSnjQIgB6rNEjbORezB+Qed0xmFkJpuhljAgIq2j9ny4kee7Z0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152167},"main":"dist/index.js","_from":"file:react-native-swc-core-0.1.0.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./minifier":{"types":"./dist/minifier.d.ts","default":"./dist/minifier.js","require":"./dist/minifier.js"},"./expo-plugin":{"types":"./dist/expo-plugin.d.ts","default":"./dist/expo-plugin.js","require":"./dist/expo-plugin.js"},"./package.json":"./package.json","./app.plugin.js":"./app.plugin.js","./transform-worker":{"types":"./dist/transform-worker.d.ts","default":"./dist/transform-worker.js","require":"./dist/transform-worker.js"}},"scripts":{"dev":"tsgo --watch","test":"rstest run","build":"pnpm build:ts","clean":"rm -rf dist tsconfig.build.tsbuildinfo","build:ts":"tsgo --build tsconfig.build.json","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"oblador","email":"joel@oblador.se"},"_resolved":"/private/var/folders/4v/z0gc48qd7ps0n0d1_81x0jd40000gn/T/df2cb2c2b6ad74133387f5bf100bde0a/react-native-swc-core-0.1.0.tgz","_integrity":"sha512-oQimA7Y5xkLmEFBWSZmQj+hkL7+LmA8HKQeHfmsrpvDiMLSf+AOTv8PVmm3fpkHQOKLAVMYpd+HqV4HA1I8Srg==","repository":{"url":"git+https://github.com/oblador/react-native-swc.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.4","description":"SWC-powered Metro transformer for fast React Native transpilation","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@swc/core":"^1.15.30","@jridgewell/sourcemap-codec":"^1.5.0","@react-native-swc/metro-plugin":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":">=7.20.0","@types/node":"^22.0.0","@rstest/core":"^0.9.9","metro-config":"^0.84.3","@expo/config-plugins":"^54.0.0","metro-transform-worker":"^0.84.3","@typescript/native-preview":"^7.0.0-dev.20260426.1","@react-native-swc/worklets-plugin":"0.1.0"},"peerDependencies":{"react-native":">=0.74.0","@expo/config-plugins":">=50.0.0"},"peerDependenciesMeta":{"@expo/config-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1777235338273_0.25895110153788736","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@react-native-swc/core","version":"0.1.1","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"author":{"name":"Joel Arvidsson"},"license":"MIT","_id":"@react-native-swc/core@0.1.1","maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"homepage":"https://github.com/oblador/react-native-swc#readme","bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"dist":{"shasum":"4e1033a5f46a0fcda82059c04675fe1b023dee93","tarball":"https://registry.npmjs.org/@react-native-swc/core/-/core-0.1.1.tgz","fileCount":60,"integrity":"sha512-9C1wNAjS5/AdS6/jlNcjMoQqLNrX8ShTb9Leuy9YiUlEfLRR52+oOWen8MI3bP6W0C9hduh2aqWWqF+O/rA82Q==","signatures":[{"sig":"MEUCIEKNp25upFiDDPVbs27v3ZK05hIL9as7jGvkTOWwShuvAiEAjMrNL4j4gwSWzOQLO0sNGz3Vj7Ud+Boom1nPHMwSIa0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@react-native-swc%2fcore@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":164245},"main":"dist/index.js","_from":"file:react-native-swc-core-0.1.1.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./minifier":{"types":"./dist/minifier.d.ts","default":"./dist/minifier.js","require":"./dist/minifier.js"},"./expo-plugin":{"types":"./dist/expo-plugin.d.ts","default":"./dist/expo-plugin.js","require":"./dist/expo-plugin.js"},"./package.json":"./package.json","./app.plugin.js":"./app.plugin.js","./transform-worker":{"types":"./dist/transform-worker.d.ts","default":"./dist/transform-worker.js","require":"./dist/transform-worker.js"}},"scripts":{"dev":"tsgo --watch","test":"rstest run","build":"pnpm build:ts","clean":"rm -rf dist tsconfig.build.tsbuildinfo","build:ts":"tsgo --build tsconfig.build.json","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1007ba-cc6c-40b1-ae2f-af4f6cde9704"}},"_resolved":"/tmp/c59475b16817362c8d24cb7411659cbc/react-native-swc-core-0.1.1.tgz","_integrity":"sha512-9C1wNAjS5/AdS6/jlNcjMoQqLNrX8ShTb9Leuy9YiUlEfLRR52+oOWen8MI3bP6W0C9hduh2aqWWqF+O/rA82Q==","repository":{"url":"git+https://github.com/oblador/react-native-swc.git","type":"git","directory":"packages/core"},"_npmVersion":"11.13.0","description":"SWC-powered Metro transformer for fast React Native transpilation","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@swc/core":"^1.15.32","@jridgewell/sourcemap-codec":"^1.5.0","@react-native-swc/metro-plugin":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":">=7.20.0","@types/node":"^22.0.0","@rstest/core":"^0.9.9","metro-config":"^0.84.3","@expo/config-plugins":"^54.0.0","metro-transform-worker":"^0.84.3","@typescript/native-preview":"^7.0.0-dev.20260426.1","@react-native-swc/worklets-plugin":"0.1.1"},"peerDependencies":{"react-native":">=0.74.0","@expo/config-plugins":">=50.0.0"},"peerDependenciesMeta":{"@expo/config-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1777320800100_0.9817106483254501","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@react-native-swc/core","version":"0.1.2","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"author":{"name":"Joel Arvidsson"},"license":"MIT","_id":"@react-native-swc/core@0.1.2","maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"homepage":"https://github.com/oblador/react-native-swc#readme","bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"dist":{"shasum":"68da680345c872cb35c7216778f6224f9b1a6be7","tarball":"https://registry.npmjs.org/@react-native-swc/core/-/core-0.1.2.tgz","fileCount":60,"integrity":"sha512-p7/69CQ3+B0fVE0QNCpnyA7KMwlSQrOwMX/1swIpi7+178+PrJg7EhYP2wF/jo2Uz0ZRbF6il9tXHA42qSRo8w==","signatures":[{"sig":"MEQCIEAabTip5mKx3biflHVtsFpWWWYGu5d09t9tyfZG8aOvAiB2Tg02ZpdkmDc12MbDp8l7Cu0gTErlUH4o8Y3d8a9sLg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@react-native-swc%2fcore@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165772},"main":"dist/index.js","_from":"file:react-native-swc-core-0.1.2.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./minifier":{"types":"./dist/minifier.d.ts","default":"./dist/minifier.js","require":"./dist/minifier.js"},"./expo-plugin":{"types":"./dist/expo-plugin.d.ts","default":"./dist/expo-plugin.js","require":"./dist/expo-plugin.js"},"./package.json":"./package.json","./app.plugin.js":"./app.plugin.js","./transform-worker":{"types":"./dist/transform-worker.d.ts","default":"./dist/transform-worker.js","require":"./dist/transform-worker.js"}},"scripts":{"dev":"tsgo --watch","test":"rstest run","build":"pnpm build:ts","clean":"rm -rf dist tsconfig.build.tsbuildinfo","build:ts":"tsgo --build tsconfig.build.json","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1007ba-cc6c-40b1-ae2f-af4f6cde9704"}},"_resolved":"/tmp/069101c286e076b73892aeb250a46344/react-native-swc-core-0.1.2.tgz","_integrity":"sha512-p7/69CQ3+B0fVE0QNCpnyA7KMwlSQrOwMX/1swIpi7+178+PrJg7EhYP2wF/jo2Uz0ZRbF6il9tXHA42qSRo8w==","repository":{"url":"git+https://github.com/oblador/react-native-swc.git","type":"git","directory":"packages/core"},"_npmVersion":"11.13.0","description":"SWC-powered Metro transformer for fast React Native transpilation","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@swc/core":"^1.15.32","@jridgewell/sourcemap-codec":"^1.5.0","@react-native-swc/metro-plugin":"0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":">=7.20.0","@types/node":"^22.0.0","@rstest/core":"^0.9.9","metro-config":"^0.84.3","@expo/config-plugins":"^54.0.0","metro-transform-worker":"^0.84.3","@typescript/native-preview":"^7.0.0-dev.20260426.1","@react-native-swc/worklets-plugin":"0.1.2"},"peerDependencies":{"react-native":">=0.74.0","@expo/config-plugins":">=50.0.0"},"peerDependenciesMeta":{"@expo/config-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.2_1777704346659_0.17282709520823292","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@react-native-swc/core","version":"0.1.3","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"author":{"name":"Joel Arvidsson"},"license":"MIT","_id":"@react-native-swc/core@0.1.3","maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"homepage":"https://github.com/oblador/react-native-swc#readme","bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"dist":{"shasum":"9525934c98950d8bd2e31452a753d47bc03eaeed","tarball":"https://registry.npmjs.org/@react-native-swc/core/-/core-0.1.3.tgz","fileCount":60,"integrity":"sha512-87la5X03eiFPZvtULeZcDNoPCUdWpuKYOuR7HqJa9OBgiqFxtqlwEDTv9UUlw7ypySKfroKo4ldQY5n2P8qlSA==","signatures":[{"sig":"MEQCIFyoFLQ3RAD+MdhzcuJBOdECByRouXNtFSyn/ppd1KK7AiBjJDHPczkzv9taL1IFSeZ2NhAFgnU5IgkThJUsYRziWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@react-native-swc%2fcore@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165455},"main":"dist/index.js","_from":"file:react-native-swc-core-0.1.3.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./minifier":{"types":"./dist/minifier.d.ts","default":"./dist/minifier.js","require":"./dist/minifier.js"},"./expo-plugin":{"types":"./dist/expo-plugin.d.ts","default":"./dist/expo-plugin.js","require":"./dist/expo-plugin.js"},"./package.json":"./package.json","./app.plugin.js":"./app.plugin.js","./transform-worker":{"types":"./dist/transform-worker.d.ts","default":"./dist/transform-worker.js","require":"./dist/transform-worker.js"}},"scripts":{"dev":"tsgo --watch","test":"rstest run","build":"pnpm build:ts","clean":"rm -rf dist tsconfig.build.tsbuildinfo","build:ts":"tsgo --build tsconfig.build.json","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1007ba-cc6c-40b1-ae2f-af4f6cde9704"}},"_resolved":"/tmp/67d8f75722115aed8e7761b38ed07e06/react-native-swc-core-0.1.3.tgz","_integrity":"sha512-87la5X03eiFPZvtULeZcDNoPCUdWpuKYOuR7HqJa9OBgiqFxtqlwEDTv9UUlw7ypySKfroKo4ldQY5n2P8qlSA==","repository":{"url":"git+https://github.com/oblador/react-native-swc.git","type":"git","directory":"packages/core"},"_npmVersion":"11.14.1","description":"SWC-powered Metro transformer for fast React Native transpilation","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@swc/core":"^1.15.32","@jridgewell/sourcemap-codec":"^1.5.0","@react-native-swc/metro-plugin":"0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":">=7.20.0","@types/node":"^22.0.0","@rstest/core":"^0.9.9","metro-config":"^0.84.3","@expo/config-plugins":"^54.0.0","metro-transform-worker":"^0.84.3","@typescript/native-preview":"^7.0.0-dev.20260426.1","@react-native-swc/worklets-plugin":"0.1.3"},"peerDependencies":{"react-native":">=0.74.0","@expo/config-plugins":">=50.0.0"},"peerDependenciesMeta":{"@expo/config-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.3_1778424712936_0.3500792844388103","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@react-native-swc/core","version":"0.1.4","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"author":{"name":"Joel Arvidsson"},"license":"MIT","_id":"@react-native-swc/core@0.1.4","maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"homepage":"https://github.com/oblador/react-native-swc#readme","bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"dist":{"shasum":"2dcf15c35c5e02022e2141a8fb7d798a9efc3294","tarball":"https://registry.npmjs.org/@react-native-swc/core/-/core-0.1.4.tgz","fileCount":60,"integrity":"sha512-cWGOO2VLiSR7K3d2zrMqWO6oyu9ihYiV7k3j15ncp22MGurb3XYST3fOwPE/WdoqkTMNBkwIEGZFIqgSl1gR4A==","signatures":[{"sig":"MEYCIQDXOakYdqXgYHZvmf2gyEDz+G44rDiCgtT9Daet7p6fUwIhAOtA5mSE0Pd4p1pzoaOT5vyPwKs/udk6CFWk0z5w5Zak","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@react-native-swc%2fcore@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165999},"main":"dist/index.js","_from":"file:react-native-swc-core-0.1.4.tgz","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","require":"./dist/index.js"},"./minifier":{"types":"./dist/minifier.d.ts","default":"./dist/minifier.js","require":"./dist/minifier.js"},"./expo-plugin":{"types":"./dist/expo-plugin.d.ts","default":"./dist/expo-plugin.js","require":"./dist/expo-plugin.js"},"./package.json":"./package.json","./app.plugin.js":"./app.plugin.js","./transform-worker":{"types":"./dist/transform-worker.d.ts","default":"./dist/transform-worker.js","require":"./dist/transform-worker.js"}},"scripts":{"dev":"tsgo --watch","test":"rstest run","build":"pnpm build:ts","clean":"rm -rf dist tsconfig.build.tsbuildinfo","build:ts":"tsgo --build tsconfig.build.json","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1007ba-cc6c-40b1-ae2f-af4f6cde9704"}},"_resolved":"/tmp/d453ddd6b22200d85584f24cedf757d5/react-native-swc-core-0.1.4.tgz","_integrity":"sha512-cWGOO2VLiSR7K3d2zrMqWO6oyu9ihYiV7k3j15ncp22MGurb3XYST3fOwPE/WdoqkTMNBkwIEGZFIqgSl1gR4A==","repository":{"url":"git+https://github.com/oblador/react-native-swc.git","type":"git","directory":"packages/core"},"_npmVersion":"11.14.1","description":"SWC-powered Metro transformer for fast React Native transpilation","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@swc/core":"^1.15.32","@jridgewell/sourcemap-codec":"^1.5.0","@react-native-swc/metro-plugin":"0.1.4"},"_hasShrinkwrap":false,"devDependencies":{"@babel/core":">=7.20.0","@types/node":"^22.0.0","@rstest/core":"^0.9.9","metro-config":"^0.84.3","@expo/config-plugins":"^54.0.0","metro-transform-worker":"^0.84.3","@typescript/native-preview":"^7.0.0-dev.20260426.1","@react-native-swc/worklets-plugin":"0.1.4"},"peerDependencies":{"react-native":">=0.74.0","@expo/config-plugins":">=50.0.0"},"peerDependenciesMeta":{"@expo/config-plugins":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.4_1779044857241_0.9775618316431856","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@react-native-swc/core","version":"0.1.5","description":"SWC-powered Metro transformer for fast React Native transpilation","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"homepage":"https://github.com/oblador/react-native-swc#readme","bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"license":"MIT","author":{"name":"Joel Arvidsson"},"repository":{"type":"git","url":"git+https://github.com/oblador/react-native-swc.git","directory":"packages/core"},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.js","default":"./dist/index.js"},"./transform-worker":{"types":"./dist/transform-worker.d.ts","require":"./dist/transform-worker.js","default":"./dist/transform-worker.js"},"./minifier":{"types":"./dist/minifier.d.ts","require":"./dist/minifier.js","default":"./dist/minifier.js"},"./expo-plugin":{"types":"./dist/expo-plugin.d.ts","require":"./dist/expo-plugin.js","default":"./dist/expo-plugin.js"},"./app.plugin.js":"./app.plugin.js","./package.json":"./package.json"},"dependencies":{"@jridgewell/sourcemap-codec":"^1.5.0","@swc/core":"^1.15.32","@react-native-swc/metro-plugin":"0.1.5"},"devDependencies":{"@babel/core":">=7.20.0","@expo/config-plugins":"^54.0.0","@rstest/core":"^0.9.9","@types/node":"^22.0.0","@typescript/native-preview":"^7.0.0-dev.20260426.1","metro-config":"^0.84.3","metro-transform-worker":"^0.84.3","@react-native-swc/worklets-plugin":"0.1.5"},"peerDependencies":{"@expo/config-plugins":">=50.0.0","react-native":">=0.74.0"},"peerDependenciesMeta":{"@expo/config-plugins":{"optional":true}},"engines":{"node":">=18"},"scripts":{"dev":"tsgo --watch","build":"pnpm build:ts","build:ts":"tsgo --build tsconfig.build.json","clean":"rm -rf dist tsconfig.build.tsbuildinfo","test":"rstest run","typecheck":"tsgo --noEmit"},"_id":"@react-native-swc/core@0.1.5","_integrity":"sha512-nODfHtQsNCg8GBNqX427/cZZM99r5yFVHZEX+/Em1CmPMMwQfA5ZO2HAjGJzs1T95SsblFhjJWqVLnHzSbAZ+w==","_resolved":"/tmp/4106eb4c66105bd433198663c24e2df0/react-native-swc-core-0.1.5.tgz","_from":"file:react-native-swc-core-0.1.5.tgz","_nodeVersion":"25.9.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-nODfHtQsNCg8GBNqX427/cZZM99r5yFVHZEX+/Em1CmPMMwQfA5ZO2HAjGJzs1T95SsblFhjJWqVLnHzSbAZ+w==","shasum":"d79143a69c82fdd562f3495ce56ca9b9ff81fb32","tarball":"https://registry.npmjs.org/@react-native-swc/core/-/core-0.1.5.tgz","fileCount":60,"unpackedSize":165999,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@react-native-swc%2fcore@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE3syIMOOX1pCdwR44RyRQgWAvzBXdb7PN8wXaF4a6wvAiEA6jPtxSm6/tzQX61wNXi87lHHxERdy6NxnYmjhpMPvYg="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae1007ba-cc6c-40b1-ae2f-af4f6cde9704"}},"directories":{},"maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.5_1780248095681_0.5330600295554355"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-26T20:28:58.202Z","modified":"2026-05-31T17:21:36.213Z","0.1.0":"2026-04-26T20:28:58.412Z","0.1.1":"2026-04-27T20:13:20.239Z","0.1.2":"2026-05-02T06:45:46.815Z","0.1.3":"2026-05-10T14:51:53.092Z","0.1.4":"2026-05-17T19:07:37.388Z","0.1.5":"2026-05-31T17:21:35.887Z"},"bugs":{"url":"https://github.com/oblador/react-native-swc/issues"},"author":{"name":"Joel Arvidsson"},"license":"MIT","homepage":"https://github.com/oblador/react-native-swc#readme","keywords":["bundler","flow","jsx","metro","react-native","swc","transformer","typescript"],"repository":{"type":"git","url":"git+https://github.com/oblador/react-native-swc.git","directory":"packages/core"},"description":"SWC-powered Metro transformer for fast React Native transpilation","maintainers":[{"name":"oblador","email":"joel@oblador.se"}],"readme":"# react-native-swc\n\n**SWC-powered transformer for Metro**\n\n[![CI](https://github.com/oblador/react-native-swc/actions/workflows/ci.yml/badge.svg)](https://github.com/oblador/react-native-swc/actions/workflows/ci.yml)\n[![npm (@react-native-swc/core)](https://img.shields.io/npm/v/@react-native-swc/core?label=react-native-swc)](https://www.npmjs.com/package/react-native-swc)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)\n[![Follow oblador on GitHub](https://img.shields.io/github/followers/oblador?label=Follow%20%40oblador&style=social)](https://github.com/oblador)\n[![Follow trastknast on X](https://img.shields.io/twitter/follow/trastknast?label=Follow%20%40trastknast&style=social)](https://twitter.com/trastknast)\n\n- 🔧 Drop-in replacement for Metro Babel transform worker and minifier\n- 🦀 All transformation in Rust, no Babel in sight\n- 🏎️ Fast: transform worker is ~8× faster & full real world bundling ~3× faster\n- ⚡️ Battery friendly: 15× less CPU utilization\n- 🚇 Feature parity with Metro: HMR, inline requires, `Platform.select()` substituion, constant folding, delta bundles etc\n- 🔤 Native support for Flow, TypeScript, ESM, CJS, JSX\n- 🧵 Worklet/Reanimated support without Babel through custom SWC plugin\n- 🔌 Support for SWC plugins and `process.env` inlining\n- ⚛️ Expo Plugin for seamless integration\n\n## Install\n\n```sh\nyarn add -D @react-native-swc/core\n```\n\nIf your app uses `react-native-reanimated`:\n\n```sh\nyarn add -D @react-native-swc/worklets-plugin\n```\n\n## Setup\n\n### Expo (managed / CNG) — config plugin\n\nAdd `@react-native-swc/core` to `app.json`:\n\n```json\n{\n  \"expo\": {\n    \"plugins\": [\"@react-native-swc/core\"]\n  }\n}\n```\n\n```sh\nnpx expo prebuild\n```\n\nThe plugin writes (or updates) a `metro.config.js` wired up to `withSwcTransformer`. If `react-native-worklets` is listed in your dependencies, the worklets SWC plugin is registered automatically. Any `EXPO_PUBLIC_*` env vars present at metro start are inlined into the bundle, matching Expo's default Babel pipeline. If you already have a manual `withSwcTransformer` call, the plugin leaves your config alone.\n\nDisable worklet auto-detection if needed:\n\n```json\n[\"@react-native-swc/core\", { \"worklets\": false }]\n```\n\n> **Note.** Expo config plugins run only during `expo prebuild` (and `eas build`, which invokes prebuild). Running `expo start` alone does not re-run plugins.\n\n### Bare React Native / Expo (manual)\n\n```js\n// metro.config.js\nconst { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');\nconst { withSwcTransformer } = require('@react-native-swc/core');\n\nmodule.exports = withSwcTransformer(mergeConfig(getDefaultConfig(__dirname), {}));\n```\n\nFor Expo without the config plugin, swap `@react-native/metro-config` for `expo/metro-config`. To match Expo's default `EXPO_PUBLIC_*` env-var inlining, forward those vars through `swcConfig.envs`:\n\n```js\n// metro.config.js\nconst { getDefaultConfig } = require('expo/metro-config');\nconst { withSwcTransformer } = require('@react-native-swc/core');\n\n/** @type {import('@react-native-swc/core').SwcTransformerOptions} */\nconst swcConfig = {\n  envs: Object.fromEntries(\n    Object.entries(process.env).filter(([k, v]) => k.startsWith('EXPO_PUBLIC_')),\n  ),\n};\n\nmodule.exports = withSwcTransformer(getDefaultConfig(__dirname), swcConfig);\n```\n\n`process.env.EXPO_PUBLIC_FOO` references in your source are then replaced with the literal value at bundle time. Anything not prefixed with `EXPO_PUBLIC_` is left alone.\n\n### Worklets (`react-native-reanimated`) — manual\n\n```js\n// metro.config.js\nconst { getDefaultConfig } = require('@react-native/metro-config');\nconst { withSwcTransformer } = require('@react-native-swc/core');\n\n/** @type {import('@react-native-swc/core').SwcTransformerOptions} */\nconst swcConfig = {\n  plugins: [\n    [\n      '@react-native-swc/worklets-plugin',\n      {\n        pluginVersion: require('react-native-worklets/package.json').version,\n      },\n    ],\n  ],\n};\n\nmodule.exports = withSwcTransformer(getDefaultConfig(__dirname), swcConfig);\n```\n\n## Configuration\n\n`withSwcTransformer(metroConfig, swcOptions?)` exposes an intentionally narrow surface — everything that affects Metro correctness is owned by the transform worker:\n\n```ts\ninterface SwcTransformerOptions {\n  plugins?: ReadonlyArray<[string, Record<string, unknown>]>;\n  /**\n   * `process.env.FOO`-style replacements to inline at build time. Values are\n   * JSON-encoded for you and merged with the worker's built-ins (`NODE_ENV`,\n   * `EXPO_OS`, …). E.g. `{ API_URL: \"https://x\" }` replaces\n   * `process.env.API_URL` with the literal string `\"https://x\"`.\n   */\n  envs?: Record<string, string>;\n}\n```\n\n### Limitations\n\n- **Custom Babel plugins from `babel.config.js` are not executed.** Reanimated is covered by `@react-native-swc/worklets-plugin` in this repo, for other use cases see [SWC plugin directory](https://plugins.swc.rs).\n- **TypeScript sources must be [isolatedModules](https://www.typescriptlang.org/tsconfig#isolatedModules)-compatible.** SWC parses each file in isolation.\n- **Flow handling is automatic.** User `.js` files are parsed as Flow only if they carry an `@flow` / `@noflow` pragma or if they first fail to parse as plain JavaScript.\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## License\n\n[MIT](./LICENSE).\n","readmeFilename":"README.md"}