2022-06-08 00:50:05 +02:00
|
|
|
|
{
|
2022-11-05 21:07:28 +01:00
|
|
|
|
"name": "bsky.app",
|
2024-03-01 02:56:08 +01:00
|
|
|
|
"version": "1.71.0",
|
2022-06-08 00:50:05 +02:00
|
|
|
|
"private": true,
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=18"
|
|
|
|
|
},
|
2022-06-08 00:50:05 +02:00
|
|
|
|
"scripts": {
|
2023-07-14 00:55:30 +02:00
|
|
|
|
"prepare": "is-ci || husky install",
|
2023-12-20 18:45:30 +01:00
|
|
|
|
"postinstall": "patch-package && yarn intl:compile",
|
2023-09-07 02:21:48 +02:00
|
|
|
|
"prebuild": "expo prebuild --clean",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"android": "expo run:android",
|
|
|
|
|
"ios": "expo run:ios",
|
|
|
|
|
"web": "expo start --web",
|
2024-02-21 22:54:31 +01:00
|
|
|
|
"use-build-number": "./scripts/useBuildNumberEnv.sh",
|
2024-01-12 19:25:00 +01:00
|
|
|
|
"build-web": "expo export:web && node ./scripts/post-web-build.js && cp -v ./web-build/static/js/*.* ./bskyweb/static/js/",
|
2024-02-21 22:54:31 +01:00
|
|
|
|
"build-all": "yarn intl:build && yarn use-build-number eas build --platform all",
|
|
|
|
|
"build-ios": "yarn use-build-number eas build -p ios",
|
|
|
|
|
"build-android": "yarn use-build-number eas build -p android",
|
|
|
|
|
"build": "yarn use-build-number eas build",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"start": "expo start --dev-client",
|
2023-10-14 03:54:35 +02:00
|
|
|
|
"start:prod": "expo start --dev-client --no-dev --minify",
|
2022-11-11 22:02:19 +01:00
|
|
|
|
"clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
|
2023-11-03 22:34:14 +01:00
|
|
|
|
"test": "NODE_ENV=test jest --forceExit --testTimeout=20000 --bail",
|
|
|
|
|
"test-watch": "NODE_ENV=test jest --watchAll",
|
|
|
|
|
"test-ci": "NODE_ENV=test jest --ci --forceExit --reporters=default --reporters=jest-junit",
|
|
|
|
|
"test-coverage": "NODE_ENV=test jest --coverage",
|
2023-03-20 20:53:59 +01:00
|
|
|
|
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx",
|
2023-06-02 22:01:04 +02:00
|
|
|
|
"typecheck": "tsc --project ./tsconfig.check.json",
|
2024-01-05 02:33:57 +01:00
|
|
|
|
"e2e:mock-server": "./jest/dev-infra/with-test-redis-and-db.sh ts-node --project tsconfig.e2e.json __e2e__/mock-server.ts",
|
2023-12-05 21:50:56 +01:00
|
|
|
|
"e2e:metro": "NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
|
|
|
|
|
"e2e:build": "NODE_ENV=test detox build -c ios.sim.debug",
|
|
|
|
|
"e2e:run": "NODE_ENV=test detox test --configuration ios.sim.debug --take-screenshots all",
|
2023-11-03 22:34:14 +01:00
|
|
|
|
"perf:test": "NODE_ENV=test maestro test",
|
|
|
|
|
"perf:test:run": "NODE_ENV=test maestro test __e2e__/maestro/scroll.yaml",
|
|
|
|
|
"perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand 'yarn perf:test' --duration 150000 --resultsFilePath .perf/results.json",
|
|
|
|
|
"perf:test:results": "NODE_ENV=test flashlight report .perf/results.json",
|
|
|
|
|
"perf:measure": "NODE_ENV=test flashlight measure",
|
2024-02-27 22:31:44 +01:00
|
|
|
|
"intl:build": "yarn intl:extract && yarn intl:compile",
|
2023-12-01 22:40:50 +01:00
|
|
|
|
"intl:check": "yarn intl:extract && git diff-index -G'(^[^\\*# /])|(^#\\w)|(^\\s+[^\\*#/])' HEAD || (echo '\n⚠️ i18n detected un-extracted translations\n' && exit 1)",
|
2023-11-09 19:04:16 +01:00
|
|
|
|
"intl:extract": "lingui extract",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"intl:compile": "lingui compile",
|
2024-02-28 00:22:03 +01:00
|
|
|
|
"nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",
|
|
|
|
|
"update-extensions": "scripts/updateExtensions.sh"
|
2022-06-08 00:50:05 +02:00
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2024-03-01 02:30:30 +01:00
|
|
|
|
"@atproto/api": "^0.10.3",
|
2022-12-14 22:35:15 +01:00
|
|
|
|
"@bam.tech/react-native-image-resizer": "^3.0.4",
|
2023-04-15 18:24:03 +02:00
|
|
|
|
"@braintree/sanitize-url": "^6.0.2",
|
2023-08-24 01:29:23 +02:00
|
|
|
|
"@emoji-mart/react": "^1.1.1",
|
2023-06-11 01:12:26 +02:00
|
|
|
|
"@expo/html-elements": "^0.4.2",
|
2023-09-05 21:23:22 +02:00
|
|
|
|
"@expo/webpack-config": "^19.0.0",
|
2022-07-19 23:04:45 +02:00
|
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
|
|
|
"@fortawesome/react-native-fontawesome": "^0.3.0",
|
2023-10-06 00:55:31 +02:00
|
|
|
|
"@gorhom/bottom-sheet": "^4.5.1",
|
2023-11-09 19:04:16 +01:00
|
|
|
|
"@lingui/react": "^4.5.0",
|
2023-07-25 16:45:38 +02:00
|
|
|
|
"@mattermost/react-native-paste-input": "^0.6.4",
|
2023-08-31 00:21:12 +02:00
|
|
|
|
"@miblanchard/react-native-slider": "^2.3.1",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"@react-native-async-storage/async-storage": "1.21.0",
|
2023-01-26 00:25:34 +01:00
|
|
|
|
"@react-native-camera-roll/camera-roll": "^5.2.2",
|
2022-07-26 01:31:42 +02:00
|
|
|
|
"@react-native-clipboard/clipboard": "^1.10.0",
|
2023-01-18 19:56:53 +01:00
|
|
|
|
"@react-native-community/blur": "^4.3.0",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"@react-native-community/datetimepicker": "7.6.1",
|
|
|
|
|
"@react-native-masked-view/masked-view": "0.3.0",
|
2023-07-28 23:00:37 +02:00
|
|
|
|
"@react-native-menu/menu": "^0.8.0",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"@react-native-picker/picker": "2.6.1",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"@react-navigation/bottom-tabs": "^6.5.7",
|
|
|
|
|
"@react-navigation/drawer": "^6.6.2",
|
|
|
|
|
"@react-navigation/native": "^6.1.6",
|
|
|
|
|
"@react-navigation/native-stack": "^6.9.12",
|
2023-04-04 20:01:38 +02:00
|
|
|
|
"@segment/analytics-next": "^1.51.3",
|
|
|
|
|
"@segment/analytics-react": "^1.0.0-rc1",
|
2023-01-24 20:58:35 +01:00
|
|
|
|
"@segment/analytics-react-native": "^2.10.1",
|
|
|
|
|
"@segment/sovran-react-native": "^0.4.5",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"@sentry/react-native": "5.5.0",
|
New component library based on ALF (#2459)
* Install on native as well
* Add button and link components
* Comments
* Use new prop
* Add some form elements
* Add labels to input
* Fix line height, add suffix
* Date inputs
* Autofill styles
* Clean up InputDate types
* Improve types for InputText, value handling
* Enforce a11y props on buttons
* Add Dialog, Portal
* Dialog contents
* Native dialog
* Clean up
* Fix animations
* Improvements to web modal, exiting still broken
* Clean up dialog types
* Add Prompt, Dialog refinement, mobile refinement
* Integrate new design tokens, reorg storybook
* Button colors
* Dim mode
* Reorg
* Some styles
* Toggles
* Improve a11y
* Autosize dialog, handle max height, Dialog.ScrolLView not working
* Try to use BottomSheet's own APIs
* Scrollable dialogs
* Add web shadow
* Handle overscroll
* Styles
* Dialog text input
* Shadows
* Button focus states
* Button pressed states
* Gradient poc
* Gradient colors and hovers
* Add hrefAttrs to Link
* Some more a11y
* Toggle invalid states
* Update dialog descriptions for demo
* Icons
* WIP Toggle cleanup
* Refactor toggle to not rely on immediate children
* Make Toggle controlled
* Clean up Toggles storybook
* ToggleButton styles
* Improve a11y labels
* ToggleButton hover darkmode
* Some i18n
* Refactor input
* Allow extension of input
* Remove old input
* Improve icons, add CalendarDays
* Refactor DateField, web done
* Add label example
* Clean up old InputDate, DateField android, text area example
* Consistent imports
* Button context, icons
* Add todo
* Add closeAllDialogs control
* Alignment
* Expand color palette
* Hitslops, add shortcut to Storybook in dev
* Fix multiline on ios
* Mark dialog close button as unused
2024-01-19 03:28:04 +01:00
|
|
|
|
"@tamagui/focus-scope": "^1.84.1",
|
2023-11-11 00:34:25 +01:00
|
|
|
|
"@tanstack/react-query": "^5.8.1",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"@tiptap/core": "^2.0.0-beta.220",
|
|
|
|
|
"@tiptap/extension-document": "^2.0.0-beta.220",
|
2023-05-03 06:00:18 +02:00
|
|
|
|
"@tiptap/extension-hard-break": "^2.0.3",
|
2023-04-27 16:27:33 +02:00
|
|
|
|
"@tiptap/extension-history": "^2.0.3",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"@tiptap/extension-mention": "^2.0.0-beta.220",
|
|
|
|
|
"@tiptap/extension-paragraph": "^2.0.0-beta.220",
|
|
|
|
|
"@tiptap/extension-placeholder": "^2.0.0-beta.220",
|
|
|
|
|
"@tiptap/extension-text": "^2.0.0-beta.220",
|
2023-09-27 18:15:50 +02:00
|
|
|
|
"@tiptap/html": "^2.1.11",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"@tiptap/pm": "^2.0.0-beta.220",
|
|
|
|
|
"@tiptap/react": "^2.0.0-beta.220",
|
|
|
|
|
"@tiptap/suggestion": "^2.0.0-beta.220",
|
2023-05-03 06:00:18 +02:00
|
|
|
|
"@types/node": "^18.16.2",
|
2022-06-16 00:40:18 +02:00
|
|
|
|
"@zxing/text-encoding": "^0.9.0",
|
2023-09-15 23:40:15 +02:00
|
|
|
|
"array.prototype.findlast": "^1.2.3",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"await-lock": "^2.2.2",
|
2023-10-14 03:54:35 +02:00
|
|
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
2022-06-16 05:08:28 +02:00
|
|
|
|
"base64-js": "^1.5.1",
|
2023-06-23 19:48:52 +02:00
|
|
|
|
"bcp-47-match": "^2.0.3",
|
2023-11-03 22:34:14 +01:00
|
|
|
|
"date-fns": "^2.30.0",
|
2022-09-27 21:24:47 +02:00
|
|
|
|
"email-validator": "^2.0.4",
|
2023-08-24 01:29:23 +02:00
|
|
|
|
"emoji-mart": "^5.5.2",
|
2023-08-17 22:39:59 +02:00
|
|
|
|
"eventemitter3": "^5.0.1",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo": "^50.0.0-preview.10",
|
|
|
|
|
"expo-application": "~5.8.2",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"expo-build-properties": "^0.11.0",
|
|
|
|
|
"expo-camera": "~14.0.1",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo-constants": "~15.4.3",
|
|
|
|
|
"expo-dev-client": "~3.3.5",
|
|
|
|
|
"expo-device": "~5.9.2",
|
|
|
|
|
"expo-image": "~1.10.3",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"expo-image-manipulator": "^11.8.0",
|
|
|
|
|
"expo-image-picker": "~14.7.1",
|
2024-02-27 19:35:38 +01:00
|
|
|
|
"expo-linking": "^6.2.2",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo-localization": "~14.8.2",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"expo-media-library": "~15.9.1",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo-notifications": "~0.27.3",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"expo-sharing": "^11.10.0",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo-splash-screen": "~0.26.2",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"expo-status-bar": "~1.11.1",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo-system-ui": "~2.9.3",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"expo-task-manager": "~11.7.0",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"expo-updates": "~0.24.7",
|
|
|
|
|
"expo-web-browser": "~12.8.1",
|
2023-03-31 20:17:26 +02:00
|
|
|
|
"fast-text-encoding": "^1.0.6",
|
2023-02-23 22:52:12 +01:00
|
|
|
|
"history": "^5.3.0",
|
2023-02-28 18:03:44 +01:00
|
|
|
|
"js-sha256": "^0.9.0",
|
2023-12-06 19:32:14 +01:00
|
|
|
|
"jwt-decode": "^4.0.0",
|
2023-03-20 00:47:49 +01:00
|
|
|
|
"lande": "^1.0.10",
|
2022-11-08 22:56:22 +01:00
|
|
|
|
"lodash.chunk": "^4.2.0",
|
2023-03-14 19:03:43 +01:00
|
|
|
|
"lodash.debounce": "^4.0.8",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"lodash.isequal": "^4.5.0",
|
2022-07-20 22:00:37 +02:00
|
|
|
|
"lodash.omit": "^4.5.0",
|
2023-08-03 19:25:17 +02:00
|
|
|
|
"lodash.once": "^4.1.1",
|
2023-09-18 20:44:29 +02:00
|
|
|
|
"lodash.random": "^3.2.0",
|
2023-03-03 22:37:17 +01:00
|
|
|
|
"lodash.samplesize": "^4.2.0",
|
2023-04-19 22:58:24 +02:00
|
|
|
|
"lodash.set": "^4.3.2",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"lodash.shuffle": "^4.2.0",
|
2022-11-15 19:54:15 +01:00
|
|
|
|
"lru_map": "^0.4.1",
|
2022-07-19 22:37:24 +02:00
|
|
|
|
"mobx": "^6.6.1",
|
2022-06-10 00:13:29 +02:00
|
|
|
|
"mobx-react-lite": "^3.4.0",
|
2023-04-19 22:58:24 +02:00
|
|
|
|
"mobx-utils": "^6.0.6",
|
2024-02-18 01:03:47 +01:00
|
|
|
|
"nanoid": "^5.0.5",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"normalize-url": "^8.0.0",
|
2023-03-17 01:09:19 +01:00
|
|
|
|
"patch-package": "^6.5.1",
|
|
|
|
|
"postinstall-postinstall": "^2.1.0",
|
2023-10-02 23:47:39 +02:00
|
|
|
|
"psl": "^1.9.0",
|
2023-01-18 03:40:02 +01:00
|
|
|
|
"react": "18.2.0",
|
2023-01-27 22:51:24 +01:00
|
|
|
|
"react-avatar-editor": "^13.0.0",
|
2022-07-26 06:08:24 +02:00
|
|
|
|
"react-circular-progressbar": "^2.1.0",
|
2023-01-26 19:12:27 +01:00
|
|
|
|
"react-dom": "^18.2.0",
|
2024-01-13 02:04:08 +01:00
|
|
|
|
"react-native": "0.73.2",
|
2022-11-17 19:33:19 +01:00
|
|
|
|
"react-native-appstate-hook": "^1.0.6",
|
2023-12-21 23:29:23 +01:00
|
|
|
|
"react-native-drawer-layout": "^4.0.0-alpha.3",
|
2023-01-18 21:47:42 +01:00
|
|
|
|
"react-native-fs": "^2.20.0",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"react-native-gesture-handler": "~2.14.0",
|
|
|
|
|
"react-native-get-random-values": "~1.8.0",
|
2022-12-14 22:46:21 +01:00
|
|
|
|
"react-native-haptic-feedback": "^1.14.0",
|
2022-12-02 17:41:01 +01:00
|
|
|
|
"react-native-image-crop-picker": "^0.38.1",
|
2023-07-28 23:00:37 +02:00
|
|
|
|
"react-native-ios-context-menu": "^1.15.3",
|
2022-09-01 03:09:58 +02:00
|
|
|
|
"react-native-linear-gradient": "^2.6.2",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"react-native-pager-view": "6.2.3",
|
2023-09-21 20:33:19 +02:00
|
|
|
|
"react-native-picker-select": "^8.1.0",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"react-native-progress": "bluesky-social/react-native-progress",
|
2023-12-01 01:02:46 +01:00
|
|
|
|
"react-native-reanimated": "^3.6.0",
|
2022-07-26 01:31:42 +02:00
|
|
|
|
"react-native-root-siblings": "^4.1.1",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"react-native-safe-area-context": "4.8.2",
|
|
|
|
|
"react-native-screens": "~3.29.0",
|
|
|
|
|
"react-native-svg": "14.1.0",
|
2024-02-18 01:03:47 +01:00
|
|
|
|
"react-native-ui-text-view": "link:./modules/react-native-ui-text-view",
|
2022-07-18 22:24:37 +02:00
|
|
|
|
"react-native-url-polyfill": "^1.3.0",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"react-native-uuid": "^2.0.1",
|
2022-12-06 19:40:40 +01:00
|
|
|
|
"react-native-version-number": "^0.3.6",
|
2023-09-05 21:23:22 +02:00
|
|
|
|
"react-native-web": "~0.19.6",
|
2023-01-26 19:36:27 +01:00
|
|
|
|
"react-native-web-linear-gradient": "^1.1.2",
|
2023-12-21 23:33:46 +01:00
|
|
|
|
"react-native-web-webview": "^1.0.2",
|
2024-01-13 02:40:04 +01:00
|
|
|
|
"react-native-webview": "13.6.4",
|
2023-04-13 03:27:55 +02:00
|
|
|
|
"react-responsive": "^9.0.2",
|
2022-12-14 22:35:15 +01:00
|
|
|
|
"rn-fetch-blob": "^0.12.0",
|
2023-10-14 03:54:35 +02:00
|
|
|
|
"sentry-expo": "~7.0.1",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"tippy.js": "^6.3.7",
|
2023-01-24 16:06:27 +01:00
|
|
|
|
"tlds": "^1.234.0",
|
2023-11-02 00:15:40 +01:00
|
|
|
|
"use-deep-compare": "^1.1.0",
|
2023-07-28 23:00:37 +02:00
|
|
|
|
"zeego": "^1.6.2",
|
2024-02-18 01:03:47 +01:00
|
|
|
|
"zod": "^3.20.2"
|
2022-06-08 00:50:05 +02:00
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2024-01-26 22:54:25 +01:00
|
|
|
|
"@atproto/dev-env": "^0.2.28",
|
2023-11-09 19:04:16 +01:00
|
|
|
|
"@babel/core": "^7.23.2",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"@babel/preset-env": "^7.20.0",
|
|
|
|
|
"@babel/runtime": "^7.20.0",
|
2023-03-31 20:17:26 +02:00
|
|
|
|
"@did-plc/server": "^0.0.1",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"@expo/config-plugins": "7.8.0",
|
|
|
|
|
"@expo/prebuild-config": "6.7.0",
|
2023-11-09 19:04:16 +01:00
|
|
|
|
"@lingui/cli": "^4.5.0",
|
|
|
|
|
"@lingui/macro": "^4.5.0",
|
2023-09-05 20:13:42 +02:00
|
|
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
2023-01-18 03:40:02 +01:00
|
|
|
|
"@react-native-community/eslint-config": "^3.0.0",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"@react-native/typescript-config": "^0.74.0",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"@testing-library/jest-native": "^5.4.1",
|
|
|
|
|
"@testing-library/react-native": "^11.5.2",
|
2023-01-26 19:12:27 +01:00
|
|
|
|
"@tsconfig/react-native": "^2.0.3",
|
2022-11-29 16:29:57 +01:00
|
|
|
|
"@types/he": "^1.1.2",
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"@types/jest": "^29.4.0",
|
2022-11-08 22:56:22 +01:00
|
|
|
|
"@types/lodash.chunk": "^4.2.7",
|
2023-03-14 19:03:43 +01:00
|
|
|
|
"@types/lodash.debounce": "^4.0.7",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"@types/lodash.isequal": "^4.5.6",
|
2022-07-20 22:00:37 +02:00
|
|
|
|
"@types/lodash.omit": "^4.5.7",
|
2023-08-03 19:25:17 +02:00
|
|
|
|
"@types/lodash.once": "^4.1.7",
|
2023-09-18 20:44:29 +02:00
|
|
|
|
"@types/lodash.random": "^3.2.7",
|
2023-03-03 22:37:17 +01:00
|
|
|
|
"@types/lodash.samplesize": "^4.2.7",
|
2023-04-19 22:58:24 +02:00
|
|
|
|
"@types/lodash.set": "^4.3.7",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"@types/lodash.shuffle": "^4.2.7",
|
2023-10-02 23:47:39 +02:00
|
|
|
|
"@types/psl": "^1.1.1",
|
2023-01-27 22:51:24 +01:00
|
|
|
|
"@types/react-avatar-editor": "^13.0.0",
|
2024-01-22 23:46:32 +01:00
|
|
|
|
"@types/react-dom": "^18.2.18",
|
2023-04-13 03:27:55 +02:00
|
|
|
|
"@types/react-responsive": "^8.0.5",
|
2022-06-08 00:50:05 +02:00
|
|
|
|
"@types/react-test-renderer": "^17.0.1",
|
2023-01-19 19:28:52 +01:00
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
|
|
|
"@typescript-eslint/parser": "^5.48.2",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"babel-jest": "^29.7.0",
|
2023-01-26 19:12:27 +01:00
|
|
|
|
"babel-loader": "^9.1.2",
|
2023-11-09 19:04:16 +01:00
|
|
|
|
"babel-plugin-macros": "^3.1.0",
|
2023-01-26 19:12:27 +01:00
|
|
|
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
|
|
|
"babel-plugin-react-native-web": "^0.18.12",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"babel-preset-expo": "^10.0.0",
|
2024-01-05 02:33:57 +01:00
|
|
|
|
"detox": "^20.14.8",
|
2023-01-18 03:40:02 +01:00
|
|
|
|
"eslint": "^8.19.0",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"eslint-plugin-detox": "^1.0.0",
|
|
|
|
|
"eslint-plugin-ft-flow": "^2.0.3",
|
2023-12-01 18:14:10 +01:00
|
|
|
|
"eslint-plugin-lingui": "^0.2.0",
|
2023-09-08 01:38:57 +02:00
|
|
|
|
"eslint-plugin-react": "^7.33.2",
|
2023-07-14 00:56:29 +02:00
|
|
|
|
"eslint-plugin-react-native-a11y": "^3.3.0",
|
2023-01-26 19:12:27 +01:00
|
|
|
|
"html-webpack-plugin": "^5.5.0",
|
2023-07-14 00:35:05 +02:00
|
|
|
|
"husky": "^8.0.3",
|
2023-07-14 00:55:30 +02:00
|
|
|
|
"is-ci": "^3.0.1",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"jest": "^29.7.0",
|
|
|
|
|
"jest-expo": "^50.0.1",
|
2023-01-19 19:28:52 +01:00
|
|
|
|
"jest-junit": "^15.0.0",
|
2023-07-14 00:35:05 +02:00
|
|
|
|
"lint-staged": "^13.2.3",
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"metro-react-native-babel-preset": "^0.73.7",
|
2023-01-19 19:28:52 +01:00
|
|
|
|
"prettier": "^2.8.3",
|
2022-06-16 00:40:18 +02:00
|
|
|
|
"react-native-dotenv": "^3.3.1",
|
2023-09-05 20:13:42 +02:00
|
|
|
|
"react-refresh": "^0.14.0",
|
2022-06-08 22:52:12 +02:00
|
|
|
|
"react-scripts": "^5.0.1",
|
2023-01-18 03:40:02 +01:00
|
|
|
|
"react-test-renderer": "18.2.0",
|
2023-03-31 20:17:26 +02:00
|
|
|
|
"ts-node": "^10.9.1",
|
2023-12-24 00:44:38 +01:00
|
|
|
|
"typescript": "^5.3.3",
|
2023-01-26 19:12:27 +01:00
|
|
|
|
"url-loader": "^4.1.1",
|
|
|
|
|
"webpack": "^5.75.0",
|
|
|
|
|
"webpack-cli": "^5.0.1",
|
2023-09-06 18:36:45 +02:00
|
|
|
|
"webpack-dev-server": "^4.11.1"
|
2022-06-08 00:50:05 +02:00
|
|
|
|
},
|
|
|
|
|
"resolutions": {
|
2023-10-11 01:23:12 +02:00
|
|
|
|
"@types/react": "^18",
|
2023-10-11 18:04:06 +02:00
|
|
|
|
"**/zeed-dom": "0.10.9"
|
2022-06-08 00:50:05 +02:00
|
|
|
|
},
|
|
|
|
|
"jest": {
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"preset": "jest-expo/ios",
|
2023-01-03 04:39:15 +01:00
|
|
|
|
"setupFilesAfterEnv": [
|
2023-03-13 22:01:43 +01:00
|
|
|
|
"./jest/jestSetup.js",
|
2023-01-03 04:39:15 +01:00
|
|
|
|
"@testing-library/jest-native/extend-expect"
|
|
|
|
|
],
|
2022-06-08 00:50:05 +02:00
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
|
"ts",
|
|
|
|
|
"tsx",
|
|
|
|
|
"js",
|
|
|
|
|
"jsx",
|
|
|
|
|
"json",
|
|
|
|
|
"node"
|
2022-06-08 01:56:31 +02:00
|
|
|
|
],
|
2023-11-02 00:15:40 +01:00
|
|
|
|
"transform": {
|
|
|
|
|
"\\.[jt]sx?$": "babel-jest"
|
|
|
|
|
},
|
2022-06-08 01:56:31 +02:00
|
|
|
|
"transformIgnorePatterns": [
|
2023-11-03 22:34:14 +01:00
|
|
|
|
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|nanoid|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|normalize-url|react-native-svg|@sentry/.*|sentry-expo|bcp-47-match)"
|
2022-12-22 16:32:39 +01:00
|
|
|
|
],
|
2023-01-20 00:36:49 +01:00
|
|
|
|
"modulePathIgnorePatterns": [
|
2023-02-22 21:23:57 +01:00
|
|
|
|
"__tests__/.*/__mocks__",
|
2023-04-03 19:11:06 +02:00
|
|
|
|
"__e2e__/.*"
|
2023-01-20 00:36:49 +01:00
|
|
|
|
],
|
2022-12-22 16:32:39 +01:00
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
|
"<rootDir>/node_modules/",
|
|
|
|
|
"<rootDir>/src/platform",
|
|
|
|
|
"<rootDir>/src/third-party",
|
2023-01-17 17:06:00 +01:00
|
|
|
|
"<rootDir>/src/view/com/util",
|
|
|
|
|
"<rootDir>/src/state/lib",
|
2022-12-22 16:32:39 +01:00
|
|
|
|
"<rootDir>/__tests__/test-utils.js"
|
2023-01-19 19:28:52 +01:00
|
|
|
|
],
|
2023-01-20 00:36:49 +01:00
|
|
|
|
"reporters": [
|
|
|
|
|
"default",
|
|
|
|
|
"jest-junit"
|
|
|
|
|
]
|
2022-06-08 22:52:12 +02:00
|
|
|
|
},
|
|
|
|
|
"browserslist": {
|
|
|
|
|
"production": [
|
|
|
|
|
">0.2%",
|
|
|
|
|
"not dead",
|
|
|
|
|
"not op_mini all"
|
|
|
|
|
],
|
|
|
|
|
"development": [
|
|
|
|
|
"last 1 chrome version",
|
|
|
|
|
"last 1 firefox version",
|
|
|
|
|
"last 1 safari version"
|
|
|
|
|
]
|
2023-07-14 00:35:05 +02:00
|
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
2023-09-07 03:06:07 +02:00
|
|
|
|
"*{.js,.jsx,.ts,.tsx}": "yarn eslint --fix"
|
2022-06-08 00:50:05 +02:00
|
|
|
|
}
|
|
|
|
|
}
|