-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
129 lines (129 loc) · 5.2 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
{
"name": "react-native-starter-app",
"version": "2.0.0",
"private": true,
"scripts": {
"prepare": "run-p assets:* debugger:install",
"start": "react-native start",
"test": "jest",
"lint": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"",
"lint:staged": "pretty-quick --staged && lint-staged",
"clean:android": "cd android && ./gradlew cleanBuildCache && ./gradlew clean && cd ..",
"clean:ios": "rm -rf ios/build",
"clean": "run-p clean:*",
"assets": "npx react-native link",
"assets:icons": "rn-toolbox icons",
"assets:splashscreen": "rn-toolbox splash",
"debugger:install": "yarn rndebugger-open",
"env:dev": "node scripts/set-environment.js development",
"env:stage": "node scripts/set-environment.js staging",
"env:prod": "node scripts/set-environment.js production",
"setup:ios": "cd ios && pod install --repo-update && cd ..",
"_android": "cd android && ./gradlew clean && cd .. && react-native run-android",
"android:dev": "run-s env:dev _android",
"android:stage": "run-s env:stage _android",
"android:prod": "run-s env:prod _android",
"_ios": "react-native run-ios",
"ios:dev": "run-s env:dev _ios",
"ios:stage": "run-s env:stage _ios",
"ios:prod": "run-s env:prod _ios",
"android:bundle:create": "rm -rf android/app/build && 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",
"android:assemble:debug": "cd android && ./gradlew assembleDebug",
"ios:bundle:create": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios",
"ios:assemble:debug": "xcodebuild -quiet -workspace ios/ReactNativeStarterApp.xcworkspace -scheme ReactNativeStarterApp -configuration Release -sdk iphonesimulator -destination platform='iOS Simulator',OS=13.3,name='iPhone 11 Pro Max' CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO",
"build:dev:android": "run-s env:dev android:bundle:create android:assemble:debug",
"build:dev:ios": "run-s env:dev setup:ios ios:assemble:debug",
"pre-commit": "yarn lint-staged && yarn dependencies:checkCircular && yarn dependencies:graph",
"prettier-check:staged": "prettier --check \"./src/**/*.{js,jsx,ts,tsx}\"",
"prettier-format:staged": "prettier --write \"./src/**/*.{js,jsx,ts,tsx}\"",
"dependencies:checkCircular": "madge src/ --circular",
"dependencies:graph": "madge src/ --circular --image deps-graph.svg",
"postinstall": "husky install"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.17.9",
"@react-native-masked-view/masked-view": "0.2.7",
"@react-navigation/native": "6.0.11",
"@react-navigation/stack": "6.2.2",
"@tanstack/react-query": "^4.2.1",
"axios": "^0.27.2",
"i18next": "21.9.1",
"native-base": "3.4.13",
"react": "18.2.0",
"react-i18next": "11.18.4",
"react-native": "0.69.4",
"react-native-flipper": "0.159.0",
"react-native-gesture-handler": "2.5.0",
"react-native-indicators": "^0.17.0",
"react-native-localize": "2.2.3",
"react-native-reanimated": "^3.0.0-rc.0",
"react-native-safe-area-context": "4.3.1",
"react-native-screens": "^3.13.1",
"react-native-splash-screen": "^3.3.0",
"react-native-svg": "13.0.0",
"react-native-vector-icons": "^9.1.0",
"react-native-version-number": "^0.3.6"
},
"devDependencies": {
"@babel/core": "7.18.5",
"@babel/preset-env": "7.18.2",
"@babel/runtime": "7.18.3",
"@forward-software/react-native-toolbox": "^3.0.0",
"@react-native-community/eslint-config": "3.0.3",
"@react-native-community/eslint-plugin": "1.2.0",
"@trivago/prettier-plugin-sort-imports": "3.3.0",
"@types/jest": "28.1.4",
"@types/node": "18.0.3",
"@types/react": "18.0.15",
"@types/react-native": "0.69.5",
"@types/react-native-indicators": "^0.16.2",
"@types/react-native-vector-icons": "^6.4.10",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.30.5",
"@typescript-eslint/parser": "5.30.5",
"babel-jest": "28.1.1",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.8.4",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "8.0.1",
"jest": "28.1.1",
"lint-staged": "13.0.3",
"madge": "^5.0.1",
"metro-react-native-babel-preset": "0.71.1",
"npm-run-all": "^4.1.5",
"prettier": "2.7.1",
"pretty-quick": "^3.1.3",
"react-native-debugger-open": "^0.3.25",
"react-native-uuid": "^2.0.1",
"react-test-renderer": "18.2.0",
"shx": "^0.3.4",
"ts-jest": "28.0.7",
"typescript": "4.7.4"
},
"jest": {
"preset": "react-native"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint",
"npm run prettier-format:staged",
"npm run prettier-check:staged"
]
},
"madge": {
"tsConfig": "./tsconfig.json",
"fileExtensions": "ts",
"excludeRegExp": [
".*\\.test\\.ts$",
".*\\.test\\.tsx$"
],
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
}