Files
react-native-firebase/tests/package.json
2019-04-04 02:17:12 +01:00

101 lines
3.5 KiB
JSON
Executable File

{
"name": "react-native-firebase-tests",
"version": "6.0.0-alpha.8",
"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/analytics": "6.0.0-alpha.8",
"@react-native-firebase/app": "6.0.0-alpha.8",
"@react-native-firebase/app-types": "6.0.0-alpha.8",
"@react-native-firebase/auth": "6.0.0-alpha.8",
"@react-native-firebase/config": "6.0.0-alpha.8",
"@react-native-firebase/crashlytics": "6.0.0-alpha.8",
"@react-native-firebase/fiam": "6.0.0-alpha.8",
"@react-native-firebase/firestore": "6.0.0-alpha.8",
"@react-native-firebase/functions": "6.0.0-alpha.8",
"@react-native-firebase/iid": "6.0.0-alpha.8",
"@react-native-firebase/invites": "6.0.0-alpha.8",
"@react-native-firebase/mlkit": "6.0.0-alpha.8",
"@react-native-firebase/perf": "6.0.0-alpha.8",
"@react-native-firebase/utils": "6.0.0-alpha.8",
"detox": "10.0.13",
"jet": "^0.3.0",
"mocha": "^5.2.0",
"prop-types": "^15.6.1",
"react": "16.8.3",
"react-dom": "16.8.3",
"react-native": "0.59.0",
"react-native-camera": "^1.10.1",
"require-all": "3.0.0",
"should": "^13.2.3",
"should-sinon": "0.0.6",
"sinon": "^6.2.0"
},
"devDependencies": {
"@react-native-firebase/private-tests-helpers": "^0.0.8",
"a2a": "^0.2.0",
"babel-plugin-istanbul": "^5.1.1",
"nyc": "^13.1.0",
"patch-package": "^5.1.2"
},
"nyc": {
"check-coverage": false,
"lines": 95,
"statements": 95,
"functions": 95,
"branches": 95,
"include": [
"packages/**"
],
"exclude": [
"node_modules",
"**/common/lib/**",
"**/internal/registry/**",
"**/lib/handlers.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"
},
"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 -quiet",
"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"
}
}
}
}