2022-06-08 00:50:05 +02:00
|
|
|
{
|
2022-11-05 21:07:28 +01:00
|
|
|
"name": "bsky.app",
|
2024-06-14 18:59:02 +02:00
|
|
|
"version": "1.87.0",
|
2022-06-08 00:50:05 +02:00
|
|
|
"private": true,
|
2023-12-24 00:44:38 +01:00
|
|
|
"engines": {
|
|
|
|
"node": ">=18"
|
|
|
|
},
|
2024-03-21 17:00:36 +01:00
|
|
|
"packageManager": "yarn@1.22.19",
|
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-04-04 00:14:44 +02:00
|
|
|
"use-build-number-with-bump": "./scripts/useBuildNumberEnvWithBump.sh",
|
2024-05-01 09:59:40 +02:00
|
|
|
"build-web": "expo export:web && node ./scripts/post-web-build.js && cp -v ./web-build/static/js/*.* ./bskyweb/static/js/ && cp -v ./web-build/static/media/*.png ./bskyweb/static/media/",
|
2024-04-04 00:14:44 +02:00
|
|
|
"build-all": "yarn intl:build && yarn use-build-number-with-bump eas build --platform all",
|
|
|
|
"build-ios": "yarn use-build-number-with-bump eas build -p ios",
|
|
|
|
"build-android": "yarn use-build-number-with-bump eas build -p android",
|
|
|
|
"build": "yarn use-build-number-with-bump eas build",
|
2024-04-13 21:20:06 +02:00
|
|
|
"build-embed": "cd bskyembed && yarn build && yarn build-snippet && cd .. && node ./scripts/post-embed-build.js",
|
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",
|
2024-04-03 04:05:53 +02:00
|
|
|
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx src",
|
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",
|
2024-05-13 17:43:13 +02:00
|
|
|
"e2e:metro": "EXPO_PUBLIC_ENV=e2e NODE_ENV=test RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
|
|
|
|
"e2e:run": "maestro test __e2e__",
|
2023-11-03 22:34:14 +01:00
|
|
|
"perf:test": "NODE_ENV=test maestro test",
|
2024-05-13 17:43:13 +02:00
|
|
|
"perf:test:run": "NODE_ENV=test maestro test __e2e__/perf-test.yml",
|
2024-04-05 17:27:22 +02:00
|
|
|
"perf:test:measure": "NODE_ENV=test flashlight test --bundleId xyz.blueskyweb.app --testCommand \"yarn perf:test\" --duration 150000 --resultsFilePath .perf/results.json",
|
2023-11-03 22:34:14 +01:00
|
|
|
"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-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",
|
2024-03-19 19:18:22 +01:00
|
|
|
"update-extensions": "bash scripts/updateExtensions.sh",
|
2024-04-04 04:31:29 +02:00
|
|
|
"export": "npx expo export",
|
|
|
|
"make-deploy-bundle": "bash scripts/bundleUpdate.sh",
|
|
|
|
"generate-webpack-stats-file": "EXPO_PUBLIC_GENERATE_STATS=1 yarn build-web",
|
|
|
|
"open-analyzer": "EXPO_PUBLIC_OPEN_ANALYZER=1 yarn build-web"
|
2022-06-08 00:50:05 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-06-18 20:48:34 +02:00
|
|
|
"@atproto/api": "^0.12.19",
|
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",
|
2024-04-30 01:13:41 +02:00
|
|
|
"@discord/bottom-sheet": "bluesky-social/react-native-bottom-sheet",
|
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",
|
2024-04-13 00:01:32 +02:00
|
|
|
"@floating-ui/dom": "^1.6.3",
|
|
|
|
"@floating-ui/react-dom": "^2.0.8",
|
2024-05-07 01:55:57 +02:00
|
|
|
"@formatjs/intl-locale": "^3.4.3",
|
|
|
|
"@formatjs/intl-pluralrules": "^5.2.10",
|
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",
|
2024-05-30 16:57:56 +02:00
|
|
|
"@fortawesome/react-native-fontawesome": "^0.3.2",
|
2023-11-09 19:04:16 +01:00
|
|
|
"@lingui/react": "^4.5.0",
|
2024-05-29 03:15:35 +02:00
|
|
|
"@mattermost/react-native-paste-input": "^0.7.1",
|
2023-08-31 00:21:12 +02:00
|
|
|
"@miblanchard/react-native-slider": "^2.3.1",
|
2024-03-06 04:15:42 +01:00
|
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
2024-04-08 17:24:59 +02:00
|
|
|
"@react-native-async-storage/async-storage": "1.23.1",
|
2023-12-24 00:44:38 +01:00
|
|
|
"@react-native-masked-view/masked-view": "0.3.0",
|
2024-05-29 06:02:49 +02:00
|
|
|
"@react-native-menu/menu": "^1.1.0",
|
2024-01-13 02:40:04 +01:00
|
|
|
"@react-native-picker/picker": "2.6.1",
|
2024-05-29 03:38:52 +02:00
|
|
|
"@react-navigation/bottom-tabs": "^6.5.20",
|
|
|
|
"@react-navigation/drawer": "^6.6.15",
|
|
|
|
"@react-navigation/native": "^6.1.17",
|
|
|
|
"@react-navigation/native-stack": "^6.9.26",
|
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",
|
2024-03-18 20:46:28 +01:00
|
|
|
"@tanstack/query-async-storage-persister": "^5.25.0",
|
2023-11-11 00:34:25 +01:00
|
|
|
"@tanstack/react-query": "^5.8.1",
|
2024-03-18 20:46:28 +01:00
|
|
|
"@tanstack/react-query-persist-client": "^5.25.0",
|
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",
|
2024-03-21 01:26:38 +01:00
|
|
|
"@types/invariant": "^2.2.37",
|
2024-05-07 04:08:33 +02:00
|
|
|
"@types/lodash.throttle": "^4.1.9",
|
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",
|
2024-05-29 03:15:35 +02:00
|
|
|
"deprecated-react-native-prop-types": "^5.0.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-05-29 03:15:35 +02:00
|
|
|
"expo": "^51.0.8",
|
|
|
|
"expo-application": "^5.9.1",
|
|
|
|
"expo-build-properties": "^0.12.1",
|
2024-05-29 06:02:49 +02:00
|
|
|
"expo-camera": "~15.0.9",
|
|
|
|
"expo-clipboard": "^6.0.3",
|
2024-05-29 03:15:35 +02:00
|
|
|
"expo-dev-client": "^4.0.14",
|
2024-05-29 06:02:49 +02:00
|
|
|
"expo-device": "~6.0.2",
|
|
|
|
"expo-file-system": "^17.0.1",
|
|
|
|
"expo-haptics": "^13.0.1",
|
2024-05-29 03:15:35 +02:00
|
|
|
"expo-image": "~1.12.9",
|
2024-05-29 06:02:49 +02:00
|
|
|
"expo-image-manipulator": "^12.0.5",
|
|
|
|
"expo-image-picker": "~15.0.5",
|
2024-05-29 03:15:35 +02:00
|
|
|
"expo-linear-gradient": "^13.0.2",
|
|
|
|
"expo-linking": "^6.3.1",
|
|
|
|
"expo-localization": "~15.0.3",
|
|
|
|
"expo-media-library": "~16.0.3",
|
|
|
|
"expo-navigation-bar": "~3.0.4",
|
2024-06-08 04:17:00 +02:00
|
|
|
"expo-notifications": "~0.28.7",
|
2024-05-29 03:15:35 +02:00
|
|
|
"expo-sharing": "^12.0.1",
|
|
|
|
"expo-splash-screen": "~0.27.4",
|
|
|
|
"expo-status-bar": "~1.12.1",
|
|
|
|
"expo-system-ui": "~3.0.4",
|
|
|
|
"expo-task-manager": "~11.8.1",
|
2024-05-29 06:02:49 +02:00
|
|
|
"expo-updates": "~0.25.14",
|
2024-05-29 03:15:35 +02:00
|
|
|
"expo-web-browser": "~13.0.3",
|
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",
|
2024-05-07 04:08:33 +02:00
|
|
|
"lodash.throttle": "^4.1.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",
|
2024-05-22 19:46:45 +02:00
|
|
|
"react-compiler-runtime": "file:./lib/react-compiler-runtime",
|
2023-01-26 19:12:27 +01:00
|
|
|
"react-dom": "^18.2.0",
|
2024-03-06 04:15:42 +01:00
|
|
|
"react-keyed-flatten-children": "^3.0.0",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native": "0.74.1",
|
|
|
|
"react-native-date-picker": "^4.4.2",
|
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",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-gesture-handler": "~2.16.2",
|
2024-04-05 03:30:32 +02:00
|
|
|
"react-native-get-random-values": "~1.11.0",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-image-crop-picker": "0.40.3",
|
2023-07-28 23:00:37 +02:00
|
|
|
"react-native-ios-context-menu": "^1.15.3",
|
2024-05-20 04:25:49 +02:00
|
|
|
"react-native-keyboard-controller": "^1.12.1",
|
2024-01-13 02:40:04 +01:00
|
|
|
"react-native-pager-view": "6.2.3",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-picker-select": "^9.1.3",
|
2023-03-13 22:01:43 +01:00
|
|
|
"react-native-progress": "bluesky-social/react-native-progress",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-reanimated": "^3.11.0",
|
2022-07-26 01:31:42 +02:00
|
|
|
"react-native-root-siblings": "^4.1.1",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-safe-area-context": "4.10.1",
|
|
|
|
"react-native-screens": "~3.31.1",
|
2024-05-29 04:55:10 +02:00
|
|
|
"react-native-svg": "^15.3.0",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-uitextview": "^1.1.7",
|
2022-07-18 22:24:37 +02:00
|
|
|
"react-native-url-polyfill": "^1.3.0",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-uuid": "^2.0.2",
|
2024-05-11 06:37:23 +02:00
|
|
|
"react-native-view-shot": "^3.8.0",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-web": "~0.19.11",
|
2023-12-21 23:33:46 +01:00
|
|
|
"react-native-web-webview": "^1.0.2",
|
2024-05-29 03:15:35 +02:00
|
|
|
"react-native-webview": "13.10.2",
|
2023-04-13 03:27:55 +02:00
|
|
|
"react-responsive": "^9.0.2",
|
2024-05-01 21:42:11 +02:00
|
|
|
"react-textarea-autosize": "^8.5.3",
|
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",
|
2024-03-06 06:55:34 +01:00
|
|
|
"statsig-react-native-expo": "^4.6.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-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-04-16 21:34:34 +02:00
|
|
|
"@atproto/dev-env": "^0.3.5",
|
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",
|
2024-05-29 03:15:35 +02:00
|
|
|
"@react-native/typescript-config": "^0.74.1",
|
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",
|
2024-05-22 19:46:45 +02:00
|
|
|
"babel-plugin-react-compiler": "^0.0.0-experimental-592953e-20240517",
|
2023-01-26 19:12:27 +01:00
|
|
|
"babel-plugin-react-native-web": "^0.18.12",
|
2023-12-24 00:44:38 +01:00
|
|
|
"babel-preset-expo": "^10.0.0",
|
2023-01-18 03:40:02 +01:00
|
|
|
"eslint": "^8.19.0",
|
2024-04-04 18:32:50 +02:00
|
|
|
"eslint-plugin-bsky-internal": "link:./eslint",
|
2023-02-22 21:23:57 +01:00
|
|
|
"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",
|
2024-05-22 19:46:45 +02:00
|
|
|
"eslint-plugin-react-compiler": "^0.0.0-experimental-c8b3f72-20240517",
|
2023-07-14 00:56:29 +02:00
|
|
|
"eslint-plugin-react-native-a11y": "^3.3.0",
|
2024-03-12 22:57:56 +01:00
|
|
|
"eslint-plugin-simple-import-sort": "^12.0.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",
|
2024-05-29 03:15:35 +02:00
|
|
|
"metro-react-native-babel-preset": "^0.74.1",
|
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",
|
2024-04-04 04:31:29 +02:00
|
|
|
"webpack-bundle-analyzer": "^4.10.1",
|
2023-01-26 19:12:27 +01:00
|
|
|
"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",
|
2024-05-29 03:15:35 +02:00
|
|
|
"**/zeed-dom": "0.10.9",
|
2024-06-18 16:20:54 +02:00
|
|
|
"**/zod": "3.23.8",
|
2024-06-06 01:40:28 +02:00
|
|
|
"**/expo-constants": "16.0.1",
|
|
|
|
"**/expo-device": "6.0.2",
|
2024-05-29 03:15:35 +02:00
|
|
|
"@react-native/babel-preset": "0.74.1"
|
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": [
|
2024-05-08 04:34:35 +02:00
|
|
|
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|@discord|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": {
|
2024-04-02 07:58:31 +02:00
|
|
|
"*{.js,.jsx,.ts,.tsx}": [
|
|
|
|
"eslint --cache --fix",
|
|
|
|
"prettier --cache --write --ignore-unknown"
|
|
|
|
]
|
2022-06-08 00:50:05 +02:00
|
|
|
}
|
|
|
|
}
|