-
Notifications
You must be signed in to change notification settings - Fork 107
/
package.json
290 lines (290 loc) · 13.9 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
{
"name": "italia-app",
"version": "2.80.0-rc.5",
"private": true,
"scripts": {
"start": "react-native start",
"setup": "yarn install && yarn postinstall",
"sync": "yarn setup && bundle && (cd ios && bundle exec pod install) && yarn generate",
"run-ios": "react-native run-ios",
"run-android": "react-native run-android",
"push-hint": "echo \"To publish changes without checks run:\ngit push --no-verify --follow-tags origin $(git rev-parse --abbrev-ref HEAD)\"",
"pre-cycle": "scripts/changelog/check_git_status.sh && node scripts/changelog/prepare_to_new_cycle.js",
"release-rc": "scripts/changelog/check_git_status.sh && standard-version -t \"\" --prerelease rc --no-verify && yarn push-hint",
"release-canary": "scripts/changelog/check_git_status.sh && standard-version -t \"\" --prerelease canary --no-verify && yarn push-hint",
"start-fix-cycle": "yarn pre-cycle && standard-version -t \"\" --prerelease rc --release-as patch --no-verify && yarn push-hint",
"start-release-cycle": "yarn pre-cycle && standard-version -t \"\" --prerelease rc --release-as minor --no-verify && yarn push-hint",
"start-breaking-cycle": "yarn pre-cycle && standard-version -t \"\" --prerelease rc --release-as major --no-verify && yarn push-hint",
"attach": "react-native attach",
"postinstall": "patch-package && rn-nodeify --install path,buffer && chmod +x ./bin/add-ios-source-maps.sh && ./bin/add-ios-source-maps.sh && chmod +x ./bin/add-ios-env-config.sh && ./bin/add-ios-env-config.sh",
"test:ci": "jest --ci --maxWorkers=4 --silent",
"test:dev": "jest --detectOpenHandles --coverage=false",
"test:tz": "yarn test:tz-eu-rome && yarn test:tz-us-ny && yarn test:tz-us-yt && yarn test:tz-au-syd",
"test:tz-eu-rome": "TZ='Europe/Rome' jest --config='./jest.config.no.timezone.js' --detectOpenHandles --coverage=false -t 'Check fiscal code date IT|SimpleDateClaim should handle valid, invalid, edge cases, and formatting correctly' './ts/utils/__tests__/fiscal-code.test.ts' './ts/features/itwallet/common/utils/__tests__/itwClaimsUtils.test.ts'",
"test:tz-us-ny": "TZ='America/New_York' jest --config='./jest.config.no.timezone.js' --detectOpenHandles --coverage=false -t 'Check fiscal code date NY|SimpleDateClaim should handle valid, invalid, edge cases, and formatting correctly' './ts/utils/__tests__/fiscal-code.test.ts' './ts/features/itwallet/common/utils/__tests__/itwClaimsUtils.test.ts'",
"test:tz-us-yt": "TZ='America/Whitehorse' jest --config='./jest.config.no.timezone.js' --detectOpenHandles --coverage=false -t 'Check fiscal code date CA|SimpleDateClaim should handle valid, invalid, edge cases, and formatting correctly' './ts/utils/__tests__/fiscal-code.test.ts' './ts/features/itwallet/common/utils/__tests__/itwClaimsUtils.test.ts'",
"test:tz-au-syd": "TZ='Australia/Sydney' jest --config='./jest.config.no.timezone.js' --detectOpenHandles --coverage=false -t 'Check fiscal code date AU|SimpleDateClaim should handle valid, invalid, edge cases, and formatting correctly' './ts/utils/__tests__/fiscal-code.test.ts' './ts/features/itwallet/common/utils/__tests__/itwClaimsUtils.test.ts'",
"prettify": "prettier --write \"ts/**/*.(ts|tsx)\"",
"prettier:check": "prettier --check \"ts/**/*.(ts|tsx)\"",
"packager:clear": "rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-*",
"bundle:android": "node node_modules/react-native/local-cli/cli.js bundle --platform android --dev true --entry-file index.js --bundle-output ./bundles/index.android.bundle",
"tsc:noemit": "tsc --noemit",
"lint": "eslint . -c .eslintrc.js --ext .ts,.tsx",
"lint-autofix": "eslint . -c .eslintrc.js --ext .ts,.tsx --fix",
"check_urls": "python3 scripts/check_urls.py",
"cie-ios:prod": "mv node_modules/@pagopa/react-native-cie/.ios node_modules/@pagopa/react-native-cie/ios && mv node_modules/@pagopa/react-native-cie/.react-native-cie.podspec node_modules/@pagopa/react-native-cie/react-native-cie.podspec && cd ios && bundle exec pod install",
"cie-ios:dev": "mv node_modules/@pagopa/react-native-cie/ios node_modules/@pagopa/react-native-cie/.ios && mv node_modules/@pagopa/react-native-cie/react-native-cie.podspec node_modules/@pagopa/react-native-cie/.react-native-cie.podspec && cd ios && rm -rf Pods && bundle exec pod install",
"cie-ios:ci": "mv node_modules/@pagopa/react-native-cie/.ios node_modules/@pagopa/react-native-cie/ios && mv node_modules/@pagopa/react-native-cie/.react-native-cie.podspec node_modules/@pagopa/react-native-cie/react-native-cie.podspec",
"bundle:android-release": "node node_modules/react-native/local-cli/cli.js 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/",
"generate": "./scripts/generate-api-models.sh",
"generate:locales": "ts-node --skip-project -O '{\"lib\":[\"es2015\"]}' scripts/make-locales.ts",
"locales_unused": "ts-node --skip-project -O '{\"lib\":[\"es2015\"]}' scripts/unused-locales.ts",
"remove_unused_locales": "ts-node --skip-project -O '{\"lib\":[\"es2015\"]}' scripts/remove-unused-locales.ts",
"lollipop_checks:comment": "./scripts/toggle-comments-on-lollipop-checks.sh comment ./ts/sagas/startup.ts",
"lollipop_checks:uncomment": "./scripts/toggle-comments-on-lollipop-checks.sh uncomment ./ts/sagas/startup.ts",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint -c .eslintrc.js --fix"
]
},
"dependencies": {
"@gorhom/bottom-sheet": "^4.1.5",
"@pagopa/io-app-design-system": "4.3.0",
"@pagopa/io-pagopa-commons": "^3.1.0",
"@pagopa/io-react-native-cieid": "^0.3.5",
"@pagopa/io-react-native-crypto": "^1.0.1",
"@pagopa/io-react-native-http-client": "1.0.5",
"@pagopa/io-react-native-integrity": "^0.3.1",
"@pagopa/io-react-native-jwt": "^1.4.0",
"@pagopa/io-react-native-login-utils": "^1.0.8",
"@pagopa/io-react-native-secure-storage": "^0.2.0",
"@pagopa/io-react-native-wallet": "^0.27.0",
"@pagopa/io-react-native-zendesk": "^0.3.29",
"@pagopa/react-native-cie": "^1.4.0",
"@pagopa/ts-commons": "^10.15.0",
"@react-native-async-storage/async-storage": "^2.0.0",
"@react-native-clipboard/clipboard": "^1.14.0",
"@react-native-community/netinfo": "11.4.1",
"@react-native-community/push-notification-ios": "^1.8.0",
"@react-native-community/slider": "^3.0.3",
"@react-native-cookies/cookies": "^6.2.1",
"@react-native/typescript-config": "^0.75.4",
"@react-navigation/bottom-tabs": "6.5.11",
"@react-navigation/material-top-tabs": "6.6.5",
"@react-navigation/native": "^6.1.9",
"@react-navigation/native-stack": "^6.11.0",
"@react-navigation/stack": "^6.3.21",
"@redux-saga/testing-utils": "^1.1.3",
"@sentry/react-native": "^6.4.0",
"@shopify/flash-list": "~1.7.0",
"@shopify/react-native-skia": "^1.5.10",
"@textlint/markdown-to-ast": "^14.0.4",
"@xstate/react": "^4.0.1",
"async-mutex": "^0.1.3",
"buffer": "^4.9.1",
"color": "^3.0.0",
"date-fns": "^1.29.0",
"detox": "^19.9.2",
"eslint-plugin-react-native": "^4.0.0",
"fp-ts": "^2.12.1",
"front-matter": "^4.0.2",
"hastscript": "^7.0.2",
"hoist-non-react-statics": "^3.0.1",
"io-ts": "^2.2.16",
"jail-monkey": "^2.8.0",
"jwk-thumbprint": "^0.1.4",
"lodash": "^4.17.21",
"lottie-react-native": "^6.7.2",
"metro-babel-register": "^0.72.1",
"mixpanel-react-native": "2.4.1",
"pako": "^2.1.0",
"path-browserify": "0.0.0",
"pdf-lib": "^1.17.1",
"react": "18.3.1",
"react-native": "0.75.4",
"react-native-android-open-settings": "^1.3.0",
"react-native-background-timer": "2.1.1",
"react-native-barcode-builder": "^2.0.0",
"react-native-blob-util": "0.15.0",
"react-native-calendar-events": "2.2.0",
"react-native-config": "^1.4.5",
"react-native-crypto": "^2.1.0",
"react-native-device-info": "^10.8.0",
"react-native-document-picker": "^9.1.1",
"react-native-easing-gradient": "^1.1.1",
"react-native-exception-handler": "^2.10.8",
"react-native-fingerprint-scanner": "git+https://github.com/hieuvp/react-native-fingerprint-scanner.git#9cecc0db326471c571553ea85f7c016fee2f803d",
"react-native-flag-secure-android": "^1.0.3",
"react-native-fs": "^2.18.0",
"react-native-gesture-handler": "^2.18.1",
"react-native-haptic-feedback": "^2.3.3",
"react-native-i18n": "^2.0.15",
"react-native-image-pan-zoom": "^2.1.11",
"react-native-image-picker": "4.10.3",
"react-native-keychain": "^4.0.5",
"react-native-linear-gradient": "^2.5.6",
"react-native-markdown-display": "^7.0.2",
"react-native-masked-text": "^1.13.0",
"react-native-notifications-utils": "^0.3.0",
"react-native-pager-view": "^6.4.1",
"react-native-pdf": "6.7.4",
"react-native-pdf-thumbnail": "^1.2.1",
"react-native-permissions": "^4.0.0",
"react-native-push-notification": "^8.1.1",
"react-native-qrcode-svg": "^6.3.12",
"react-native-reanimated": "^3.15.0",
"react-native-render-html": "^6.3.1",
"react-native-responsive-screen": "^1.4.1",
"react-native-safe-area-context": "^4.10.5",
"react-native-screen-brightness": "^2.0.0-alpha",
"react-native-screens": "^3.35.0",
"react-native-share": "^10.2.1",
"react-native-splash-screen": "^3.2.0",
"react-native-store-review": "^0.4.3",
"react-native-svg": "^15.6.0",
"react-native-tab-view": "3.5.2",
"react-native-url-polyfill": "^2.0.0",
"react-native-vision-camera": "^4.5.3",
"react-native-webview": "^13.10.5",
"react-native-xml2js": "^1.0.3",
"react-redux": "8.1.3",
"redux": "4.1.1",
"redux-logger": "3.0.6",
"redux-persist": "5.10.0",
"redux-saga": "1.1.3",
"rehype-format": "^4.0.0",
"rehype-stringify": "^9.0.2",
"remark": "^14.0.1",
"remark-directive": "^2.0.0",
"remark-rehype": "^9.1.0",
"reselect": "4.0.0",
"rn-placeholder": "^1.3.3",
"rn-qr-generator": "^1.4.0",
"semver": "^5.7.2",
"sha.js": "^2.4.11",
"tslib": "^1.9.3",
"typed-redux-saga": "^1.4.0",
"typesafe-actions": "4.4.2",
"unist-util-visit": "^4.1.0",
"url-parse": "^1.5.9",
"uuid": "^8.3.2",
"validator": "^13.7.0",
"xml2js": "^0.5.0",
"xss": "1.0.10",
"xstate": "^5"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-regenerator": "^7.18.6",
"@babel/preset-env": "^7.20.0",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.20.0",
"@jambit/eslint-plugin-typed-redux-saga": "^0.4.0",
"@pagopa/openapi-codegen-ts": "^14.0.0",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native/babel-preset": "0.75.4",
"@react-native/eslint-config": "0.75.4",
"@react-native/metro-config": "0.75.4",
"@stylistic/eslint-plugin-js": "^2.1.0",
"@testing-library/jest-native": "^3.4.3",
"@testing-library/react-native": "^8.0.0",
"@tsconfig/react-native": "^3.0.0",
"@types/chalk": "^2.2.0",
"@types/color": "^3.0.0",
"@types/fs-extra": "^5.0.4",
"@types/hoist-non-react-statics": "^3.0.1",
"@types/jest": "^29.2.1",
"@types/js-yaml": "^3.12.1",
"@types/lodash": "^4.14.157",
"@types/node": "^10.1.0",
"@types/node-fetch": "^2.1.7",
"@types/pako": "^2.0.0",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.6",
"@types/react-native-background-timer": "^2.0.0",
"@types/react-native-i18n": "^2.0.0",
"@types/react-native-push-notification": "^8.1.1",
"@types/react-test-renderer": "^18.0.0",
"@types/redux-logger": "^3.0.6",
"@types/redux-mock-store": "^1.0.2",
"@types/semver": "^6.2.0",
"@types/sha.js": "^2.4.0",
"@types/url-parse": "^1.4.3",
"@types/uuid": "^8.3.1",
"@types/validator": "^9.4.2",
"@types/xml2js": "^0.4.11",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^7.13.0",
"abortcontroller-polyfill": "1.7.3",
"babel-jest": "^29.6.3",
"babel-plugin-macros": "^3.1.0",
"babel-preset-react-native": "^4.0.1",
"chalk": "^2.4.1",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-functional": "^4.1.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-native-a11y": "^3.3.0",
"eslint-plugin-sonarjs": "^0.11.0",
"fs-extra": "^7.0.0",
"husky": "^8.0.0",
"jest": "^29.6.3",
"jest-circus": "^26.6.3",
"jest-junit": "^13.0.0",
"js-yaml": "^3.13.1",
"lint-staged": "^13.2.0",
"mockdate": "^3.0.2",
"mockttp": "2.4.0",
"node-fetch": "^2.6.7",
"patch-package": "6.5.1",
"plist": "^3.0.5",
"postinstall-postinstall": "^1.0.0",
"prettier": "2.8.8",
"react-native-bundle-visualizer": "^2.2.1",
"react-native-get-random-values": "^1.11.0",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "18.3.1",
"reactotron-react-native": "^5.1.10",
"reactotron-redux": "^3.1.10",
"redux-mock-store": "^1.5.4",
"redux-saga-test-plan": "4.0.3",
"rn-nodeify": "^10.0.1",
"standard-version": "^8.0.2",
"ts-node": "^7.0.1",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=18"
},
"resolutions": {
"@types/react": "^18.0.24",
"@babel/preset-typescript": "^7.23.3",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/plugin-syntax-typescript": "^7.23.3",
"@babel/types": "^7.23.6"
},
"react-native": {
"path": "path-browserify",
"crypto": "react-native-crypto"
},
"browser": {
"crypto": "react-native-crypto",
"path": "path-browserify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pagopa/io-app.git"
},
"standard-version": {
"scripts": {
"postchangelog": "node scripts/changelog/add_jira_stories.js"
}
},
"packageManager": "[email protected]"
}