forked from bonnguyenitc/react-native-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 4.16 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
{
"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 run-android --variant=DevelopmentDebug",
"android:prod": "ENVFILE=.env.production react-native run-android --variant=ProductionDebug",
"android:stg": "ENVFILE=.env.staging react-native run-android --variant=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 ./gradlew assembleDevelopmentRelease",
"build-android:stg": "cd android && ENVFILE=.env.staging ./gradlew assembleStagingRelease",
"build-android:prod": "cd android && ENVFILE=.env.production ./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"
},
"dependencies": {
"@hookform/resolvers": "^2.9.3",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.2",
"@shopify/restyle": "^2.1.0",
"@types/react-native-modals": "^0.19.2",
"axios": "^0.27.2",
"i18next": "^21.8.11",
"moti": "^0.18.0",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"react": "18.0.0",
"react-hook-form": "^7.33.0",
"react-i18next": "^11.17.4",
"react-native": "0.69.1",
"react-native-bootsplash": "^4.2.3",
"react-native-config": "^1.4.6",
"react-native-error-boundary": "^1.1.14",
"react-native-gesture-handler": "^2.5.0",
"react-native-mmkv": "^2.4.2",
"react-native-modals": "^0.22.3",
"react-native-reanimated": "^2.9.1",
"react-native-restart": "^0.0.24",
"react-native-safe-area-context": "^4.3.1",
"react-native-screens": "^3.14.0",
"yup": "^0.32.11",
"zustand": "^4.0.0-rc.1"
},
"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": "^10.1.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",
"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",
"lint-staged": "^13.0.3",
"metro-react-native-babel-preset": "^0.70.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react-test-renderer": "18.0.0",
"typescript": "^4.4.4"
},
"resolutions": {
"@types/react": "^18"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"lint-staged": {
"*.+(ts|tsx)": [
"yarn lint"
]
}
}