mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
93 lines
3.6 KiB
JSON
93 lines
3.6 KiB
JSON
{
|
|
"name": "react-native-firebase-tests",
|
|
"version": "8.3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build:clean": "rimraf dist && rimraf android/build && rimraf android/app/build && rimraf android/.gradle && rimraf ios/build",
|
|
"prepare": "patch-package"
|
|
},
|
|
"dependencies": {
|
|
"@react-native-firebase/admob": "7.4.1",
|
|
"@react-native-firebase/analytics": "7.4.1",
|
|
"@react-native-firebase/app": "8.3.0",
|
|
"@react-native-firebase/app-types": "6.7.2",
|
|
"@react-native-firebase/auth": "8.3.1",
|
|
"@react-native-firebase/crashlytics": "8.3.0",
|
|
"@react-native-firebase/database": "7.4.1",
|
|
"@react-native-firebase/dynamic-links": "7.4.1",
|
|
"@react-native-firebase/firestore": "7.5.1",
|
|
"@react-native-firebase/functions": "7.3.1",
|
|
"@react-native-firebase/iid": "7.3.1",
|
|
"@react-native-firebase/in-app-messaging": "7.3.1",
|
|
"@react-native-firebase/messaging": "7.6.1",
|
|
"@react-native-firebase/ml-natural-language": "7.3.1",
|
|
"@react-native-firebase/ml-vision": "7.3.1",
|
|
"@react-native-firebase/perf": "7.3.1",
|
|
"@react-native-firebase/remote-config": "8.1.1",
|
|
"@react-native-firebase/storage": "7.3.1",
|
|
"react": "16.11.0",
|
|
"react-native": "0.62.2"
|
|
},
|
|
"devDependencies": {
|
|
"@react-native-firebase/private-tests-helpers": "0.0.13",
|
|
"a2a": "^0.2.0",
|
|
"babel-plugin-istanbul": "^6.0.0",
|
|
"detox": "16.7.2",
|
|
"jet": "^0.6.6-0",
|
|
"mocha": "^6.1.4",
|
|
"nyc": "^15.0.1",
|
|
"patch-package": "^6.2.2",
|
|
"react-native-port-patcher": "^1.0.4",
|
|
"should": "^13.2.3",
|
|
"should-sinon": "0.0.6",
|
|
"sinon": "^9.0.2"
|
|
},
|
|
"detox": {
|
|
"test-runner": "mocha",
|
|
"specs": "e2e",
|
|
"runner-config": "e2e/mocha.opts",
|
|
"configurations": {
|
|
"ios.sim.debug": {
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/testing.app",
|
|
"build": "xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -quiet | xcpretty -k",
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone 8"
|
|
}
|
|
},
|
|
"ios.ci": {
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/testing.app",
|
|
"build": "xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES | xcpretty -k",
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone 11"
|
|
}
|
|
},
|
|
"android.emu.debug": {
|
|
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
|
|
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
|
|
"type": "android.emulator",
|
|
"device": {
|
|
"avdName": "TestingAVD"
|
|
}
|
|
},
|
|
"ios.sim.release": {
|
|
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/testing.app",
|
|
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES -quiet | xcpretty -k",
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone X"
|
|
}
|
|
},
|
|
"android.emu.release": {
|
|
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
|
|
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
|
|
"type": "android.emulator",
|
|
"device": {
|
|
"avdName": "TestingAVD"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|