forked from Ivasoft/mattermost-mobile
187 lines
7.1 KiB
JSON
187 lines
7.1 KiB
JSON
{
|
|
"name": "mattermost-mobile",
|
|
"version": "2.0.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.12.5",
|
|
"@mattermost/react-native-emm": "1.1.1",
|
|
"@mattermost/react-native-paste-input": "0.1.2",
|
|
"@nozbe/watermelondb": "0.20.0",
|
|
"@nozbe/with-observables": "1.0.7",
|
|
"@react-native-community/async-storage": "1.12.1",
|
|
"@react-native-community/cameraroll": "4.0.1",
|
|
"@react-native-community/clipboard": "1.5.1",
|
|
"@react-native-community/cookies": "5.0.1",
|
|
"@react-native-community/masked-view": "0.1.10",
|
|
"@react-native-community/netinfo": "5.9.7",
|
|
"@react-navigation/native": "5.8.9",
|
|
"@react-navigation/stack": "5.12.6",
|
|
"@rudderstack/rudder-sdk-react-native": "1.0.3",
|
|
"@sentry/react-native": "2.0.0",
|
|
"commonmark": "github:mattermost/commonmark.js#f6ab98dede6ce4b4e7adea140ac77249bfb2d6ce",
|
|
"commonmark-react-renderer": "github:mattermost/commonmark-react-renderer#3a2ac19cab725ad28b170fdc1d397dddedcf87eb",
|
|
"core-js": "3.7.0",
|
|
"deep-equal": "2.0.4",
|
|
"deepmerge": "4.2.2",
|
|
"emoji-regex": "9.2.0",
|
|
"fuse.js": "6.4.3",
|
|
"intl": "1.2.5",
|
|
"jail-monkey": "2.3.3",
|
|
"mime-db": "1.45.0",
|
|
"moment-timezone": "0.5.32",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.13.1",
|
|
"react-intl": "5.10.1",
|
|
"react-native": "0.63.3",
|
|
"react-native-android-open-settings": "1.3.0",
|
|
"react-native-animatable": "1.3.3",
|
|
"react-native-calendars": "1.403.0",
|
|
"react-native-device-info": "7.0.2",
|
|
"react-native-document-picker": "4.1.0",
|
|
"react-native-elements": "2.3.2",
|
|
"react-native-exception-handler": "2.10.9",
|
|
"react-native-fast-image": "8.3.4",
|
|
"react-native-file-viewer": "2.1.4",
|
|
"react-native-gesture-handler": "1.8.0",
|
|
"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": "4.0.5",
|
|
"react-native-linear-gradient": "2.5.6",
|
|
"react-native-localize": "2.0.0",
|
|
"react-native-navigation": "7.3.0",
|
|
"react-native-notifications": "3.4.0",
|
|
"react-native-permissions": "2.2.2",
|
|
"react-native-reanimated": "1.13.2",
|
|
"react-native-redash": "15.11.1",
|
|
"react-native-safe-area-context": "3.1.9",
|
|
"react-native-screens": "2.15.0",
|
|
"react-native-share": "4.1.0",
|
|
"react-native-slider": "0.11.0",
|
|
"react-native-svg": "12.1.0",
|
|
"react-native-unimodules": "0.11.0",
|
|
"react-native-vector-icons": "7.1.0",
|
|
"react-native-video": "5.1.0-alpha8",
|
|
"react-native-webview": "10.10.2",
|
|
"react-native-youtube": "2.0.1",
|
|
"rn-placeholder": "3.0.3",
|
|
"semver": "7.3.2",
|
|
"serialize-error": "7.0.1",
|
|
"shallow-equals": "1.0.0",
|
|
"tinycolor2": "1.4.2",
|
|
"url-parse": "1.4.7"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.12.1",
|
|
"@babel/core": "7.12.3",
|
|
"@babel/plugin-proposal-decorators": "7.12.1",
|
|
"@babel/plugin-transform-runtime": "7.12.1",
|
|
"@babel/preset-env": "7.12.1",
|
|
"@babel/register": "7.12.1",
|
|
"@react-native-community/eslint-config": "2.0.0",
|
|
"@storybook/addon-knobs": "6.0.28",
|
|
"@storybook/addon-ondevice-knobs": "5.3.23",
|
|
"@storybook/react-native": "5.3.23",
|
|
"@storybook/react-native-server": "5.3.23",
|
|
"@testing-library/react-native": "7.1.0",
|
|
"@types/enzyme": "3.10.8",
|
|
"@types/enzyme-adapter-react-16": "1.0.6",
|
|
"@types/jest": "26.0.15",
|
|
"@types/react": "16.9.56",
|
|
"@types/react-native": "0.63.35",
|
|
"@types/react-native-share": "3.3.0",
|
|
"@types/react-native-video": "5.0.3",
|
|
"@types/react-redux": "7.1.11",
|
|
"@types/react-test-renderer": "16.9.3",
|
|
"@types/semver": "7.3.4",
|
|
"@types/shallow-equals": "1.0.0",
|
|
"@types/tinycolor2": "1.4.2",
|
|
"@types/url-parse": "1.4.3",
|
|
"@typescript-eslint/eslint-plugin": "3.10.1",
|
|
"@typescript-eslint/parser": "3.10.1",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-jest": "26.6.3",
|
|
"babel-loader": "8.2.1",
|
|
"babel-plugin-module-resolver": "4.0.0",
|
|
"babel-plugin-transform-remove-console": "6.9.4",
|
|
"deep-freeze": "0.0.1",
|
|
"detox": "17.11.4",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-adapter-react-16": "1.15.5",
|
|
"enzyme-to-json": "3.6.1",
|
|
"eslint": "7.13.0",
|
|
"eslint-plugin-header": "3.1.0",
|
|
"eslint-plugin-jest": "24.1.3",
|
|
"eslint-plugin-mattermost": "github:mattermost/eslint-plugin-mattermost#070ce792d105482ffb2b27cfc0b7e78b3d20acee",
|
|
"eslint-plugin-react": "7.21.5",
|
|
"hermes-engine": "0.5.2-rc1",
|
|
"husky": "4.3.0",
|
|
"isomorphic-fetch": "3.0.0",
|
|
"jest": "26.6.3",
|
|
"jest-cli": "26.6.3",
|
|
"jest-enzyme": "7.1.2",
|
|
"jetifier": "1.6.6",
|
|
"metro-react-native-babel-preset": "0.64.0",
|
|
"mmjstool": "github:mattermost/mattermost-utilities#519b99a4e51e6c67a0dbd46a6efdff27dc835aaa",
|
|
"mock-async-storage": "2.2.0",
|
|
"patch-package": "6.2.2",
|
|
"react-native-dev-menu": "4.0.2",
|
|
"react-native-dotenv": "2.4.2",
|
|
"react-native-storybook-loader": "2.0.2",
|
|
"ts-jest": "26.4.4",
|
|
"typescript": "4.0.5",
|
|
"underscore": "1.11.0",
|
|
"util": "0.12.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "sh ./scripts/pre-commit.sh"
|
|
}
|
|
},
|
|
"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": "echo PLEASE ADD TESTS and then modify package.json to run '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"
|
|
},
|
|
"config": {
|
|
"react-native-storybook-loader": {
|
|
"searchDir": [
|
|
"./app/components"
|
|
],
|
|
"pattern": "**/*.stories.@(js|jsx|ts|tsx)",
|
|
"outputFile": "./storybook/storyLoader.js"
|
|
}
|
|
}
|
|
}
|