-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
162 lines (162 loc) · 6.96 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
{
"name": "va-health-and-benefits",
"version": "1.0.0",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start:metro-server": "react-native start --reset-cache",
"start": "yarn run env:staging && concurrently \"yarn run start:metro-server\" \"yarn run lint:watch\"",
"test:watch": "jest --coverage --colors --watchAll",
"test:debug": "yarn run env:test && jest --colors",
"test": "yarn run env:test && jest --coverage --colors --silent",
"clean": "yarn run clean:android && yarn run clean:ios",
"clean:android": "cd android; ./gradlew clean",
"clean:ios": "rm -rf ./ios/output",
"bundle:android": "react-native bundle --reset-cache --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",
"bundle:ios": "react-native bundle --reset-cache --dev false --entry-file index.js --bundle-output ios/main.jsbundle --platform ios --sourcemap-output ios/main.jsbundle.map --assets-dest ios",
"lint:watch": "watch --wait=2 'yarn run lint:forWatcher' ./src",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
"tsc:compile": "tsc -p ./tsconfig.app.json",
"lint:fix": "eslint --fix ./src --ext .js,.jsx,.ts,.tsx",
"lint:ci": "eslint --max-warnings 0 --rule 'deprecate/import: off' ./src --ext .js,.jsx,.ts,.tsx && yarn run tsc:compile",
"lint:forWatcher": "yarn run lint:fix && yarn run tsc:compile || exit 0",
"jest:clear": "jest --clearCache",
"env:staging": "./env/env.sh -e staging -d true",
"env:test": "./env/env.sh -e staging -d true -t true",
"env:uat": "./env/env.sh -d true -t false",
"env:production": "./env/env.sh -e production -d false -t false",
"postinstall": "yarn prepare && yarn patch-package",
"prepare": "cd .. && husky VAMobile/.husky",
"e2e:ios-build": "yarn run bundle:ios && detox build -c ios",
"e2e:ios-test": "yarn jest:clear && detox test -c ios --cleanup --record-logs all",
"e2e:android-build": " yarn run bundle:android && detox build -c android",
"e2e:android-test": "yarn jest:clear && detox test -c android --cleanup",
"e2e:attached-build": "yarn run bundle:android && detox build -c attached",
"e2e:attached-test": "yarn jest:clear && detox test -c attached --cleanup",
"docs": "yarn && cd documentation && yarn && yarn start",
"nodes": "rm -rf node_modules && yarn install",
"pods": "cd ios && pod install && cd .."
},
"dependencies": {
"@department-of-veterans-affairs/mobile-assets": "0.14.0",
"@department-of-veterans-affairs/mobile-component-library": "0.30.3",
"@department-of-veterans-affairs/mobile-tokens": "0.23.0",
"@expo/react-native-action-sheet": "^4.1.0",
"@react-native-async-storage/async-storage": "^1.24.0",
"@react-native-cookies/cookies": "^6.2.1",
"@react-native-firebase/analytics": "^18.9.0",
"@react-native-firebase/app": "^18.9.0",
"@react-native-firebase/crashlytics": "^18.9.0",
"@react-native-firebase/dynamic-links": "^18.9.0",
"@react-native-firebase/perf": "^18.9.0",
"@react-native-firebase/remote-config": "18.9.0",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/native": "^6.1.18",
"@react-navigation/stack": "^6.4.1",
"@reduxjs/toolkit": "^2.6.0",
"@tanstack/react-query": "^5.59.15",
"eslint-plugin-tsdoc": "^0.4.0",
"i18next": "^23.7.18",
"jsc-android": "^250231.0.0",
"lottie-react-native": "^5.1.6",
"luxon": "^3.5.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"react": "18.3.1",
"react-content-loader": "^7.0.0",
"react-i18next": "^14.1.2",
"react-native": "0.75.3",
"react-native-blob-util": "^0.19.11",
"react-native-document-picker": "^8.2.2",
"react-native-dotenv": "^3.4.11",
"react-native-file-viewer": "^2.1.4",
"react-native-gesture-handler": "~2.21.1",
"react-native-haptic-feedback": "^2.3.3",
"react-native-image-picker": "^7.1.2",
"react-native-keyboard-manager": "^6.5.11-2",
"react-native-keychain": "^9.2.0",
"react-native-localize": "^3.3.0",
"react-native-notifications": "^5.1.0",
"react-native-safe-area-context": "^4.10.9",
"react-native-screens": "^3.34.0",
"react-native-shadow-2": "^7.1.0",
"react-native-svg": "15.8.0",
"react-native-svg-transformer": "^1.5.0",
"react-native-toast-notifications": "^3.4.0",
"react-native-webp-format": "^1.2.0",
"react-native-webview": "^13.12.4",
"react-redux": "^9.2.0",
"styled-components": "^5.3.10",
"underscore": "^1.13.7"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@department-of-veterans-affairs/eslint-config-mobile": "0.15.0",
"@react-native/babel-preset": "0.76.2",
"@react-native/eslint-config": "^0.75.3",
"@react-native/metro-config": "^0.75.3",
"@react-native/typescript-config": "0.76.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react-native": "^12.9.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/react-native": "^3.0.5",
"@types/detox": "^18.1.0",
"@types/jest-when": "^3.5.5",
"@types/lodash": "^4.17.13",
"@types/luxon": "^3.4.2",
"@types/node": "^20.14.10",
"@types/react-native": "0.73.0",
"@types/react-test-renderer": "^18.3.0",
"@types/redux-mock-store": "^1.5.0",
"@types/styled-components-react-native": "^5.2.1",
"@types/underscore": "^1.11.15",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-jest": "^29.7.0",
"babel-plugin-module-resolver": "^5.0.2",
"concurrently": "^8.2.2",
"detox": "^20.28.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-native": "^4.1.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-image-snapshot": "^6.4.0",
"jest-junit": "^16.0.0",
"jest-when": "^3.7.0",
"lint-staged": "^15.2.9",
"metro-react-native-babel-preset": "^0.77.0",
"prettier": "^3.3.3",
"react-devtools": "^5.3.1",
"react-test-renderer": "^18.3.1",
"redux-mock-store": "^1.5.5",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"watch": "^1.0.2"
},
"resolutions": {
"react-devtools/**/got": "^11.8.5",
"react-devtools/electron": "^25.8.1",
"react-native/@react-native-community/**/fast-xml-parser": "^4.2.4",
"tough-cookie": "^4.1.3",
"watch/**/merge": "^2.1.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": "prettier --write"
},
"engines": {
"node": ">=18.0.0"
}
}