-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
124 lines (124 loc) · 4.52 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
{
"name": "lookfordrinks",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "adb reverse tcp:9090 tcp:9090 && ENVFILE=.env.dev && npx react-native run-android --variant=developmentdebug",
"android:prod": "adb reverse tcp:9090 tcp:9090 && ENVFILE=.env.prod && npx react-native run-android --variant=productiondebug",
"ios": "npx pod-install && ENVFILE=.env.dev npx react-native run-ios --scheme='LookForDrinksDev'",
"ios:prod": "npx pod-install && ENVFILE=.env.prod npx react-native run-ios --scheme='LookForDrinksProd'",
"start": "ENVFILE=.env.dev npx react-native start -- --reset-cache",
"start:prod": "ENVFILE=.env.prod npx react-native start -- --reset-cache",
"test": "jest",
"testRunner": "jest-circus/runner",
"lint": "eslint '*/**/*.{js,jsx,ts,tsx}' --fix",
"pretty": "prettier --config ./.prettierrc.js --write \"src/**/*.{js,jsx,ts,tsx,json}\"",
"prepare": "husky install",
"precommit": "lint-staged",
"detox:ios": "yarn start & (detox build --configuration ios.debug && detox test --configuration ios.debug)",
"detox:android": "yarn start & (detox build --configuration android.debug && detox test --configuration android.debug)",
"fastlane:ios:release": "cd ios && bundle exec fastlane ios release",
"fastlane:ios:beta": "cd ios && bundle exec fastlane ios beta"
},
"lint-staged": {
"**/*.ts?(x)": [
"yarn lint",
"yarn pretty",
"yarn test --coverageThreshold '{}' --findRelatedTests --bail"
]
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.15.8",
"@react-native-firebase/analytics": "^12.7.5",
"@react-native-firebase/app": "^12.7.5",
"@react-native-firebase/crashlytics": "^12.7.5",
"@react-navigation/core": "^6.0.1",
"@react-navigation/native": "^6.0.2",
"@react-navigation/stack": "^6.0.7",
"@types/styled-components-react-native": "^5.1.1",
"axios": "^0.21.4",
"cz-conventional-changelog": "^3.3.0",
"formik": "^2.2.9",
"jest-circus": "^27.1.1",
"mobx": "^6.3.3",
"mobx-persist": "^0.4.1",
"mobx-react": "^7.2.0",
"polished": "^4.1.3",
"react": "17.0.2",
"react-native": "0.65.1",
"react-native-code-push": "^7.0.2",
"react-native-config": "^1.4.4",
"react-native-flash-message": "^0.1.23",
"react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "2.3.0-alpha.2",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.7.2",
"react-native-size-matters": "^0.4.0",
"react-native-splash-screen": "^3.2.0",
"react-native-vector-icons": "^8.1.0",
"styled-components": "^5.3.1",
"yup": "^0.32.9"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/react-native": "^7.2.0",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.64.5",
"@types/react-native-vector-icons": "^6.4.8",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-root-import": "^6.6.0",
"babel-plugin-styled-components": "^1.13.2",
"detox": "^18.20.3",
"eslint": "^7.14.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-import-resolver-babel-plugin-root-import": "^1.1.1",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^7.0.2",
"jest": "^26.6.3",
"lint-staged": "^11.1.2",
"metro-react-native-babel-preset": "^0.66.0",
"nock": "^13.1.3",
"react-native-codegen": "^0.0.7",
"react-test-renderer": "17.0.2",
"typescript": "^3.8.3"
},
"resolutions": {
"@types/react": "^17"
},
"jest": {
"preset": "react-native",
"verbose": true,
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}