-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.45 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
98
99
100
101
102
103
{
"name": "guess-the-place",
"version": "0.0.1",
"private": true,
"scripts": {
"build:ios": "detox build --configuration ios.sim.debug",
"test:ios": "detox test --configuration ios.sim.debug",
"build:android": "detox build --configuration android.emu.debug",
"test:android": "detox test --configuration android.emu.debug",
"unit": "jest",
"test": "jest && detox test --configuration ios.sim.debug && detox test --configuration android.emu.debug",
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"start-e2e": "RN_SRC_EXT=e2e.ts react-native start",
"fake-server": "node fake-server/server.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix --skipLibCheck",
"prettier:write": "npx prettier --write **/*.{js,jsx,ts,tsx,json} && npx prettier --write *.{js,jsx,ts,tsx,json}"
},
"dependencies": {
"@react-native-community/async-storage": "^1.9.0",
"@react-native-community/blur": "^3.6.0",
"@react-native-community/datetimepicker": "^2.6.2",
"@react-native-community/netinfo": "^5.9.7",
"@react-native-community/picker": "^1.8.1",
"axios": "^0.19.2",
"lodash": "^4.17.15",
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-gesture-handler": "^1.8.0",
"react-native-navigation": "^6.4.0",
"react-native-reanimated": "^1.13.1",
"react-native-ui-lib": "^5.15.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@react-native-community/eslint-config": "^1.1.0",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.59.0",
"react-test-renderer": "16.13.1",
"@types/detox": "^14.5.2",
"@types/express": "^4.17.6",
"@types/jest": "^24.0.24",
"@types/lodash": "^4.14.150",
"@types/react-native": "^0.62.0",
"@types/react-test-renderer": "16.9.2",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"detox": "^16.4.1",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"express": "^4.17.1",
"jest-circus": "^26.0.1",
"prettier": "^2.0.4",
"react-component-driver": "^0.10.0",
"typescript": "^3.8.3",
"wix-eventually": "^2.3.0"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(test).[jt]s?(x)"
],
"setupFiles": [
"./jest-setup.js"
]
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/UnsplashTrainingApp.app",
"build": "xcodebuild -workspace ios/UnsplashTrainingApp.xcworkspace -scheme UnsplashTrainingApp -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
}
},
"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"
}
}
},
"test-runner": "jest"
}
}