forked from Ivasoft/mattermost-mobile
* Downgrade MMKV to 0.4.4
* Handle undefined in getMyTeams selector
* Set minimum server version to 5.31.3 and update unsupported URL
(cherry picked from commit 0a2a490e81)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
202 lines
7.7 KiB
JSON
202 lines
7.7 KiB
JSON
{
|
|
"name": "mattermost-mobile",
|
|
"version": "1.42.0",
|
|
"description": "Mattermost Mobile with React Native",
|
|
"repository": "git@github.com:mattermost/mattermost-mobile.git",
|
|
"author": "Mattermost, Inc.",
|
|
"license": "Apache 2.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@babel/runtime": "7.13.10",
|
|
"@react-native-community/async-storage": "1.12.1",
|
|
"@react-native-community/cameraroll": "4.0.4",
|
|
"@react-native-community/clipboard": "1.5.1",
|
|
"@react-native-community/masked-view": "0.1.10",
|
|
"@react-native-community/netinfo": "6.0.0",
|
|
"@react-navigation/native": "5.9.3",
|
|
"@react-navigation/stack": "5.14.3",
|
|
"@rudderstack/rudder-sdk-react-native": "1.0.6",
|
|
"@sentry/react-native": "2.4.0",
|
|
"analytics-react-native": "1.2.0",
|
|
"commonmark": "github:mattermost/commonmark.js#d716e1c89e0a6721051df7bc74ad7683e1ae438f",
|
|
"commonmark-react-renderer": "github:mattermost/commonmark-react-renderer#81af294317ebe19b5cc195d7fbc4f4a58177854c",
|
|
"deep-equal": "2.0.5",
|
|
"deepmerge": "4.2.2",
|
|
"emoji-regex": "9.2.2",
|
|
"form-data": "4.0.0",
|
|
"fuse.js": "6.4.6",
|
|
"intl": "1.2.5",
|
|
"jail-monkey": "2.3.3",
|
|
"mime-db": "1.47.0",
|
|
"moment-timezone": "0.5.33",
|
|
"prop-types": "15.7.2",
|
|
"react": "17.0.2",
|
|
"react-intl": "2.8.0",
|
|
"react-native": "0.64.0",
|
|
"react-native-android-open-settings": "1.3.0",
|
|
"react-native-animatable": "1.3.3",
|
|
"react-native-button": "3.0.1",
|
|
"react-native-calendars": "1.1254.0",
|
|
"react-native-cookies": "github:mattermost/react-native-cookies#b35bafc388ae09c83bd875e887daf6a0755e0b40",
|
|
"react-native-device-info": "8.0.8",
|
|
"react-native-document-picker": "5.0.3",
|
|
"react-native-elements": "3.3.2",
|
|
"react-native-exception-handler": "2.10.10",
|
|
"react-native-fast-image": "8.3.4",
|
|
"react-native-file-viewer": "2.1.4",
|
|
"react-native-gesture-handler": "1.10.3",
|
|
"react-native-haptic-feedback": "1.11.0",
|
|
"react-native-hw-keyboard-event": "0.0.4",
|
|
"react-native-image-picker": "2.3.4",
|
|
"react-native-keyboard-aware-scrollview": "2.1.0",
|
|
"react-native-keyboard-tracking-view": "5.7.0",
|
|
"react-native-keychain": "6.2.0",
|
|
"react-native-linear-gradient": "2.5.6",
|
|
"react-native-local-auth": "1.6.0",
|
|
"react-native-localize": "2.0.2",
|
|
"react-native-mmkv-storage": "0.4.4",
|
|
"react-native-navigation": "7.11.3",
|
|
"react-native-notifications": "3.4.2",
|
|
"react-native-passcode-status": "1.1.2",
|
|
"react-native-permissions": "3.0.1",
|
|
"react-native-reanimated": "1.13.2",
|
|
"react-native-redash": "16.0.8",
|
|
"react-native-safe-area": "0.5.1",
|
|
"react-native-safe-area-context": "3.2.0",
|
|
"react-native-screens": "3.0.0",
|
|
"react-native-section-list-get-item-layout": "2.2.3",
|
|
"react-native-share": "5.1.7",
|
|
"react-native-slider": "0.11.0",
|
|
"react-native-status-bar-size": "0.3.3",
|
|
"react-native-svg": "12.1.0",
|
|
"react-native-vector-icons": "8.1.0",
|
|
"react-native-video": "5.1.1",
|
|
"react-native-webview": "github:mattermost/react-native-webview#b5e22940a613869d3999feac9451ee65352f4fbe",
|
|
"react-native-youtube": "2.0.1",
|
|
"react-redux": "7.2.3",
|
|
"redux": "4.0.5",
|
|
"redux-action-buffer": "1.2.0",
|
|
"redux-batched-actions": "0.5.0",
|
|
"redux-persist": "6.0.0",
|
|
"redux-persist-transform-filter": "0.0.20",
|
|
"redux-thunk": "2.3.0",
|
|
"reselect": "4.0.0",
|
|
"rn-fetch-blob": "0.12.0",
|
|
"rn-placeholder": "3.0.3",
|
|
"semver": "7.3.5",
|
|
"serialize-error": "8.0.1",
|
|
"shallow-equals": "1.0.0",
|
|
"tinycolor2": "1.4.2",
|
|
"url-parse": "1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.13.14",
|
|
"@babel/core": "7.13.14",
|
|
"@babel/plugin-transform-runtime": "7.13.10",
|
|
"@babel/preset-env": "7.13.12",
|
|
"@babel/register": "7.13.14",
|
|
"@react-native-community/eslint-config": "2.0.0",
|
|
"@storybook/addon-knobs": "6.2.2",
|
|
"@storybook/addon-ondevice-knobs": "5.3.25",
|
|
"@storybook/react-native": "5.3.25",
|
|
"@storybook/react-native-server": "5.3.23",
|
|
"@testing-library/react-native": "7.2.0",
|
|
"@types/enzyme": "3.10.8",
|
|
"@types/enzyme-adapter-react-16": "1.0.6",
|
|
"@types/jest": "26.0.22",
|
|
"@types/moment-timezone": "0.5.30",
|
|
"@types/react": "17.0.3",
|
|
"@types/react-native": "0.64.2",
|
|
"@types/react-native-share": "3.3.2",
|
|
"@types/react-native-video": "5.0.4",
|
|
"@types/react-redux": "7.1.16",
|
|
"@types/react-test-renderer": "17.0.1",
|
|
"@types/shallow-equals": "1.0.0",
|
|
"@types/tinycolor2": "1.4.2",
|
|
"@types/url-parse": "1.4.3",
|
|
"@typescript-eslint/eslint-plugin": "4.20.0",
|
|
"@typescript-eslint/parser": "4.20.0",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-jest": "26.6.3",
|
|
"babel-loader": "8.2.2",
|
|
"babel-plugin-module-resolver": "4.1.0",
|
|
"babel-plugin-transform-remove-console": "6.9.4",
|
|
"deep-freeze": "0.0.1",
|
|
"detox": "18.9.0",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-adapter-react-16": "1.15.6",
|
|
"enzyme-to-json": "3.6.1",
|
|
"eslint": "7.23.0",
|
|
"eslint-plugin-header": "3.1.1",
|
|
"eslint-plugin-jest": "24.3.3",
|
|
"eslint-plugin-mattermost": "github:mattermost/eslint-plugin-mattermost#070ce792d105482ffb2b27cfc0b7e78b3d20acee",
|
|
"eslint-plugin-react": "7.23.1",
|
|
"harmony-reflect": "1.6.1",
|
|
"husky": "^6.0.0",
|
|
"isomorphic-fetch": "3.0.0",
|
|
"jest": "26.6.3",
|
|
"jest-cli": "26.6.3",
|
|
"jest-enzyme": "7.1.2",
|
|
"jetifier": "1.6.6",
|
|
"jsdom-global": "3.0.2",
|
|
"metro-react-native-babel-preset": "0.65.2",
|
|
"mmjstool": "github:mattermost/mattermost-utilities#3faa6075089a541d8c90ed85114e644c7a23fedf",
|
|
"mock-async-storage": "2.2.0",
|
|
"mock-socket": "9.0.3",
|
|
"nock": "13.0.11",
|
|
"nyc": "15.1.0",
|
|
"patch-package": "6.4.7",
|
|
"react-dom": "17.0.2",
|
|
"react-native-dev-menu": "4.0.2",
|
|
"react-native-dotenv": "2.5.3",
|
|
"react-native-storybook-loader": "2.0.2",
|
|
"redux-mock-store": "1.5.4",
|
|
"redux-persist-node-storage": "2.0.0",
|
|
"socketcluster": "16.0.1",
|
|
"ts-jest": "26.5.4",
|
|
"typescript": "4.2.3",
|
|
"underscore": "1.12.1",
|
|
"util": "0.12.3"
|
|
},
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios",
|
|
"start": "react-native start",
|
|
"check": "npm run lint && npm run tsc",
|
|
"clean": "./scripts/clean.sh",
|
|
"ios-gems": "cd ios && bundle install",
|
|
"fix": "npm run lint -- --fix",
|
|
"lint": "eslint --ignore-path .gitignore --ignore-pattern node_modules --quiet .",
|
|
"pod-install": "cd ios && bundle exec pod install",
|
|
"postinstall": "patch-package && ./scripts/postinstall.sh",
|
|
"tsc": "NODE_OPTIONS=--max_old_space_size=12000 tsc --noEmit",
|
|
"test": "jest --forceExit --runInBand --detectOpenHandles",
|
|
"test:watch": "npm test -- --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"updatesnapshot": "jest --updateSnapshot",
|
|
"mmjstool": "mmjstool",
|
|
"i18n-extract": "npm run mmjstool -- i18n extract-mobile",
|
|
"i18n-clean-empty": "npm run mmjstool -- i18n clean-empty --mobile-dir .",
|
|
"e2e:android": "cd detox && npm run e2e:android-build && npm run e2e:android-test && cd ..",
|
|
"e2e:ios": "cd detox && npm run e2e:ios-test && cd ..",
|
|
"build:ios": "./scripts/build.sh ipa",
|
|
"build:ios-unsigned": "./scripts/build.sh ipa unsigned",
|
|
"build:ios-sim": "./scripts/build.sh ipa simulator",
|
|
"build:android": "./scripts/build.sh apk",
|
|
"build:android-unsigned": "./scripts/build.sh apk unsigned",
|
|
"build-storybook": "build-storybook",
|
|
"prestorybook": "rnstl",
|
|
"storybook": "start-storybook -p 7007",
|
|
"prepare": "husky install"
|
|
},
|
|
"config": {
|
|
"react-native-storybook-loader": {
|
|
"searchDir": [
|
|
"./app/components"
|
|
],
|
|
"pattern": "**/*.stories.@(js|jsx|ts|tsx)",
|
|
"outputFile": "./storybook/storyLoader.js"
|
|
}
|
|
}
|
|
}
|