Files
react-native-firebase/tests/package.json
2019-08-08 12:47:48 +01:00

114 lines
4.1 KiB
JSON
Executable File

{
"name": "react-native-firebase-tests",
"version": "0.1.3",
"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": "0.1.3",
"@react-native-firebase/analytics": "0.1.3",
"@react-native-firebase/app": "0.1.3",
"@react-native-firebase/app-types": "0.1.3",
"@react-native-firebase/auth": "0.1.3",
"@react-native-firebase/config": "0.1.3",
"@react-native-firebase/crashlytics": "0.1.3",
"@react-native-firebase/database": "0.1.3",
"@react-native-firebase/dynamic-links": "0.1.3",
"@react-native-firebase/fiam": "0.1.3",
"@react-native-firebase/firestore": "0.1.3",
"@react-native-firebase/functions": "0.1.3",
"@react-native-firebase/iid": "0.1.3",
"@react-native-firebase/indexing": "0.1.3",
"@react-native-firebase/invites": "0.1.3",
"@react-native-firebase/messaging": "0.1.3",
"@react-native-firebase/ml-natural-language": "0.1.3",
"@react-native-firebase/ml-vision": "0.1.3",
"@react-native-firebase/perf": "0.1.3",
"@react-native-firebase/storage": "0.1.3",
"@react-native-firebase/utils": "0.1.3",
"react": "16.8.6",
"react-native": "0.60.4"
},
"devDependencies": {
"@react-native-firebase/private-tests-helpers": "^0.0.13",
"a2a": "^0.2.0",
"babel-plugin-istanbul": "^5.2.0",
"detox": "12.5.0",
"jet": "^0.4.4",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"patch-package": "^6.1.0",
"react-native-port-patcher": "1.0.3",
"require-all": "3.0.0",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^7.3.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",
"name": "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",
"name": "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",
"name": "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",
"name": "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",
"name": "TestingAVD"
}
}
}
}