mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-12 22:39:15 +08:00
* chore: upgrade testing project to RN 0.62.x * add placeholder flow script for CI * update jet to fix iOS issue * revert typedoc version (latest version not working) * add `react-native-port-patcher` back in - port still being ignored by RN so patching manually * add `react-native-port-patcher` back in - port still being ignored by RN so patching manually * temporarily use iphone x for detox until CI servers upgraded * - * Update package.json * Update on.e2e.js * Update orderByValue.e2e.js * Update on.e2e.js * Update init.js * -
121 lines
4.2 KiB
JSON
121 lines
4.2 KiB
JSON
{
|
|
"name": "react-native-firebase-tests",
|
|
"version": "6.4.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": "6.4.0",
|
|
"@react-native-firebase/analytics": "6.4.0",
|
|
"@react-native-firebase/app": "6.4.0",
|
|
"@react-native-firebase/app-types": "6.4.0",
|
|
"@react-native-firebase/auth": "6.4.0",
|
|
"@react-native-firebase/crashlytics": "6.4.0",
|
|
"@react-native-firebase/database": "6.4.0",
|
|
"@react-native-firebase/dynamic-links": "6.4.0",
|
|
"@react-native-firebase/firestore": "6.4.0",
|
|
"@react-native-firebase/functions": "6.4.0",
|
|
"@react-native-firebase/iid": "6.4.0",
|
|
"@react-native-firebase/in-app-messaging": "6.4.0",
|
|
"@react-native-firebase/messaging": "6.4.0",
|
|
"@react-native-firebase/ml-natural-language": "6.4.0",
|
|
"@react-native-firebase/ml-vision": "6.4.0",
|
|
"@react-native-firebase/perf": "6.4.0",
|
|
"@react-native-firebase/remote-config": "6.4.0",
|
|
"@react-native-firebase/storage": "6.4.0",
|
|
"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": "^5.2.0",
|
|
"detox": "16.2.0",
|
|
"jet": "^0.6.2-0",
|
|
"mocha": "^6.1.4",
|
|
"nyc": "^14.1.1",
|
|
"react-native-port-patcher": "^1.0.4",
|
|
"patch-package": "^6.2.2",
|
|
"require-all": "3.0.0",
|
|
"should": "^13.2.3",
|
|
"should-sinon": "0.0.6",
|
|
"sinon": "^9.0.2"
|
|
},
|
|
"nyc": {
|
|
"check-coverage": false,
|
|
"lines": 95,
|
|
"statements": 95,
|
|
"functions": 95,
|
|
"branches": 95,
|
|
"include": [
|
|
"packages/**"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"**/common/lib/**",
|
|
"**/lib/handlers.js",
|
|
"**/internal/registry/**",
|
|
"packages/**/node_modules/**",
|
|
"packages/database/lib/DatabaseSyncTree.js"
|
|
],
|
|
"cwd": "..",
|
|
"all": true,
|
|
"sourceMap": false,
|
|
"instrument": false,
|
|
"reporter": [
|
|
"lcov",
|
|
"html",
|
|
"text-summary"
|
|
]
|
|
},
|
|
"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 X"
|
|
}
|
|
},
|
|
"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 \"RCT_METRO_PORT=$RCT_METRO_PORT\" | xcpretty -k",
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone X"
|
|
}
|
|
},
|
|
"android.emu.debug": {
|
|
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
|
|
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug -Dorg.gradle.daemon=false && popd",
|
|
"type": "android.emulator",
|
|
"device": {
|
|
"avdName": "TestingAVD_29"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|