-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
135 lines (135 loc) · 5.45 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
134
135
{
"name": "react-native-starter-app",
"version": "7.1.1",
"private": true,
"scripts": {
"test": "jest",
"start": "react-native start",
"lint": "eslint --fix \"./src/**/*.{js,jsx,ts,tsx}\"",
"lint:staged": "pretty-quick --staged && lint-staged",
"pre-commit": "yarn lint-staged && yarn dependencies:checkCircular && yarn dependencies:graph",
"clean:android": "cd android && ./gradlew cleanBuildCache && ./gradlew clean && cd ..",
"clean:ios": "rm -rf ios/build",
"assets": "npx react-native-asset",
"assets:icons": "rn-toolbox icons",
"assets:splashscreen:ios": "rn-toolbox splash ./assets/ios_splashscreen.png",
"assets:splashscreen:android": "react-native generate-bootsplash ./assets/android_splashscreen.png --background-color=FFFFFF --logo-width=150 --assets-path=assets --flavor=main --platforms=android",
"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",
"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-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.9.17",
"@reduxjs/toolkit": "1.9.7",
"@tamagui/shorthands": "^1.78.0",
"@tamagui/themes": "^1.78.0",
"axios": "^0.27.2",
"i18next": "^22.5.0",
"lodash": "^4.17.21",
"react": "18.2.0",
"react-i18next": "^12.3.1",
"react-native": "0.72.6",
"react-native-bootsplash": "^4.7.1",
"react-native-indicators": "^0.17.0",
"react-native-localize": "^3.0.3",
"react-native-mmkv": "^2.11.0",
"react-native-safe-area-context": "^4.7.4",
"react-native-screens": "^3.27.0",
"react-native-svg": "^13.14.0",
"react-native-toast-message": "^2.1.7",
"react-native-vector-icons": "^10.0.2",
"react-native-version-number": "^0.3.6",
"react-redux": "8.1.3",
"redux-persist": "^6.0.0",
"redux-saga": "1.2.3",
"tamagui": "^1.78.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@forward-software/react-native-toolbox": "^3.0.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.11",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/react-native": "^3.0.0",
"@types/lodash": "^4.14.200",
"@types/metro-config": "^0.76.3",
"@types/node": "^20.2.5",
"@types/react": "^18.0.24",
"@types/react-native-indicators": "^0.16.2",
"@types/react-native-vector-icons": "^6.4.15",
"@types/react-redux": "^7.1.23",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"babel-jest": "^29.2.1",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.41.0",
"eslint-plugin-no-inline-styles": "^1.0.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^29.2.1",
"lint-staged": "^13.2.2",
"madge": "^6.1.0",
"metro-react-native-babel-preset": "0.76.8",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint",
"npm run prettier-format:staged",
"npm run prettier-check:staged"
]
},
"husky": {
"hooks": {
"pre-commit": "lint:staged"
}
},
"madge": {
"tsConfig": "./tsconfig.json",
"fileExtensions": "ts",
"excludeRegExp": [
".*\\.test\\.ts$",
".*\\.test\\.tsx$"
],
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
},
"engines": {
"node": ">=16"
}
}