-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
144 lines (144 loc) · 5.89 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
{
"name": "reactnativebase",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"start-no-cache": "react-native start --reset-cache",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"setup": "./scripts/setup.sh",
"android-outputs": "./scripts/android-outputs.sh",
"clear-cache:ios": "./scripts/clean.sh ios",
"clear-cache:android": "./scripts/clean.sh android",
"clear-xcode": "./scripts/resetXcode.sh",
"ios:dev": "APP_ENV=dev ./scripts/simulator.sh Debug-Develop Debug-Develop",
"ios:qa": "APP_ENV=qa ./scripts/simulator.sh Debug-QA Debug-QA",
"ios:staging": "APP_ENV=staging ./scripts/simulator.sh Debug-Staging Debug-Staging",
"ios:prod": "APP_ENV=prod ./scripts/simulator.sh Debug Debug",
"ios:release:qa": "APP_ENV=qa ./scripts/simulator.sh Release-QA Release-QA",
"ios:release:staging": "APP_ENV=staging ./scripts/simulator.sh Release-Staging Release-Staging",
"ios:release:prod": "APP_ENV=prod ./scripts/simulator.sh Release Release",
"android:dev": "APP_ENV=dev ts-node ./scripts/validate-env.ts && react-native run-android --mode=developDebug --appIdSuffix=dev",
"android:staging": "APP_ENV=staging ts-node ./scripts/validate-env.ts && react-native run-android --mode=stagingDebug --appIdSuffix=staging",
"android:qa": "APP_ENV=qa ts-node ./scripts/validate-env.ts && react-native run-android --mode=qaDebug --appIdSuffix=qa",
"android:prod": "APP_ENV=prod ts-node ./scripts/validate-env.ts && react-native run-android --mode=prodDebug",
"android:release:dev": "APP_ENV=dev ts-node ./scripts/validate-env.ts && cd android && ./gradlew assembleDevRelease",
"android:release:staging": "APP_ENV=staging ts-node ./scripts/validate-env.ts && cd android && ./gradlew assembleStagingRelease",
"android:release:qa": "APP_ENV=qa ts-node ./scripts/validate-env.ts && cd android && ./gradlew assembleQaRelease",
"android:release:prod": "APP_ENV=prod ts-node ./scripts/validate-env.ts && cd android && ./gradlew assembleProdRelease",
"android:bundle:dev": "APP_ENV=dev ts-node ./scripts/validate-env.ts && cd android && ./gradlew bundleDevRelease",
"android:bundle:staging": "APP_ENV=staging ts-node ./scripts/validate-env.ts && cd android && ./gradlew bundleStagingRelease",
"android:bundle:prod": "APP_ENV=prod ts-node ./scripts/validate-env.ts && cd android && ./gradlew bundleProdRelease",
"validate:example:env": "APP_ENV=example ts-node ./scripts/validate-env.ts",
"lint:fix": "eslint . --fix src __tests__",
"rename": "./scripts/rename.sh",
"bump": "./rnb-cli/src/tools/rnbv.js",
"compile": "tsc",
"prettier": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"test": "jest --detectOpenHandles",
"test:ci": "jest --coverage",
"test:watch": "jest --watch"
},
"dependencies": {
"@react-native-firebase/app": "^19.2.2",
"@react-native-firebase/remote-config": "^19.2.2",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.9.1",
"@tanstack/react-query": "^4.2.1",
"axios": "^1.6.8",
"humps": "^2.0.1",
"i18next": "^23.4.4",
"react": "18.2.0",
"react-i18next": "^13.1.2",
"react-native": "0.73.5",
"react-native-bootsplash": "^5.0.0",
"react-native-config": "^1.5.1",
"react-native-device-info": "^10.13.2",
"react-native-flipper": "^0.212.0",
"react-native-mmkv": "2.11.0",
"react-native-restart": "^0.0.27",
"react-native-safe-area-context": "^4.8.2",
"react-native-screens": "^3.28.0",
"zod": "^3.22.3",
"zustand": "^4.4.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "0.73.21",
"@react-native/eslint-config": "0.73.2",
"@react-native/metro-config": "0.73.5",
"@react-native/typescript-config": "0.73.1",
"@testing-library/react-native": "^11.0.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/react-native": "^3.0.3",
"@types/humps": "^2.0.2",
"@types/jest": "^29.2.1",
"@types/node": "^20.11.25",
"@types/react": "^18.2.6",
"@types/react-native": "^0.69.0",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"babel-jest": "^29.6.3",
"babel-plugin-module-resolver": "^5.0.0",
"chalk": "4.1.2",
"eslint": "^8.19.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-ft-flow": "^2.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.0.0",
"eslint-plugin-react-native-a11y": "^3.2.1",
"jest": "^29.6.3",
"lefthook": "^1.2.8",
"prettier": "2.8.8",
"prompts": "^2.4.2",
"react-native-accessibility-engine": "^3.2.0",
"react-test-renderer": "18.2.0",
"semver": "^7.3.8",
"standard": "^17.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
},
"resolutions": {
"@types/react": "^17"
},
"jest": {
"preset": "react-native",
"testPathIgnorePatterns": [
"<rootDir>/.fttemplates/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"setupFiles": [
"<rootDir>/__mocks__/index.js"
],
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.js"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?(@react-native|react-native)|react-(native|universal|navigation)-(.*)|@react-native-community/(.*)|@react-navigation/(.*)|bs-platform)"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"engines": {
"node": ">=18"
}
}