2022-06-08 00:50:05 +02:00
|
|
|
{
|
2022-11-05 21:07:28 +01:00
|
|
|
"name": "bsky.app",
|
2023-09-12 03:23:40 +02:00
|
|
|
"version": "1.50.0",
|
2022-06-08 00:50:05 +02:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2023-07-14 00:55:30 +02:00
|
|
|
"prepare": "is-ci || husky install",
|
2023-03-17 01:09:19 +01:00
|
|
|
"postinstall": "patch-package",
|
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",
|
2023-05-11 22:22:56 +02:00
|
|
|
"build-web": "expo export:web && node ./scripts/post-web-build.js && cp --verbose ./web-build/static/js/*.* ./bskyweb/static/js/",
|
2023-03-13 22:01:43 +01:00
|
|
|
"start": "expo start --dev-client",
|
2022-11-11 22:02:19 +01:00
|
|
|
"clean-cache": "rm -rf node_modules/.cache/babel-loader/*",
|
2023-02-22 21:23:57 +01:00
|
|
|
"test": "jest --forceExit --testTimeout=20000 --bail",
|
2023-01-19 19:53:11 +01:00
|
|
|
"test-watch": "jest --watchAll",
|
2023-01-19 19:28:52 +01:00
|
|
|
"test-ci": "jest --ci --forceExit --reporters=default --reporters=jest-junit",
|
|
|
|
"test-coverage": "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",
|
2023-03-31 20:17:26 +02:00
|
|
|
"e2e:mock-server": "ts-node __e2e__/mock-server.ts",
|
|
|
|
"e2e:metro": "RN_SRC_EXT=e2e.ts,e2e.tsx expo run:ios",
|
|
|
|
"e2e:build": "detox build -c ios.sim.debug",
|
2023-09-15 01:06:25 +02:00
|
|
|
"e2e:run": "detox test --configuration ios.sim.debug --take-screenshots all",
|
|
|
|
"build:apk": "eas build -p android --profile dev-android-apk"
|
2022-06-08 00:50:05 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-09-11 23:28:02 +02:00
|
|
|
"@atproto/api": "^0.6.12",
|
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-06-14 23:35:06 +02:00
|
|
|
"@gorhom/bottom-sheet": "^4.4.7",
|
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-09-05 21:23:22 +02:00
|
|
|
"@react-native-async-storage/async-storage": "1.18.2",
|
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-09-05 21:23:22 +02:00
|
|
|
"@react-native-community/datetimepicker": "7.2.0",
|
2023-07-28 23:00:37 +02:00
|
|
|
"@react-native-menu/menu": "^0.8.0",
|
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-09-05 21:23:22 +02:00
|
|
|
"@sentry/react-native": "5.5.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",
|
|
|
|
"@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-02-22 21:23:57 +01:00
|
|
|
"await-lock": "^2.2.2",
|
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",
|
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",
|
2023-09-05 21:23:22 +02:00
|
|
|
"expo": "^49.0.8",
|
|
|
|
"expo-application": "~5.3.0",
|
|
|
|
"expo-build-properties": "~0.8.3",
|
|
|
|
"expo-camera": "13.5.1",
|
|
|
|
"expo-constants": "~14.4.2",
|
|
|
|
"expo-dev-client": "2.4.7",
|
|
|
|
"expo-device": "~5.4.0",
|
|
|
|
"expo-image": "~1.3.2",
|
|
|
|
"expo-image-manipulator": "~11.3.0",
|
|
|
|
"expo-image-picker": "~14.3.2",
|
|
|
|
"expo-localization": "~14.3.0",
|
|
|
|
"expo-media-library": "~15.4.1",
|
|
|
|
"expo-notifications": "~0.20.1",
|
|
|
|
"expo-sharing": "~11.5.0",
|
|
|
|
"expo-splash-screen": "~0.20.5",
|
|
|
|
"expo-status-bar": "~1.6.0",
|
|
|
|
"expo-system-ui": "~2.4.0",
|
|
|
|
"expo-updates": "~0.18.12",
|
2023-03-31 20:17:26 +02:00
|
|
|
"fast-text-encoding": "^1.0.6",
|
|
|
|
"graphemer": "^1.4.0",
|
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-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-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",
|
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-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",
|
2023-09-05 21:23:22 +02:00
|
|
|
"react-native": "0.72.4",
|
2022-11-17 19:33:19 +01:00
|
|
|
"react-native-appstate-hook": "^1.0.6",
|
2023-05-16 22:41:14 +02:00
|
|
|
"react-native-draggable-flatlist": "^4.0.1",
|
2023-03-13 22:01:43 +01:00
|
|
|
"react-native-drawer-layout": "^3.2.0",
|
2023-01-18 21:47:42 +01:00
|
|
|
"react-native-fs": "^2.20.0",
|
2023-08-18 03:30:08 +02:00
|
|
|
"react-native-gesture-handler": "^2.12.1",
|
2023-03-20 01:02:55 +01:00
|
|
|
"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",
|
2022-06-15 03:29:24 +02:00
|
|
|
"react-native-inappbrowser-reborn": "^3.6.3",
|
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",
|
2023-04-10 03:02:44 +02:00
|
|
|
"react-native-pager-view": "6.1.4",
|
2023-03-13 22:01:43 +01:00
|
|
|
"react-native-progress": "bluesky-social/react-native-progress",
|
2023-08-18 02:47:10 +02:00
|
|
|
"react-native-reanimated": "^3.4.2",
|
2022-07-26 01:31:42 +02:00
|
|
|
"react-native-root-siblings": "^4.1.1",
|
2023-09-05 21:23:22 +02:00
|
|
|
"react-native-safe-area-context": "4.6.3",
|
|
|
|
"react-native-screens": "~3.22.0",
|
2022-11-05 20:52:44 +01:00
|
|
|
"react-native-splash-screen": "^3.3.0",
|
2023-09-05 21:23:22 +02:00
|
|
|
"react-native-svg": "13.9.0",
|
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-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-09-05 21:23:22 +02:00
|
|
|
"sentry-expo": "~7.0.0",
|
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",
|
2023-01-24 16:06:27 +01:00
|
|
|
"zod": "^3.20.2"
|
2022-06-08 00:50:05 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-08-10 02:34:16 +02:00
|
|
|
"@atproto/dev-env": "^0.2.3",
|
2023-06-28 03:55:46 +02:00
|
|
|
"@atproto/pds": "^0.2.0-beta.2",
|
2023-02-22 21:23:57 +01:00
|
|
|
"@babel/core": "^7.20.0",
|
|
|
|
"@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-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-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-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-01-27 22:51:24 +01:00
|
|
|
"@types/react-avatar-editor": "^13.0.0",
|
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-03-13 22:01:43 +01:00
|
|
|
"babel-jest": "^29.4.2",
|
2023-01-26 19:12:27 +01:00
|
|
|
"babel-loader": "^9.1.2",
|
|
|
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
|
|
"babel-plugin-react-native-web": "^0.18.12",
|
2023-08-18 03:09:18 +02:00
|
|
|
"detox": "^20.11.3",
|
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-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-02-27 17:44:42 +01:00
|
|
|
"jest": "^29.4.3",
|
2023-09-05 21:23:22 +02:00
|
|
|
"jest-expo": "^49.0.0",
|
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-09-05 21:23:22 +02:00
|
|
|
"typescript": "^5.1.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-09-06 18:36:45 +02:00
|
|
|
"@types/react": "^18"
|
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
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
2023-06-23 19:48:52 +02:00
|
|
|
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@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
|
|
|
}
|
|
|
|
}
|