-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.57 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 3.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "ReactNativeSvgE2E",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"test:e2e:build:ios": "detox build -c ios.sim.debug",
"test:e2e:build:android": "detox build -c android.emu.debug",
"test:e2e:build:ios:release": "detox build -c ios.sim.release",
"test:e2e:build:android:release": "detox build -c android.emu.release",
"test:e2e:ios": "detox test -c ios.sim.debug",
"test:e2e:android": "detox test -c android.emu.debug",
"test:e2e:ios:release": "detox test -c ios.sim.release --cleanup",
"test:e2e:android:release": "detox test -c android.emu.release",
"screenshots:ios": "detox test -c ios.sim.debug --take-screenshots all",
"screenshots:android": "detox test -c android.emu.debug --take-screenshots all",
"screenshots:ios:release": "detox test -c ios.sim.release --take-screenshots all",
"screenshots:android:release": "detox test -c android.emu.release --take-screenshots all",
"postinstall": "patch-package"
},
"dependencies": {
"jest-util": "25.2.6",
"patch-package": "6.2.2",
"postinstall-postinstall": "2.1.0",
"react": "16.11.0",
"react-native": "0.62.1",
"react-native-svg": "12.1.0"
},
"devDependencies": {
"@babel/core": "7.9.0",
"@babel/runtime": "7.9.2",
"@react-native-community/eslint-config": "1.0.0",
"babel-jest": "24.9.0",
"detox": "16.0.2",
"eslint": "6.8.0",
"jest": "24.9.0",
"metro-react-native-babel-preset": "0.58.0",
"react-test-renderer": "16.11.0"
},
"jest": {
"preset": "react-native"
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/ReactNativeSvgE2E.app",
"build": "xcodebuild -workspace ios/ReactNativeSvgE2E.xcworkspace -scheme ReactNativeSvgE2E -configuration Debug -destination 'platform=iOS Simulator,OS=13.1,name=iPhone 11' -derivedDataPath ios/build | xcpretty",
"type": "ios.simulator",
"name": "iPhone 11"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/ReactNativeSvgE2E.app",
"build": "set -o pipefail && export CODE_SIGNING_REQUIRED=NO && xcodebuild -workspace ios/ReactNativeSvgE2E.xcworkspace -scheme ReactNativeSvgE2E -configuration Release -destination 'platform=iOS Simulator,OS=12.2,name=iPhone X' -derivedDataPath ios/build | xcpretty",
"type": "ios.simulator",
"name": "iPhone X"
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"device": {
"avdName": "Nexus_5X_API_29_x86"
}
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
"type": "android.emulator",
"device": {
"avdName": "Nexus_5X_API_26"
}
},
"android.emu.release.bitrise": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew -q assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
"type": "android.attached",
"name": "emulator-5554"
}
},
"test-runner": "jest"
}
}