-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
133 lines (133 loc) · 5.17 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
{
"name": "starter",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"lint": "eslint --fix --ext .js,.ts,.tsx ./src --ignore-path .gitignore",
"prettier": "prettier --ignore-path .gitignore --write \"**/*.+(js|json|ts|tsx)\"",
"format": "npm run prettier -- --write",
"check-types": "tsc --project tsconfig.json --pretty --noEmit",
"check-format": "npm run prettier -- --list-different",
"validate": "npm-run-all --parallel check-types && lint-staged",
"android:dev": "ENVFILE=.env.development REACT_NATIVE_DOWNLOADS_DIR=$HOME/rn-cache react-native run-android --mode=DevelopmentDebug",
"android:prod": "ENVFILE=.env.production REACT_NATIVE_DOWNLOADS_DIR=$HOME/rn-cache react-native run-android --mode=ProductionDebug",
"android:stg": "ENVFILE=.env.staging REACT_NATIVE_DOWNLOADS_DIR=$HOME/rn-cache react-native run-android --mode=StagingDebug",
"ios:dev": "ENVFILE=.env.development react-native run-ios --scheme development --configuration Debug --simulator='IPhone 13'",
"ios:prod": "ENVFILE=.env.production react-native run-ios --scheme production --configuration Debug --simulator='IPhone 13'",
"ios:stg": "ENVFILE=.env.staging react-native run-ios --scheme staging --configuration Debug --simulator='IPhone 13'",
"build-android:dev": "cd android && ENVFILE=.env.development REACT_NATIVE_DOWNLOADS_DIR=$HOME/rn-cache ./gradlew assembleDevelopmentRelease",
"build-android:stg": "cd android && ENVFILE=.env.staging REACT_NATIVE_DOWNLOADS_DIR=$HOME/rn-cache ./gradlew assembleStagingRelease",
"build-android:prod": "cd android && ENVFILE=.env.production REACT_NATIVE_DOWNLOADS_DIR=$HOME/rn-cache ./gradlew assembleProductionRelease",
"clear:android": "cd android && ./gradlew clean",
"devices:ios": "xcrun simctl list devices",
"devices:android": "adb devices",
"patch": "patch-package",
"postinstall": "node ./bin/podInstall",
"find-deadcode": "ts-prune",
"vs": "react-native-bundle-visualizer",
"fonts": "npx react-native-asset",
"clean-watchman": "watchman watch-del-all && watchman shutdown-server",
"debug": "open \"rndebugger://set-debugger-loc?host=localhost&port=8081\""
},
"dependencies": {
"@hookform/resolvers": "^2.9.3",
"@react-navigation/native": "^6.1.6",
"@react-navigation/stack": "^6.3.16",
"@shopify/restyle": "^2.1.0",
"axios": "^0.27.2",
"dayjs": "^1.11.7",
"i18next": "^21.8.11",
"immer": "^9.0.16",
"lodash": "^4.17.21",
"lottie-react-native": "^6.3.1",
"moti": "^0.24.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"react": "18.2.0",
"react-fast-compare": "^3.2.0",
"react-hook-form": "^7.33.0",
"react-i18next": "^11.17.4",
"react-native": "0.72.5",
"react-native-bootsplash": "^5.0.3",
"react-native-config": "^1.5.1",
"react-native-error-boundary": "^1.1.14",
"react-native-gesture-handler": "^2.13.1",
"react-native-mmkv": "^2.10.2",
"react-native-reanimated": "^3.5.4",
"react-native-responsive-fontsize": "^0.5.1",
"react-native-restart": "^0.0.24",
"react-native-root-siblings": "^5.0.1",
"react-native-safe-area-context": "^4.7.2",
"react-native-screens": "^3.25.0",
"react-native-svg": "^13.7.0",
"yup": "^0.32.11",
"zustand": "^4.4.2"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^4.0.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^11.5.1",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.69.0",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"eslint": "^8.2.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.1.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.1.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^8.0.1",
"jest": "^26.6.3",
"jetifier": "^2.0.0",
"lint-staged": "^13.0.3",
"metro-react-native-babel-preset": "^0.70.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react-native-bundle-visualizer": "^3.1.1",
"react-native-svg-transformer": "^1.0.0",
"react-test-renderer": "18.0.0",
"ts-prune": "^0.10.3",
"typescript": "^4.4.4"
},
"resolutions": {
"@types/react": "^18"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"\\.svg": "<rootDir>/__mocks__/svgMock.js"
}
},
"lint-staged": {
"*.+(ts|tsx)": [
"yarn lint"
]
},
"engines": {
"node": ">=16"
}
}