-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
executable file
·141 lines (141 loc) · 5.37 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "RNStarter",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest -u --verbose",
"rename": "npx react-native-rename-next",
"clear-watch": "watchman watch-del-all && watchman shutdown-server",
"ios-bundle-js": "react-native bundle --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle --platform ios",
"ios-build": "react-native run-ios --configuration Release",
"android-clean": "cd android && ./gradlew clean",
"android-build-debug": "cd android/ && ./gradlew assembleDebug",
"android-assemble-release": "cd android && ./gradlew assembleRelease --no-daemon",
"android-bundle-release": "cd android && ./gradlew bundleRelease --no-daemon",
"android-bundle-js": "react-native bundle --platform android --dev false --entry-file ./index.js --bundle-output ./android/app/src/main/assets/index.bundle --sourcemap-output ./android/app/src/main/assets/index.map --assets-dest ./android/app/src/main/res/",
"lint": "eslint . --fix",
"prettier": "prettier --write",
"android-debug-e2e-build": "detox build --configuration android.emu.debug",
"android-debug-e2e-run": "detox test --configuration android.emu.debug",
"ios-debug-e2e-build": "detox build --configuration ios.sim.debug ",
"ios-debug-e2e-run": "detox test --configuration ios.sim.debug "
},
"dependencies": {
"@react-native-community/masked-view": "^0.1.10",
"@react-navigation/native": "^5.5.0",
"@react-navigation/stack": "^5.6.2",
"apisauce": "^1.1.1",
"native-base": "^2.13.12",
"react": "16.11.0",
"react-native": "0.62.2",
"react-native-gesture-handler": "^1.6.1",
"react-native-loading-spinner-overlay": "^1.1.0",
"react-native-reanimated": "^1.9.0",
"react-native-safe-area-context": "^3.0.2",
"react-native-screens": "^2.8.0",
"react-native-svg": "^12.1.0",
"react-native-swipe-gestures": "^1.0.5",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"redux-saga": "^1.1.3",
"styled-components": "^5.1.0",
"typesafe-actions": "^5.1.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5",
"@testing-library/jest-native": "^3.1.0",
"@testing-library/react-native": "^5.0.3",
"@types/jest": "^25.2.1",
"@types/react": "^16.9.34",
"@types/react-native": "^0.62.5",
"@types/react-native-swipe-gestures": "^1.0.4",
"@types/react-test-renderer": "^16.9.2",
"@types/react-redux": "^7.1.9",
"@types/redux-saga": "^0.10.5",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/parser": "^2.34.0",
"babel-jest": "^24.9.0",
"babel-plugin-root-import": "^6.5.0",
"babel-plugin-transform-decorators": "^6.24.1",
"color": "^3.1.2",
"detox": "^16.4.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-node": "^4.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"husky": "^4.2.5",
"jest": "^24.9.0",
"jest-styled-components": "^7.0.2",
"lint-staged": "^10.2.2",
"metro-config": "^0.59.0",
"metro-react-native-babel-preset": "^0.58.0",
"prettier": "^2.0.5",
"react-native-dotenv": "^0.2.0",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "^16.13.1",
"typescript": "^3.8.3"
},
"jest": {
"preset": "react-native"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged "
}
},
"lint-staged": {
"*.{ts,js,tsx}": [
"yarn run prettier"
]
},
"detox": {
"test-runner": "jest",
"configurations": {
"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": "Pixel_3_API_28"
}
},
"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": "Pixel_3_API_28"
}
},
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RNStarter.app",
"build": "xcodebuild -workspace ios/RNStarter.xcworkspace -scheme RNStarter -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11 Pro"
}
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RNStarter.app",
"build": "xcodebuild -workspace ios/RNStarter.xcworkspace -scheme RNStarter -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11 Pro"
}
}
}
}
}