/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
shared/package.json
228 строк
12 KB
chrisnojima
fix(chat): dataKey instead of thread remount; legend-list 3.3.5, drop patch (#29526)
8 часов назад
Не верифицирован
8 часов назад
ad1feed
Код
Авторство
О чём код?
{ "name": "keybase", "version": "1.0.1", "description": "", "scripts": { "_helper": "node desktop/yarn-helper/index.mts", "android:adb:install": "adb install -r -d android/app/build/outputs/apk/debug/app-debug.apk", "android:adb:install:unsigned": "adb install -r -d android/app/build/outputs/apk/releaseUnsigned/app-releaseUnsigned.apk", "android:bundle:dev": "curl -o ~/Desktop/bundle.dev.js 'http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=io.keybase.ossifrage&modulesOnly=false&runModule=true'", "android:bundle:prod": "curl -o ~/Desktop/bundle.prod.js 'http://localhost:8081/index.bundle?platform=android&dev=false&minify=false&app=io.keybase.ossifrage&modulesOnly=false&runModule=true'", "android:bundle:profile": "NODE_OPTIONS=--no-experimental-fetch npx react-native profile-hermes ~/Desktop/", "android:clean": "cd android; rm -rf build; rm -rf app/.cxx ; ./gradlew clean", "android:debug": "NODE_ENV=development ./scripts/android-debug.sh", "android:gobuild": "./react-native/gobuild.sh android && yarn postinstall", "android:jsbundle": "mkdir -p android/dist && react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/dist/main.jsbundle --sourcemap-output android/dist/main.jsbundle.sourcemap", "android:logs:clear": "adb logcat -b all -c", "android:logs:dump": "adb logcat -d --pid=$(adb shell pidof io.keybase.ossifrage)", "android:logs:live": "adb logcat | grep $(adb shell pidof io.keybase.ossifrage)", "android:unsigned": "npx expo run:android --variant releaseUnsigned", "coverage": "rm -rf coverage-ts; npx typescript-coverage-report@0.8.0", "desktop:build:dev": "yarn run _helper build:dev", "desktop:build:prod": "yarn run _helper build:prod", "desktop:build:profile": "yarn run _helper build:profile", "desktop:log:to-trace": "node desktop/yarn-helper/log-to-trace.mts", "desktop:package": "yarn run _helper package", "desktop:profile": "yarn run _helper profile", "desktop:start": "yarn run _helper start", "desktop:start:cold": "yarn run _helper start:cold", "desktop:start:hot": "yarn run _helper start:hot", "desktop:start:hot:debug": "KB_ENABLE_REMOTE_DEBUG=1 yarn run _helper start:hot", "desktop:start:hot:e2e": "KB_ENABLE_REMOTE_DEBUG=1 KB_E2E_TEST=1 yarn run _helper start:hot", "desktop:start:prod": "yarn run _helper start:prod", "desktop:start:profile": "yarn run _helper start:profile", "font:build-android": "python3 tools/fonts/font_tool.py build-text --manifest fonts/manifest.json --platform android", "font:build-icon": "python3 tools/fonts/font_tool.py build-icon --manifest fonts/manifest.json", "font:build-icon-android": "python3 tools/fonts/font_tool.py build-icon --manifest fonts/manifest.json --platform android", "font:build-text": "python3 tools/fonts/font_tool.py build-text --manifest fonts/manifest.json", "font:diff-metrics": "python3 tools/fonts/font_tool.py diff-metrics", "font:inspect": "python3 tools/fonts/font_tool.py inspect", "font:snapshot-metrics": "python3 tools/fonts/font_tool.py snapshot-metrics --manifest fonts/manifest.json --output fonts/metrics.json", "font:verify-text": "python3 tools/fonts/font_tool.py verify-text --manifest fonts/manifest.json --metrics fonts/metrics.json", "gen:emoji": "node common-adapters/markdown/generate-emoji-parser.mts && cd ../go; go run ./chat/emoji/main.go -i ../shared/node_modules/emoji-datasource-apple/emoji.json -o ../go/chat/storage/emoji_codemap.go", "gen:icon-constants": "yarn run _helper update:icon-constants", "gen:protocol": "cd ../protocol && make clean && make", "help": "yarn run _helper help", "ios:gobuild": "./react-native/gobuild.sh ios", "ios:jsbundle": "mkdir -p ios/dist && react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output ios/dist/main.jsbundle --sourcemap-output ios/dist/main.jsbundle.sourcemap", "ios:pod:clean": "pod cache clean --all ; rm -rf ios/build; rm -rf ios/Pods; rm -f ios/.xcode.env.local; rm -rf ../rnmodules/react-native-kb/node_modules; ./react-native/write-xcode-env-local.sh", "ios:pod:install": "cd ios; pod install --repo-update", "ios:sim:push-chat": "bash tools/sim-push-chat.sh", "lint": "yarn run lint:specific .", "lint:all": "yarn lint && yarn lint:bailouts && yarn tsc", "lint:bailouts": "node --experimental-strip-types scripts/react-compiler-bailouts.mts --check .", "lint:daemon": "eslint_d --cache .", "lint:specific": "eslint --cache --quiet ", "lint:warn": "eslint .", "modules": "yarn install --pure-lockfile --ignore-scripts && yarn postinstall", "perf:compare": "node perf/compare-perf.js", "perf:inbox:desktop": "node perf/run-desktop-perf.js --flow inbox", "perf:inbox:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh --flow performance/perf-inbox-scroll.yaml", "perf:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh", "perf:teams:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh --flow performance/perf-teams-scroll.yaml", "perf:thread:desktop": "node perf/run-desktop-perf.js --flow thread", "perf:thread:ios": "MAESTRO_CLI_NO_ANALYTICS=1 ./perf/run-maestro.sh --flow performance/perf-thread-scroll.yaml", "postinstall": "yarn run _helper postinstall", "rn:log": "tail -f .expo/dev/logs/start.log", "rn:start": "npx expo start --clear 2>&1", "rn:start:legacy": "./react-native/packageAndBuild.sh", "storybook": "storybook dev -p 6006 --config-dir .storybook", "storybook:screenshot": "node --experimental-strip-types scripts/screenshot-storybook.mts", "sync:kb-modules": "yarn run _helper sync-local-rnmodules", "test:e2e:desktop": "playwright test --config tests/e2e/electron/playwright.config.ts", "test:e2e:desktop:branch": "playwright test --config tests/e2e/electron/playwright.config.ts tests/e2e/electron/flows/team-member.test.ts && yarn test:e2e:desktop:report", "test:e2e:desktop:flows": "playwright test --config tests/e2e/electron/playwright.config.ts --project=electron-flows", "test:e2e:desktop:rpc": "yarn test:e2e:desktop:flows tests/e2e/electron/flows/teams-browse.test.ts tests/e2e/electron/flows/teams-inner.test.ts tests/e2e/electron/flows/teams-modals.test.ts tests/e2e/electron/flows/team-member.test.ts tests/e2e/electron/flows/team-wizard-channel.test.ts tests/e2e/electron/flows/chat-interactions.test.ts", "test:e2e:desktop:report": "node tests/e2e/generate-electron-report.mts && open tests/results/electron-report.html", "test:e2e:desktop:save-baseline": "node tests/e2e/generate-electron-report.mts --save-baseline", "test:e2e:ios": "bash tests/e2e/run-ios-appium-parallel.sh", "test:e2e:ios:iphone": "bash tests/e2e/run-ios-appium.sh iPhoneTest", "test:e2e:ios:ipad": "bash tests/e2e/run-ios-appium.sh iPadTest", "test:e2e:ios:iphone-old": "bash tests/e2e/run-ios-appium.sh iPhoneTestOld", "test:e2e:ios:ipad-old": "bash tests/e2e/run-ios-appium.sh iPadTestOld", "test:e2e:ios:report": "node tests/e2e/generate-appium-report.mts && open tests/results/ios-appium-report.html", "test:e2e:android": "bash tests/e2e/run-android-appium.sh", "test:e2e:android:report": "node tests/e2e/generate-appium-report.mts android && open tests/results/android-appium-report.html", "test:unit": "napi-postinstall unrs-resolver 1.11.1 check; jest --runInBand", "test:unit:ios": "xcodebuild test -project ./ios/Keybase.xcodeproj -scheme 'Keybase For Test' -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.3'", "tsc": "./node_modules/typescript-native/bin/tsc --project ./tsconfig.desktop.json && ./node_modules/typescript-native/bin/tsc --project ./tsconfig.native.json" }, "keywords": [], "author": "", "license": "MIT", "private": true, "dependencies": { "@callstack/liquid-glass": "0.8.0", "@gorhom/bottom-sheet": "5.2.14", "@gorhom/portal": "1.0.14", "@khanacademy/simple-markdown": "3.0.0", "@legendapp/list": "3.3.5", "@msgpack/msgpack": "3.1.3", "@react-native-community/netinfo": "12.0.1", "@react-native-masked-view/masked-view": "0.3.2", "@react-native-picker/picker": "2.11.4", "@react-navigation/bottom-tabs": "8.0.0-alpha.48", "@react-navigation/core": "8.0.0-alpha.33", "@react-navigation/native": "8.0.0-alpha.42", "@react-navigation/native-stack": "8.0.0-alpha.50", "date-fns": "4.4.0", "emoji-datasource-apple": "16.0.0", "emoji-regex": "10.6.0", "expo": "57.0.12", "expo-asset": "57.0.10", "expo-audio": "57.0.3", "expo-camera": "57.0.3", "expo-clipboard": "57.0.1", "expo-contacts": "57.0.3", "expo-document-picker": "57.0.1", "expo-file-system": "57.0.2", "expo-haptics": "57.0.1", "expo-image": "57.0.2", "expo-image-picker": "57.0.9", "expo-localization": "57.0.1", "expo-location": "57.0.9", "expo-mail-composer": "57.0.1", "expo-media-library": "57.0.3", "expo-screen-capture": "57.0.1", "expo-sms": "57.0.1", "expo-task-manager": "57.0.9", "expo-video": "57.0.2", "google-libphonenumber": "3.2.46", "immer": "11.1.16", "lodash": "4.18.1", "lottie-react-native": "7.4.0", "lottie-web": "5.13.0", "menubar": "9.5.3", "react": "19.2.3", "react-dom": "19.2.3", "react-native": "0.86.2", "react-native-gesture-handler": "3.1.0", "react-native-kb": "file:../rnmodules/react-native-kb", "react-native-keyboard-controller": "1.22.3", "react-native-reanimated": "4.5.3", "react-native-safe-area-context": "5.8.1", "react-native-screens": "4.27.0", "react-native-web": "0.21.2", "react-native-webview": "16.0.0", "react-native-worklets": "0.11.3", "zustand": "5.0.14" }, "devDependencies": { "@babel/core": "7.29.7", "@babel/preset-env": "7.29.7", "@babel/preset-react": "7.29.7", "@babel/preset-typescript": "7.29.7", "@electron/packager": "20.2.0", "@eslint/compat": "2.1.0", "@eslint/js": "10.0.1", "@playwright/test": "1.62.1", "@react-native-community/cli": "20.2.0", "@react-native-community/cli-platform-android": "20.2.0", "@react-native-community/cli-platform-ios": "20.2.0", "@react-native/babel-preset": "0.86.2", "@react-native/eslint-config": "0.86.2", "@react-native/metro-config": "0.86.2", "@rolldown/plugin-babel": "0.2.3", "@storybook/react": "10.5.7", "@storybook/react-vite": "10.5.7", "@testing-library/dom": "10.4.1", "@testing-library/react": "16.3.2", "@types/google-libphonenumber": "7.4.31", "@types/jest": "30.0.0", "@types/lodash": "4.17.25", "@types/lodash-es": "4.17.12", "@types/mocha": "10.0.10", "@types/react": "19.2.18", "@types/react-dom": "19.2.3", "@vitejs/plugin-react": "6.0.5", "@wdio/appium-service": "9.30.1", "@wdio/cli": "9.30.1", "@wdio/globals": "9.29.1", "@wdio/local-runner": "9.30.1", "@wdio/mocha-framework": "9.30.1", "@wdio/spec-reporter": "9.30.1", "appium": "3.6.0", "babel-jest": "30.4.1", "babel-plugin-module-resolver": "5.0.3", "babel-plugin-react-compiler": "1.0.0", "babel-plugin-react-native-web": "0.21.2", "babel-preset-expo": "57.0.6", "cross-env": "10.1.0", "electron": "43.3.0", "eslint": "10.8.1", "eslint-plugin-deprecation": "3.0.0", "eslint-plugin-promise": "7.3.0", "eslint-plugin-react": "7.37.5", "eslint-plugin-react-compiler": "19.1.0-rc.2", "eslint-plugin-react-hooks": "7.1.1", "jest": "30.4.2", "jest-environment-jsdom": "30.4.1", "patch-package": "8.0.1", "react-refresh": "0.18.0", "storybook": "10.5.7", "typescript": "6.0.3", "typescript-eslint": "8.67.0", "typescript-native": "npm:typescript@7.0.2", "vite": "8.2.1", "webdriverio": "9.30.1" }, "resolutions": { "**/@types/react": "19.2.18", "**/serialize-javascript": "7.1.0", "**/xcode/uuid": "14.0.1" }, "typecoverage": { "detail": true, "strict": true }, "expo": { "autolinking": { "exclude": [] } }, "worklets": { "staticFeatureFlags": { "BUNDLE_MODE_ENABLED": true } } }