2017-08-03 18:23:43 +00:00
|
|
|
{
|
2021-09-13 20:41:05 +00:00
|
|
|
"name": "rocket-chat-reactnative",
|
2023-11-14 13:35:20 +00:00
|
|
|
"version": "4.43.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"start": "react-native start",
|
|
|
|
"test": "jest",
|
2022-08-19 19:53:40 +00:00
|
|
|
"test-update": "sb-rn-get-stories && jest --updateSnapshot",
|
2021-09-13 20:41:05 +00:00
|
|
|
"lint": "eslint . && tsc",
|
|
|
|
"prettier-lint": "prettier --write . && yarn lint",
|
|
|
|
"ci": "npm run precommit && codecov",
|
|
|
|
"ios": "npx react-native run-ios",
|
|
|
|
"android": "npx react-native run-android --variant=experimentalPlayDebug",
|
|
|
|
"android-whitelabel": "npx react-native run-android --main-activity chat.rocket.reactnative.MainActivity --variant=experimentalPlayDebug --appId",
|
|
|
|
"log-android": "react-native log-android",
|
|
|
|
"snyk-protect": "snyk protect",
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map",
|
2023-08-18 17:48:33 +00:00
|
|
|
"postinstall": "patch-package && jetify",
|
2022-05-02 19:21:15 +00:00
|
|
|
"prepare": "husky install",
|
2023-03-07 12:28:51 +00:00
|
|
|
"build-icon-set": "node scripts/build-icon-set.js",
|
|
|
|
"e2e:android-build-debug": "yarn detox build -c android.emu.debug",
|
|
|
|
"e2e:android-test-debug": "yarn detox test -c android.emu.debug",
|
|
|
|
"e2e:android-build": "yarn detox build -c android.emu.release",
|
|
|
|
"e2e:android-test": "yarn detox test -c android.emu.release",
|
|
|
|
"e2e:ios-build-debug": "yarn detox build -c ios.sim.debug",
|
|
|
|
"e2e:ios-test-debug": "yarn detox test -c ios.sim.debug",
|
|
|
|
"e2e:ios-build": "yarn detox build -c ios.sim.release",
|
2023-04-10 14:59:00 +00:00
|
|
|
"e2e:ios-test": "yarn detox test -c ios.sim.release",
|
|
|
|
"e2e:start": "RUNNING_E2E_TESTS=true npx react-native start"
|
2021-09-13 20:41:05 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,ts,tsx}": [
|
2021-09-14 20:22:26 +00:00
|
|
|
"prettier --write",
|
|
|
|
"eslint",
|
2023-06-23 19:39:49 +00:00
|
|
|
"jest --bail --findRelatedTests --passWithNoTests"
|
2021-09-13 20:41:05 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-08-18 17:48:33 +00:00
|
|
|
"@bugsnag/react-native": "^7.10.5",
|
2022-08-08 21:02:08 +00:00
|
|
|
"@codler/react-native-keyboard-aware-scroll-view": "^2.0.1",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@gorhom/bottom-sheet": "^4.3.1",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@hookform/resolvers": "^2.9.10",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@nozbe/watermelondb": "0.23.0",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@react-native-async-storage/async-storage": "^1.17.11",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@react-native-camera-roll/camera-roll": "5.6.1",
|
2022-03-29 16:09:44 +00:00
|
|
|
"@react-native-clipboard/clipboard": "^1.8.5",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@react-native-community/art": "^1.2.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@react-native-community/blur": "^4.1.0",
|
|
|
|
"@react-native-community/datetimepicker": "3.5.2",
|
|
|
|
"@react-native-community/hooks": "2.6.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@react-native-community/netinfo": "6.0.0",
|
|
|
|
"@react-native-community/picker": "^1.8.1",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@react-native-community/slider": "4.2.2",
|
2022-08-08 21:02:08 +00:00
|
|
|
"@react-native-cookies/cookies": "6.2.1",
|
|
|
|
"@react-native-firebase/analytics": "^14.11.0",
|
|
|
|
"@react-native-firebase/app": "^14.11.0",
|
|
|
|
"@react-native-firebase/crashlytics": "^14.11.0",
|
2022-11-24 11:37:08 +00:00
|
|
|
"@react-native-masked-view/masked-view": "^0.2.8",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@react-navigation/drawer": "6.4.1",
|
|
|
|
"@react-navigation/elements": "^1.3.6",
|
|
|
|
"@react-navigation/native": "6.0.10",
|
|
|
|
"@react-navigation/stack": "6.2.1",
|
2023-11-13 17:00:00 +00:00
|
|
|
"@rocket.chat/message-parser": "^0.31.26",
|
2022-02-10 12:37:22 +00:00
|
|
|
"@rocket.chat/sdk": "RocketChat/Rocket.Chat.js.SDK#mobile",
|
2022-11-24 11:37:08 +00:00
|
|
|
"@rocket.chat/ui-kit": "^0.31.19",
|
2021-09-13 20:41:05 +00:00
|
|
|
"bytebuffer": "^5.0.1",
|
|
|
|
"color2k": "1.2.4",
|
|
|
|
"commonmark": "git+https://github.com/RocketChat/commonmark.js.git",
|
|
|
|
"commonmark-react-renderer": "git+https://github.com/RocketChat/commonmark-react-renderer.git",
|
2022-11-16 13:26:37 +00:00
|
|
|
"dequal": "^2.0.3",
|
|
|
|
"ejson": "^2.2.3",
|
2023-08-18 17:48:33 +00:00
|
|
|
"expo": "^46.0.9",
|
|
|
|
"expo-apple-authentication": "4.2.1",
|
|
|
|
"expo-av": "11.2.3",
|
|
|
|
"expo-camera": "12.3.0",
|
|
|
|
"expo-file-system": "14.0.0",
|
|
|
|
"expo-haptics": "11.2.0",
|
|
|
|
"expo-keep-awake": "10.1.1",
|
|
|
|
"expo-local-authentication": "12.2.0",
|
|
|
|
"expo-video-thumbnails": "6.3.0",
|
|
|
|
"expo-web-browser": "10.2.1",
|
2021-09-13 20:41:05 +00:00
|
|
|
"hoist-non-react-statics": "3.3.2",
|
2022-06-03 20:53:39 +00:00
|
|
|
"i18n-js": "3.9.2",
|
2021-09-13 20:41:05 +00:00
|
|
|
"js-base64": "3.6.1",
|
|
|
|
"js-sha256": "^0.9.0",
|
2023-10-19 13:38:57 +00:00
|
|
|
"jsrsasign": "^10.8.6",
|
2021-09-13 20:41:05 +00:00
|
|
|
"lint-staged": "^11.1.0",
|
|
|
|
"lodash": "4.17.21",
|
2022-11-11 19:20:02 +00:00
|
|
|
"moment": "2.29.4",
|
2021-09-13 20:41:05 +00:00
|
|
|
"pretty-bytes": "5.6.0",
|
|
|
|
"prop-types": "15.7.2",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react": "17.0.2",
|
2022-08-26 19:16:45 +00:00
|
|
|
"react-hook-form": "^7.34.2",
|
2023-09-21 19:05:36 +00:00
|
|
|
"react-native": "RocketChat/react-native#6cf729c196f0f043ac6e7444e73f5a560d7a8a8a",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-animatable": "^1.3.3",
|
|
|
|
"react-native-background-timer": "2.4.1",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-bootsplash": "^4.3.3",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-config-reader": "^4.1.1",
|
|
|
|
"react-native-console-time-polyfill": "1.2.3",
|
2022-12-21 18:47:42 +00:00
|
|
|
"react-native-device-info": "^10.3.0",
|
2022-11-16 13:26:37 +00:00
|
|
|
"react-native-document-picker": "^8.1.2",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-easy-grid": "^0.2.2",
|
2023-10-03 12:58:12 +00:00
|
|
|
"react-native-easy-toast": "1.2.0",
|
2022-05-31 16:08:18 +00:00
|
|
|
"react-native-fast-image": "RocketChat/react-native-fast-image.git#bump-version",
|
2022-06-06 13:23:49 +00:00
|
|
|
"react-native-file-viewer": "^2.1.4",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-gesture-handler": "2.4.2",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-image-crop-picker": "RocketChat/react-native-image-crop-picker",
|
|
|
|
"react-native-image-progress": "^1.1.1",
|
2023-08-16 12:02:53 +00:00
|
|
|
"react-native-katex": "^0.5.1",
|
2022-11-24 11:37:08 +00:00
|
|
|
"react-native-linear-gradient": "^2.6.2",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-localize": "2.1.1",
|
2022-07-20 21:02:18 +00:00
|
|
|
"react-native-math-view": "^3.9.5",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-mime-types": "2.3.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-mmkv-storage": "^0.8.0",
|
2022-08-08 21:02:08 +00:00
|
|
|
"react-native-modal": "13.0.1",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-navigation-bar-color": "2.0.1",
|
2022-11-16 21:09:46 +00:00
|
|
|
"react-native-notifications": "^4.3.3",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-notifier": "1.6.1",
|
|
|
|
"react-native-orientation-locker": "1.1.8",
|
|
|
|
"react-native-picker-select": "^8.0.4",
|
|
|
|
"react-native-platform-touchable": "1.1.1",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-popover-view": "4.0.1",
|
2022-05-10 13:29:33 +00:00
|
|
|
"react-native-progress": "5.0.0",
|
2022-08-08 21:02:08 +00:00
|
|
|
"react-native-prompt-android": "^1.1.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-reanimated": "2.8.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-restart": "0.0.22",
|
|
|
|
"react-native-safe-area-context": "3.2.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-screens": "3.13.1",
|
2022-08-08 21:02:08 +00:00
|
|
|
"react-native-scrollable-tab-view": "ptomasroos/react-native-scrollable-tab-view",
|
2023-09-21 12:19:36 +00:00
|
|
|
"react-native-simple-crypto": "RocketChat/react-native-simple-crypto#0.5.2",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-skeleton-placeholder": "^5.2.3",
|
2021-09-13 20:41:05 +00:00
|
|
|
"react-native-slowlog": "^1.0.2",
|
2023-02-27 20:31:28 +00:00
|
|
|
"react-native-svg": "^13.8.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-ui-lib": "RocketChat/react-native-ui-lib#ef50151b8d9c1627ef527c620a1472868f9f4df8",
|
2023-09-18 19:25:05 +00:00
|
|
|
"react-native-url-polyfill": "^2.0.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-native-vector-icons": "9.1.0",
|
2023-06-06 21:53:48 +00:00
|
|
|
"react-native-webview": "11.26.1",
|
2022-11-16 13:26:37 +00:00
|
|
|
"react-redux": "^8.0.5",
|
|
|
|
"reactotron-react-native": "^5.0.3",
|
2022-05-10 13:07:10 +00:00
|
|
|
"redux": "4.2.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"redux-immutable-state-invariant": "2.1.0",
|
|
|
|
"redux-saga": "1.1.3",
|
|
|
|
"remove-markdown": "^0.3.0",
|
|
|
|
"reselect": "4.0.0",
|
|
|
|
"rn-extensions-share": "RocketChat/rn-extensions-share",
|
2023-01-18 16:43:26 +00:00
|
|
|
"rn-fetch-blob": "^0.12.0",
|
2022-08-08 21:02:08 +00:00
|
|
|
"rn-root-view": "RocketChat/rn-root-view",
|
2022-11-16 13:26:37 +00:00
|
|
|
"semver": "^7.3.8",
|
2023-05-29 15:03:24 +00:00
|
|
|
"transliteration": "^2.3.5",
|
2023-07-04 00:03:39 +00:00
|
|
|
"typed-redux-saga": "^1.5.0",
|
2022-11-16 13:26:37 +00:00
|
|
|
"ua-parser-js": "^1.0.32",
|
2022-07-28 13:36:40 +00:00
|
|
|
"uri-js": "^4.4.1",
|
2022-06-03 16:19:34 +00:00
|
|
|
"url-parse": "1.5.10",
|
2023-08-18 17:48:33 +00:00
|
|
|
"use-debounce": "^8.0.4",
|
2021-09-13 20:41:05 +00:00
|
|
|
"use-deep-compare-effect": "1.6.1",
|
2022-08-26 19:16:45 +00:00
|
|
|
"xregexp": "5.0.2",
|
|
|
|
"yup": "^0.32.11"
|
2021-09-13 20:41:05 +00:00
|
|
|
},
|
2022-05-03 20:06:49 +00:00
|
|
|
"resolutions": {
|
2022-06-24 18:13:56 +00:00
|
|
|
"ua-parser-js": "^1.0.2",
|
2023-08-18 17:48:33 +00:00
|
|
|
"jpeg-js": "0.4.4"
|
2022-05-03 20:06:49 +00:00
|
|
|
},
|
2021-09-13 20:41:05 +00:00
|
|
|
"devDependencies": {
|
2023-03-07 12:28:51 +00:00
|
|
|
"@babel/core": "^7.20.2",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@babel/eslint-parser": "^7.14.7",
|
|
|
|
"@babel/eslint-plugin": "^7.13.0",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
2022-05-23 17:24:30 +00:00
|
|
|
"@babel/plugin-transform-named-capturing-groups-regex": "^7.17.12",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@babel/runtime": "^7.12.5",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@bugsnag/source-maps": "^2.2.0",
|
|
|
|
"@rocket.chat/eslint-config": "^0.4.0",
|
2022-08-19 19:53:40 +00:00
|
|
|
"@storybook/addon-storyshots": "6.3",
|
|
|
|
"@storybook/react": "6.3",
|
|
|
|
"@storybook/react-native": "^6.0.1-beta.7",
|
2023-10-19 13:38:57 +00:00
|
|
|
"@testing-library/jest-native": "^5.4.2",
|
2022-08-09 12:28:14 +00:00
|
|
|
"@testing-library/react-hooks": "^8.0.1",
|
2023-10-19 13:38:57 +00:00
|
|
|
"@testing-library/react-native": "^12.1.2",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@types/bytebuffer": "^5.0.44",
|
2022-01-12 18:42:37 +00:00
|
|
|
"@types/ejson": "^2.1.3",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@types/i18n-js": "^3.8.3",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@types/jest": "^26.0.24",
|
2023-10-19 13:38:57 +00:00
|
|
|
"@types/jsrsasign": "^10.5.8",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@types/lodash": "^4.14.188",
|
2023-08-18 17:48:33 +00:00
|
|
|
"@types/react": "^17.0.14",
|
|
|
|
"@types/react-native": "0.68.1",
|
2021-11-17 20:13:06 +00:00
|
|
|
"@types/react-native-background-timer": "^2.0.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@types/react-native-config-reader": "^4.1.0",
|
|
|
|
"@types/react-native-platform-touchable": "^1.1.2",
|
|
|
|
"@types/react-native-scrollable-tab-view": "^0.10.2",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@types/react-native-vector-icons": "^6.4.12",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@types/react-test-renderer": "^17.0.1",
|
2022-11-16 13:26:37 +00:00
|
|
|
"@types/semver": "^7.3.13",
|
2022-03-03 21:46:53 +00:00
|
|
|
"@types/ua-parser-js": "^0.7.36",
|
2022-06-03 16:19:34 +00:00
|
|
|
"@types/url-parse": "^1.4.8",
|
2021-09-13 20:41:05 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
|
|
|
"@typescript-eslint/parser": "^4.28.5",
|
2022-06-04 02:55:02 +00:00
|
|
|
"axios": "0.27.2",
|
2022-08-19 21:14:37 +00:00
|
|
|
"babel-jest": "^28.1.3",
|
2023-03-07 12:28:51 +00:00
|
|
|
"babel-loader": "8.3.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
2022-03-24 13:39:38 +00:00
|
|
|
"codecov": "^3.8.3",
|
2023-03-07 12:28:51 +00:00
|
|
|
"detox": "^20.1.2",
|
2022-08-08 21:02:08 +00:00
|
|
|
"eslint": "^7.32.0",
|
2022-06-03 22:12:21 +00:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-08-08 21:02:08 +00:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
|
|
|
"eslint-plugin-jest": "26.5.3",
|
|
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
2022-06-03 19:37:47 +00:00
|
|
|
"eslint-plugin-react": "7.30.0",
|
2022-08-08 21:02:08 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
|
|
|
"eslint-plugin-react-native": "4.0.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"husky": "^6.0.0",
|
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2022-08-19 21:14:37 +00:00
|
|
|
"jest": "^28.1.3",
|
|
|
|
"jest-cli": "^28.1.3",
|
|
|
|
"jest-expo": "^46.0.1",
|
2023-03-07 12:28:51 +00:00
|
|
|
"jest-junit": "^15.0.0",
|
2023-08-18 17:48:33 +00:00
|
|
|
"metro-react-native-babel-preset": "^0.67.0",
|
2021-09-13 20:41:05 +00:00
|
|
|
"otp.js": "1.2.0",
|
|
|
|
"patch-package": "6.4.7",
|
|
|
|
"prettier": "^2.3.2",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-dom": "17.0.1",
|
2023-03-07 12:28:51 +00:00
|
|
|
"react-native-dotenv": "^3.4.8",
|
2023-08-18 17:48:33 +00:00
|
|
|
"react-test-renderer": "17.0.2",
|
2021-09-13 20:41:05 +00:00
|
|
|
"reactotron-redux": "3.1.3",
|
|
|
|
"reactotron-redux-saga": "4.2.3",
|
2022-09-12 14:51:33 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2021-09-13 20:41:05 +00:00
|
|
|
"typescript": "^4.3.5"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"e2e",
|
|
|
|
"node_modules"
|
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
2022-08-08 21:02:08 +00:00
|
|
|
"node_modules/(?!(jest-)?@?react-native|@react-native-community|@react-navigation|expo)"
|
2021-09-13 20:41:05 +00:00
|
|
|
],
|
2022-06-10 20:33:48 +00:00
|
|
|
"preset": "./jest.preset.js",
|
2021-09-13 20:41:05 +00:00
|
|
|
"coverageDirectory": "./coverage/",
|
|
|
|
"collectCoverage": true,
|
|
|
|
"moduleNameMapper": {
|
|
|
|
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
|
|
|
|
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
|
|
|
|
},
|
2022-03-18 10:01:30 +00:00
|
|
|
"setupFilesAfterEnv": [
|
2023-10-19 13:38:57 +00:00
|
|
|
"./jest.setup.ts"
|
2022-03-18 10:01:30 +00:00
|
|
|
]
|
2021-09-13 20:41:05 +00:00
|
|
|
},
|
2023-03-07 12:28:51 +00:00
|
|
|
"jest-junit": {
|
|
|
|
"addFileAttribute": "true"
|
|
|
|
},
|
2021-09-13 20:41:05 +00:00
|
|
|
"snyk": true,
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.x",
|
|
|
|
"npm": ">=4.x"
|
|
|
|
},
|
2022-08-08 21:02:08 +00:00
|
|
|
"expo": {
|
|
|
|
"autolinking": {
|
|
|
|
"exclude": [
|
|
|
|
"expo-application",
|
|
|
|
"expo-asset",
|
|
|
|
"expo-constants",
|
|
|
|
"expo-font",
|
|
|
|
"expo-error-recovery"
|
|
|
|
]
|
|
|
|
}
|
2021-09-13 20:41:05 +00:00
|
|
|
}
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|