-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
254 lines (254 loc) · 9.07 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
{
"name": "rn-starter",
"version": "2.1.0",
"update": "0",
"author": "Gabriel Hofman <[email protected]>",
"description": "Default starter with basic builtins and configs used in my React Native projects",
"main": "expo-router/entry",
"repository": {
"type": "git",
"url": "https://github.com/tsyirvo/react-native-starter.git"
},
"bugs": {
"url": "https://github.com/tsyirvo/react-native-starter/issues"
},
"keywords": [
"React Native",
"Starter",
"Boilerplate",
"Expo",
"Development Build"
],
"license": "ISC",
"engines": {
"yarn": ">=4",
"node": ">=20"
},
"scripts": {
"start:dev": "EXPO_NO_DOTENV=1 expo start --dev-client",
"start:staging": "APP_ENV=staging expo start --no-dev --minify",
"start:production": "APP_ENV=production expo start --no-dev --minify",
"//// BUILDS ////": "",
"build:dev:ios": "EXPO_NO_DOTENV=1 eas build --profile development --platform ios --local",
"build:dev:android": "EXPO_NO_DOTENV=1 eas build --profile development --platform android --local",
"build:dev-device:ios": "EXPO_NO_DOTENV=1 eas build --profile development-device --platform ios --local",
"build:staging:ios": "APP_ENV=staging eas build --profile staging --platform ios --local",
"build:staging:android": "APP_ENV=staging eas build --profile staging --platform android --local",
"build:production:ios": "APP_ENV=production eas build --profile production --platform ios --local",
"build:production:android": "APP_ENV=production eas build --profile production --platform android --local",
"//// TESTS ////": "",
"test": "jest --coverage=false",
"test:coverage": "jest",
"test:e2e": "maestro test ./src/e2e",
"//// QUALITY ////": "",
"lint:ts": "yarn tsc",
"lint": "eslint ./ --ext .js,.ts,.tsx,.json --fix --ignore-path .gitignore",
"prettify": "yarn prettier --write './**/*.{js,ts,tsx}' '!.storybook/storybook.requires.ts'",
"pretty:check": "yarn prettier --check './**/*.{js,ts,tsx}' '!.storybook/storybook.requires.ts'",
"//// UTILITIES ////": "",
"codegen": "graphql-codegen --config codegen.ts",
"image:add": "ts-node -T ./scripts/importImages/index.ts",
"generate:icons": "svgr --config-file src/shared/icons/svgs/config/svgrConfig.js --svgo-config src/shared/icons/svgs/config/svgoConfig.js --index-template src/shared/icons/svgs/config/index-template.js --template src/shared/icons/svgs/config/icon-template.js --out-dir src/shared/icons/components -- src/shared/icons/svgs && eslint './src/shared/icons/components/**/*.{ts,tsx}' --ext .ts,.tsx --fix --quiet && prettier --write './src/shared/icons/components/**/*.{ts,tsx}'",
"//// STORYBOOK ////": "",
"storybook:generate": "sb-rn-get-stories",
"start:storybook": "STORYBOOK_ENABLED='true' expo start",
"//// VERSIONNING ////": "",
"version:bump": "standard-version --skip.commit --skip.changelog --skip.tag",
"version:tag": "standard-version",
"//// MISC ////": "",
"clean:watchman": "watchman watch-del-all",
"perf:bundle": "npx react-native-bundle-visualizer",
"postinstall": "patch-package"
},
"dependencies": {
"@amplitude/analytics-react-native": "1.4.10",
"@gorhom/bottom-sheet": "5.0.6",
"@hookform/resolvers": "3.9.0",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-masked-view/masked-view": "0.3.1",
"@react-navigation/native": "6.1.17",
"@sentry/react-native": "~5.24.3",
"@shopify/flash-list": "1.6.4",
"@shopify/restyle": "2.4.4",
"@tanstack/query-async-storage-persister": "5.59.13",
"@tanstack/react-query": "5.59.13",
"@tanstack/react-query-persist-client": "5.59.13",
"dayjs": "1.11.13",
"expo": "^51.0.37",
"expo-application": "~5.9.1",
"expo-asset": "~10.0.10",
"expo-build-properties": "~0.12.5",
"expo-constants": "~16.0.2",
"expo-dev-client": "~4.0.28",
"expo-device": "~6.0.2",
"expo-font": "~12.0.10",
"expo-image": "~1.13.0",
"expo-linking": "~6.3.1",
"expo-localization": "~15.0.3",
"expo-network": "~6.0.1",
"expo-router": "~3.5.24",
"expo-secure-store": "~13.0.2",
"expo-splash-screen": "~0.27.6",
"expo-status-bar": "~1.12.1",
"expo-store-review": "~7.0.2",
"expo-updates": "~0.25.27",
"graphql": "16.9.0",
"graphql-request": "6.1.0",
"i18next": "23.16.0",
"immer": "10.1.1",
"lodash.isequal": "4.5.0",
"lodash.isnil": "4.0.0",
"lodash.memoize": "4.1.2",
"onesignal-expo-plugin": "2.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.13",
"react-hook-form": "7.53.0",
"react-i18next": "15.0.3",
"react-native": "~0.75.0",
"react-native-appsflyer": "6.15.1",
"react-native-device-info": "13.1.0",
"react-native-flagsmith": "5.0.0",
"react-native-gesture-handler": "~2.18.1",
"react-native-keyboard-controller": "1.14.1",
"react-native-mmkv": "2.12.2",
"react-native-onesignal": "5.1.1",
"react-native-permissions": "5.1.0",
"react-native-purchases": "8.2.4",
"react-native-reanimated": "~3.15.0",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "~3.34.0",
"react-native-svg": "15.2.0",
"react-native-toast-message": "2.2.1",
"semver": "7.6.3",
"zod": "3.23.8",
"zustand": "4.5.2"
},
"devDependencies": {
"@0no-co/graphqlsp": "1.12.16",
"@babel/core": "7.25.8",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/client-preset": "4.4.0",
"@graphql-codegen/introspection": "4.0.3",
"@graphql-codegen/typescript": "4.1.0",
"@graphql-codegen/typescript-operations": "4.3.0",
"@graphql-codegen/typescript-react-query": "6.1.0",
"@react-native-community/datetimepicker": "^8.2.0",
"@react-native-community/slider": "^4.5.5",
"@storybook/addon-actions": "8.4.2",
"@storybook/addon-ondevice-actions": "8.4.2",
"@storybook/addon-ondevice-backgrounds": "8.4.2",
"@storybook/addon-ondevice-controls": "8.4.2",
"@storybook/react-native": "^8.4.2",
"@svgr/cli": "8.1.0",
"@testing-library/jest-native": "5.4.3",
"@testing-library/react-native": "12.7.2",
"@types/fs-extra": "11.0.4",
"@types/imagemin": "8.0.0",
"@types/imagemin-mozjpeg": "8.0.1",
"@types/jest": "29.5.13",
"@types/lodash.isequal": "4.5.8",
"@types/lodash.isnil": "4.0.9",
"@types/lodash.memoize": "4.1.9",
"@types/react": "~18.2.79",
"@types/react-navigation": "3.4.0",
"@types/semver": "7.5.8",
"@types/sharp": "0.31.0",
"app-icon-badge": "0.0.15",
"babel-loader": "^8.4.1",
"babel-plugin-root-import": "6.6.0",
"babel-plugin-transform-remove-console": "6.9.4",
"dotenv": "16.4.5",
"eslint": "8.57.1",
"eslint-config-tsyirvo-react-native": "https://github.com/tsyirvo/eslint-config-tsyirvo-react-native.git#develop",
"fs-extra": "11.2.0",
"imagemin": "7.0.1",
"imagemin-mozjpeg": "9.0.0",
"imagemin-pngquant": "9.0.2",
"is-image": "4.0.0",
"jest": "29.7.0",
"jest-expo": "~51.0.4",
"lefthook": "1.8.4",
"patch-package": "8.0.0",
"pinst": "3.0.0",
"postinstall-postinstall": "2.1.0",
"prettier": "3.2.5",
"sharp": "0.31.1",
"standard-version": "9.5.0",
"storybook": "8.4.2",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "~5.3.3"
},
"expo": {
"install": {
"exclude": [
"react-native@~0.74.0",
"react-native-reanimated@~3.10.0",
"react-native-gesture-handler@~2.16.1",
"react-native-screens@~3.31.1"
]
}
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"preset": "jest-expo",
"transformIgnorePatterns": [
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@sentry/react-native|native-base|react-native-svg)"
],
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
],
"setupFiles": [
"./node_modules/react-native-gesture-handler/jestSetup.js",
"./src/core/testing/setup.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"e2e/"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js|jsx)$",
"transform": {
"^.+\\.js$": "babel-jest"
},
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/coverage/**",
"!**/node_modules/**",
"!**/babel.config.js",
"!**/app.config.ts",
"!**/**.e2e.ts",
"!src/components/icons/components/**",
"!**/stories/**",
"!**/**.types.ts"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
},
"eslintConfig": {
"extends": [
"tsyirvo-react-native"
],
"ignorePatterns": [
"src/components/icons/components/",
"**/*.json",
"!src/core/i18n/resources/**/*.json"
]
},
"packageManager": "[email protected]"
}