-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.37 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 4.37 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
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
{
"name": "MXRNBoilerplate",
"version": "0.0.2",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "node ./server/deploy.js",
"test": "jest",
"build:ios": "react-native bundle --platform='ios' --minify --assets-dest='./ios' --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false",
"build:android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"watch-mode": "jest --watch --verbose=true",
"dev-clean": "watchman watch-del-all && rm -rf /tmp/metro-* && react-native start --reset-cache",
"dev": "react-native start",
"test:e2e:build:debug:ios": "detox build -c ios.sim.debug && detox test -c ios.sim.debug",
"test:e2e:build:debug:android": "detox build -c android.emu.debug && detox test -c android.emu.debug",
"test:e2e:debug:android": "detox test -c android.emu.debug"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint --ext .ts,.tsx,.js,.jsx src/"
]
},
"dependencies": {
"@react-native-community/async-storage": "^1.7.1",
"@react-native-community/masked-view": "^0.1.10",
"@react-navigation/native": "^5.1.7",
"@react-navigation/stack": "^5.2.14",
"@types/node": "^13.7.0",
"axios": "^0.21.1",
"babel-preset-react-native": "^4.0.1",
"dotenv": "^8.2.0",
"immutability-helper": "^3.0.1",
"json-server": "^0.15.1",
"lodash": "^4.17.21",
"react": "16.11.0",
"react-native": "0.62.3",
"react-native-dotenv": "^0.2.0",
"react-native-gesture-handler": "^1.6.1",
"react-native-reanimated": "^1.8.0",
"react-native-safe-area-context": "^0.7.3",
"react-native-screens": "^2.7.0",
"react-redux": "^7.1.3",
"redux": "^4.0.5",
"redux-actions": "^2.6.5",
"redux-saga": "^1.1.3",
"reselect": "^4.0.0",
"rn-secure-storage": "^2.0.3"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-typescript": "^7.7.7",
"@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5",
"@types/": "react-navigation/stack",
"@types/axios": "^0.14.0",
"@types/detox": "^14.5.2",
"@types/dotenv": "^8.2.0",
"@types/jasmine": "^3.5.3",
"@types/jest": "^24.0.25",
"@types/lodash": "^4.14.149",
"@types/react": "^16.9.17",
"@types/react-native": "^0.60.28",
"@types/react-redux": "^7.1.5",
"@types/react-test-renderer": "^16.9.1",
"@types/redux-actions": "^2.6.1",
"@types/redux-saga": "^0.10.5",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"babel-jest": "^24.9.0",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-root-import": "^6.4.1",
"detox": "^15.2.0",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-detox": "^1.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"husky": "^4.2.1",
"jasmine": "^3.5.0",
"jest": "^24.9.0",
"lint-staged": "^10.0.7",
"metro-react-native-babel-preset": "^0.58.0",
"prettier": "^1.19.1",
"react-native-typescript-transformer": "^1.2.13",
"react-test-renderer": "16.11.0",
"reactotron-react-native": "^4.0.2",
"reactotron-redux": "^3.1.2",
"reactotron-redux-saga": "^4.2.3",
"supertest": "^4.0.2",
"ts-jest": "^24.2.0",
"typescript": "^3.7.4"
},
"detox": {
"test-runner": "jest",
"runner-config": "e2e/config.json",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/MXRNBoilerplate/Build/Products/Debug-iphonesimulator/MXRNBoilerplate.app",
"build": "xcodebuild -workspace ios/MXRNBoilerplate.xcworkspace -scheme MXRNBoilerplate -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "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_28"
}
}
}
}
}