-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
97 lines (97 loc) · 3.61 KB
/
package.json
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
87
88
89
90
91
92
93
94
95
96
97
{
"name": "RedditApp",
"version": "0.0.1",
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"test": "jest",
"test-ios-debug": "detox build --configuration ios.sim.debug && detox test --configuration ios.sim.debug --cleanup",
"test-ios-release": "detox build --configuration ios.sim.release && detox test --configuration ios.sim.release --cleanup",
"test-android-debug": "detox build --configuration android.emu.debug && detox test --configuration android.emu.debug -l verbose --cleanup",
"test-android-release": "detox build --configuration android.emu.release && detox test --configuration android.emu.release -l verbose --cleanup"
},
"main": "index.js",
"dependencies": {
"atob": "^2.1.2",
"axios": "^0.18.0",
"jest-mock": "^23.2.0",
"lodash": "^4.17.11",
"merge": "^1.2.1",
"prop-types": "^15.6.2",
"randomatic": "^3.1.1",
"react": "^16.7.0",
"react-native": "^0.57.8",
"react-native-navigation": "^2.5.1",
"react-native-simple-toast": "0.0.8",
"react-native-ui-lib": "^3.14.2",
"react-redux": "^6.0.0",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-flow": "^7.0.0",
"axios-mock-adapter": "^1.16.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"detox": "^9.1.2",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16.3": "^1.4.1",
"eslint": "^4.19.1",
"eslint-config-wix": "^1.1.18",
"eslint-plugin-react-native": "^3.2.1",
"jest": "^23.6.0",
"metro-react-native-babel-preset": "^0.51.1",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.7.0",
"react-test-renderer": "^16.7.0",
"redux-immutable-state-invariant": "^2.1.0",
"redux-mock-store": "^1.5.3"
},
"jest": {
"preset": "react-native",
"setupTestFrameworkScriptFile": "./src/jest.config.js",
"testPathIgnorePatterns": [
"/node_modules/",
"/e2e/"
],
"transform": {
"^.+\\.js$": "./node_modules/react-native/jest/preprocessor.js"
}
},
"detox": {
"test-runner": "jest",
"runner-config": "./e2e/config.json",
"specs": "e2e",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RedditApp.app",
"build": "xcodebuild -project ios/RedditApp.xcodeproj -scheme Reddit -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=NO",
"type": "ios.simulator",
"name": "iPhone 7"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/RedditApp.app",
"build": "xcodebuild -project ios/RedditApp.xcodeproj -scheme Reddit -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=NO",
"type": "ios.simulator",
"name": "iPhone 7"
},
"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",
"name": "Nexus_5X_API_26"
},
"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": "Nexus_5X_API_26"
}
}
}
}