Skip to content

Instantly share code, notes, and snippets.

@balvinderg
Created January 29, 2024 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save balvinderg/5821aa34812508fdb1499d540420c948 to your computer and use it in GitHub Desktop.
Save balvinderg/5821aa34812508fdb1499d540420c948 to your computer and use it in GitHub Desktop.
Node config command output
{
"root": "appFolderPath",
"reactNativePath": "appFolderPath/node_modules/react-native",
"dependencies": {
"@react-native-async-storage/async-storage": {
"root": "appFolderPath/node_modules/@react-native-async-storage/async-storage",
"name": "@react-native-async-storage/async-storage",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/@react-native-async-storage/async-storage/ios",
"folder": "appFolderPath/node_modules/@react-native-async-storage/async-storage",
"pbxprojPath": "appFolderPath/node_modules/@react-native-async-storage/async-storage/ios/RNCAsyncStorage.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/@react-native-async-storage/async-storage/RNCAsyncStorage.podspec",
"projectPath": "appFolderPath/node_modules/@react-native-async-storage/async-storage/ios/RNCAsyncStorage.xcodeproj",
"projectName": "RNCAsyncStorage.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/@react-native-async-storage/async-storage/android",
"folder": "appFolderPath/node_modules/@react-native-async-storage/async-storage",
"packageImportPath": "import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;",
"packageInstance": "new AsyncStoragePackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"@sentry/react-native": {
"root": "appFolderPath/node_modules/@sentry/react-native",
"name": "@sentry/react-native",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/@sentry/react-native/ios",
"folder": "appFolderPath/node_modules/@sentry/react-native",
"pbxprojPath": "appFolderPath/node_modules/@sentry/react-native/ios/RNSentry.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/@sentry/react-native/RNSentry.podspec",
"projectPath": "appFolderPath/node_modules/@sentry/react-native/ios/RNSentry.xcodeproj",
"projectName": "RNSentry.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [
"libz.tbd"
],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/@sentry/react-native/android",
"folder": "appFolderPath/node_modules/@sentry/react-native",
"packageImportPath": "import io.sentry.react.RNSentryPackage;",
"packageInstance": "new RNSentryPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {
"postlink": "node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android",
"postunlink": "node node_modules/@sentry/wizard/dist/bin.js -i reactNative -p ios android --uninstall"
},
"params": []
},
"lottie-react-native": {
"root": "appFolderPath/node_modules/lottie-react-native",
"name": "lottie-react-native",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/lottie-react-native/ios",
"folder": "appFolderPath/node_modules/lottie-react-native",
"pbxprojPath": "appFolderPath/node_modules/lottie-react-native/ios/LottieReactNative.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/lottie-react-native/lottie-react-native.podspec",
"projectPath": "appFolderPath/node_modules/lottie-react-native/ios/LottieReactNative.xcodeproj",
"projectName": "LottieReactNative.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/lottie-react-native/android",
"folder": "appFolderPath/node_modules/lottie-react-native",
"packageImportPath": "import com.airbnb.android.react.lottie.LottiePackage;",
"packageInstance": "new LottiePackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-geolocation-service": {
"root": "appFolderPath/node_modules/react-native-geolocation-service",
"name": "react-native-geolocation-service",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-geolocation-service/ios",
"folder": "appFolderPath/node_modules/react-native-geolocation-service",
"pbxprojPath": "appFolderPath/node_modules/react-native-geolocation-service/ios/RNFusedLocation.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-geolocation-service/react-native-geolocation-service.podspec",
"projectPath": "appFolderPath/node_modules/react-native-geolocation-service/ios/RNFusedLocation.xcodeproj",
"projectName": "RNFusedLocation.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-geolocation-service/android",
"folder": "appFolderPath/node_modules/react-native-geolocation-service",
"packageImportPath": "import com.agontuk.RNFusedLocation.RNFusedLocationPackage;",
"packageInstance": "new RNFusedLocationPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-gesture-handler": {
"root": "appFolderPath/node_modules/react-native-gesture-handler",
"name": "react-native-gesture-handler",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-gesture-handler/ios",
"folder": "appFolderPath/node_modules/react-native-gesture-handler",
"pbxprojPath": "appFolderPath/node_modules/react-native-gesture-handler/ios/RNGestureHandler.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-gesture-handler/RNGestureHandler.podspec",
"projectPath": "appFolderPath/node_modules/react-native-gesture-handler/ios/RNGestureHandler.xcodeproj",
"projectName": "RNGestureHandler.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-gesture-handler/android",
"folder": "appFolderPath/node_modules/react-native-gesture-handler",
"packageImportPath": "import com.swmansion.gesturehandler.RNGestureHandlerPackage;",
"packageInstance": "new RNGestureHandlerPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-haptic-feedback": {
"root": "appFolderPath/node_modules/react-native-haptic-feedback",
"name": "react-native-haptic-feedback",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-haptic-feedback/ios",
"folder": "appFolderPath/node_modules/react-native-haptic-feedback",
"pbxprojPath": "appFolderPath/node_modules/react-native-haptic-feedback/ios/RNReactNativeHapticFeedback.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-haptic-feedback/RNReactNativeHapticFeedback.podspec",
"projectPath": "appFolderPath/node_modules/react-native-haptic-feedback/ios/RNReactNativeHapticFeedback.xcodeproj",
"projectName": "RNReactNativeHapticFeedback.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-haptic-feedback/android",
"folder": "appFolderPath/node_modules/react-native-haptic-feedback",
"packageImportPath": "import com.mkuczera.RNReactNativeHapticFeedbackPackage;",
"packageInstance": "new RNReactNativeHapticFeedbackPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-image-picker": {
"root": "appFolderPath/node_modules/react-native-image-picker",
"name": "react-native-image-picker",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-image-picker/ios",
"folder": "appFolderPath/node_modules/react-native-image-picker",
"pbxprojPath": "appFolderPath/node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-image-picker/react-native-image-picker.podspec",
"projectPath": "appFolderPath/node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj",
"projectName": "RNImagePicker.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-image-picker/android",
"folder": "appFolderPath/node_modules/react-native-image-picker",
"packageImportPath": "import com.imagepicker.ImagePickerPackage;",
"packageInstance": "new ImagePickerPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-linear-gradient": {
"root": "appFolderPath/node_modules/react-native-linear-gradient",
"name": "react-native-linear-gradient",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-linear-gradient",
"folder": "appFolderPath/node_modules/react-native-linear-gradient",
"pbxprojPath": "appFolderPath/node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-linear-gradient/BVLinearGradient.podspec",
"projectPath": "appFolderPath/node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj",
"projectName": "BVLinearGradient.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-linear-gradient/android",
"folder": "appFolderPath/node_modules/react-native-linear-gradient",
"packageImportPath": "import com.BV.LinearGradient.LinearGradientPackage;",
"packageInstance": "new LinearGradientPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-maps": {
"root": "appFolderPath/node_modules/react-native-maps",
"name": "react-native-maps",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-maps/ios",
"folder": "appFolderPath/node_modules/react-native-maps",
"pbxprojPath": "appFolderPath/node_modules/react-native-maps/ios/AirMaps.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-maps/react-native-maps.podspec",
"projectPath": "appFolderPath/node_modules/react-native-maps/ios/AirMaps.xcodeproj",
"projectName": "AirMaps.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-maps/android",
"folder": "appFolderPath/node_modules/react-native-maps",
"packageImportPath": "import com.airbnb.android.react.maps.MapsPackage;",
"packageInstance": "new MapsPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-safe-area-context": {
"root": "appFolderPath/node_modules/react-native-safe-area-context",
"name": "react-native-safe-area-context",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-safe-area-context/ios",
"folder": "appFolderPath/node_modules/react-native-safe-area-context",
"pbxprojPath": "appFolderPath/node_modules/react-native-safe-area-context/ios/SafeAreaView.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec",
"projectPath": "appFolderPath/node_modules/react-native-safe-area-context/ios/SafeAreaView.xcodeproj",
"projectName": "SafeAreaView.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-safe-area-context/android",
"folder": "appFolderPath/node_modules/react-native-safe-area-context",
"packageImportPath": "import com.th3rdwave.safeareacontext.SafeAreaContextPackage;",
"packageInstance": "new SafeAreaContextPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-screens": {
"root": "appFolderPath/node_modules/react-native-screens",
"name": "react-native-screens",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-screens/ios",
"folder": "appFolderPath/node_modules/react-native-screens",
"pbxprojPath": "appFolderPath/node_modules/react-native-screens/ios/RNScreens.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-screens/RNScreens.podspec",
"projectPath": "appFolderPath/node_modules/react-native-screens/ios/RNScreens.xcodeproj",
"projectName": "RNScreens.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-screens/android",
"folder": "appFolderPath/node_modules/react-native-screens",
"packageImportPath": "import com.swmansion.rnscreens.RNScreensPackage;",
"packageInstance": "new RNScreensPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-svg": {
"root": "appFolderPath/node_modules/react-native-svg",
"name": "react-native-svg",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-svg/apple",
"folder": "appFolderPath/node_modules/react-native-svg",
"pbxprojPath": "appFolderPath/node_modules/react-native-svg/apple/RNSVG.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-svg/RNSVG.podspec",
"projectPath": "appFolderPath/node_modules/react-native-svg/apple/RNSVG.xcodeproj",
"projectName": "RNSVG.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-svg/android",
"folder": "appFolderPath/node_modules/react-native-svg",
"packageImportPath": "import com.horcrux.svg.SvgPackage;",
"packageInstance": "new SvgPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-video": {
"root": "appFolderPath/node_modules/react-native-video",
"name": "react-native-video",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-video/ios",
"folder": "appFolderPath/node_modules/react-native-video",
"pbxprojPath": "appFolderPath/node_modules/react-native-video/ios/RCTVideo.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-video/react-native-video.podspec",
"projectPath": "appFolderPath/node_modules/react-native-video/ios/RCTVideo.xcodeproj",
"projectName": "RCTVideo.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "./node_modules/react-native-video/android",
"folder": "appFolderPath/node_modules/react-native-video",
"packageImportPath": "import com.brentvatne.react.ReactVideoPackage;",
"packageInstance": "new ReactVideoPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
},
"react-native-webview": {
"root": "appFolderPath/node_modules/react-native-webview",
"name": "react-native-webview",
"platforms": {
"ios": {
"sourceDir": "appFolderPath/node_modules/react-native-webview/ios",
"folder": "appFolderPath/node_modules/react-native-webview",
"pbxprojPath": "appFolderPath/node_modules/react-native-webview/ios/RNCWebView.xcodeproj/project.pbxproj",
"podfile": null,
"podspecPath": "appFolderPath/node_modules/react-native-webview/react-native-webview.podspec",
"projectPath": "appFolderPath/node_modules/react-native-webview/ios/RNCWebView.xcodeproj",
"projectName": "RNCWebView.xcodeproj",
"libraryFolder": "Libraries",
"sharedLibraries": [],
"plist": [],
"scriptPhases": [],
"configurations": []
},
"android": {
"sourceDir": "appFolderPath/node_modules/react-native-webview/android",
"folder": "appFolderPath/node_modules/react-native-webview",
"packageImportPath": "import com.reactnativecommunity.webview.RNCWebViewPackage;",
"packageInstance": "new RNCWebViewPackage()",
"buildTypes": []
}
},
"assets": [],
"hooks": {},
"params": []
}
},
"commands": [
{
"name": "log-ios",
"description": "starts iOS device syslog tail"
},
{
"name": "run-ios",
"description": "builds your app and starts it on iOS simulator",
"examples": [
{
"desc": "Run on a different simulator, e.g. iPhone SE (2nd generation)",
"cmd": "react-native run-ios --simulator \"iPhone SE (2nd generation)\""
},
{
"desc": "Pass a non-standard location of iOS directory",
"cmd": "react-native run-ios --project-path \"./app/ios\""
},
{
"desc": "Run on a connected device, e.g. Max's iPhone",
"cmd": "react-native run-ios --device \"Max's iPhone\""
},
{
"desc": "Run on the AppleTV simulator",
"cmd": "react-native run-ios --simulator \"Apple TV\" --scheme \"helloworld-tvOS\""
}
],
"options": [
{
"name": "--simulator <string>",
"description": "Explicitly set simulator to use. Optionally include iOS version between parenthesis at the end to match an exact version: \"iPhone 6 (10.0)\"",
"default": "iPhone 13"
},
{
"name": "--configuration <string>",
"description": "Explicitly set the scheme configuration to use",
"default": "Debug"
},
{
"name": "--scheme <string>",
"description": "Explicitly set Xcode scheme to use"
},
{
"name": "--project-path <string>",
"description": "Path relative to project root where the Xcode project (.xcodeproj) lives.",
"default": "ios"
},
{
"name": "--device [string]",
"description": "Explicitly set device to use by name. The value is not required if you have a single device connected."
},
{
"name": "--udid <string>",
"description": "Explicitly set device to use by udid"
},
{
"name": "--no-packager",
"description": "Do not launch packager while building"
},
{
"name": "--verbose",
"description": "Do not use xcbeautify or xcpretty even if installed"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path."
}
]
},
{
"name": "log-android",
"description": "starts logkitty"
},
{
"name": "run-android",
"description": "builds your app and starts it on a connected Android emulator or device",
"options": [
{
"name": "--root <string>",
"description": "[DEPRECATED - root is discovered automatically] Override the root directory for the android build (which contains the android directory)",
"default": ""
},
{
"name": "--variant <string>",
"description": "Specify your app's build variant",
"default": "debug"
},
{
"name": "--appFolder <string>",
"description": "[DEPRECATED – use \"project.android.appName\" in react-native.config.js] Specify a different application folder name for the android source. If not, we assume is \"app\""
},
{
"name": "--appId <string>",
"description": "Specify an applicationId to launch after build. If not specified, `package` from AndroidManifest.xml will be used.",
"default": ""
},
{
"name": "--appIdSuffix <string>",
"description": "Specify an applicationIdSuffix to launch after build.",
"default": ""
},
{
"name": "--main-activity <string>",
"description": "Name of the activity to start",
"default": "MainActivity"
},
{
"name": "--deviceId <string>",
"description": "builds your app and starts it on a specific device/simulator with the given device id (listed by running \"adb devices\" on the command line)."
},
{
"name": "--no-packager",
"description": "Do not launch packager while building"
},
{
"name": "--port <number>",
"default": 8081
},
{
"name": "--terminal <string>",
"description": "Launches the Metro Bundler in a new window using the specified terminal path."
},
{
"name": "--tasks <list>",
"description": "Run custom Gradle tasks. By default it's \"installDebug\""
},
{
"name": "--no-jetifier",
"description": "Do not run \"jetifier\" – the AndroidX transition tool. By default it runs before Gradle to ease working with libraries that don't support AndroidX yet. See more at: https://www.npmjs.com/package/jetifier."
},
{
"name": "--active-arch-only",
"description": "Build native libraries only for the current device architecture for debug builds.",
"default": false
}
]
}
],
"assets": [],
"healthChecks": [],
"platforms": {
"ios": {},
"android": {}
},
"project": {
"ios": null,
"android": {
"sourceDir": "appFolderPath",
"isFlat": true,
"folder": "appFolderPath",
"stringsPath": "appFolderPath/app/src/main/res/values/strings.xml",
"manifestPath": "appFolderPath/app/src/androidTest/AndroidManifest.xml",
"buildGradlePath": "appFolderPath/build.gradle",
"settingsGradlePath": "appFolderPath/settings.gradle",
"assetsPath": "appFolderPath/app/src/main/assets",
"mainFilePath": "appFolderPath/app/src/main/java/com/example/app/MainApplication.java",
"packageName": "com.example.app",
"packageFolder": "com/example/app",
"appName": "app"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment