2017-08-03 18:23:43 +00:00
|
|
|
{
|
2017-08-18 14:50:20 +00:00
|
|
|
"name": "rocket-chat-reactnative",
|
2017-08-03 18:23:43 +00:00
|
|
|
"version": "0.0.1",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2019-08-07 13:51:34 +00:00
|
|
|
"start": "react-native start",
|
2017-08-05 18:16:32 +00:00
|
|
|
"test": "jest",
|
2017-11-13 13:07:35 +00:00
|
|
|
"test-update": "jest --updateSnapshot",
|
2017-08-05 18:16:32 +00:00
|
|
|
"lint": "eslint .",
|
2019-05-20 20:51:47 +00:00
|
|
|
"ci": "npm run precommit && codecov",
|
2017-08-05 18:16:32 +00:00
|
|
|
"ios": "react-native run-ios",
|
2017-08-09 13:12:00 +00:00
|
|
|
"log-android": "react-native log-android",
|
2017-08-17 19:31:27 +00:00
|
|
|
"android": "react-native run-android",
|
2019-05-20 20:51:47 +00:00
|
|
|
"snyk-protect": "snyk protect",
|
2019-08-07 13:51:34 +00:00
|
|
|
"precommit": "eslint . && jest",
|
2019-08-23 13:18:47 +00:00
|
|
|
"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",
|
2020-02-14 19:12:06 +00:00
|
|
|
"generate-source-maps-android": "bugsnag-sourcemaps",
|
2019-08-07 13:51:34 +00:00
|
|
|
"postinstall": "patch-package && jetify"
|
2017-08-03 18:23:43 +00:00
|
|
|
},
|
2019-05-20 20:51:47 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "npm run precommit"
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
2017-08-03 18:23:43 +00:00
|
|
|
"dependencies": {
|
2020-02-17 19:06:18 +00:00
|
|
|
"@nozbe/watermelondb": "^0.16.0-9",
|
2019-12-18 21:13:11 +00:00
|
|
|
"@react-native-community/art": "^1.0.4",
|
|
|
|
"@react-native-community/cameraroll": "^1.3.0",
|
2020-02-11 14:01:35 +00:00
|
|
|
"@react-native-community/datetimepicker": "^2.1.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"@react-native-community/slider": "2.0.5",
|
2020-02-11 14:01:35 +00:00
|
|
|
"@rocket.chat/sdk": "1.0.0-alpha.41",
|
|
|
|
"@rocket.chat/ui-kit": "^0.2.0-alpha.25",
|
2020-02-20 12:58:13 +00:00
|
|
|
"base-64": "^0.1.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"bugsnag-react-native": "2.23.2",
|
2019-08-27 12:25:38 +00:00
|
|
|
"commonmark": "git+https://github.com/RocketChat/commonmark.js.git",
|
|
|
|
"commonmark-react-renderer": "git+https://github.com/RocketChat/commonmark-react-renderer.git",
|
2019-11-18 17:52:08 +00:00
|
|
|
"deep-equal": "1.1.1",
|
2019-08-07 13:51:34 +00:00
|
|
|
"ejson": "2.2.0",
|
2019-08-26 16:56:39 +00:00
|
|
|
"expo-av": "^6.0.0",
|
2019-09-16 20:26:32 +00:00
|
|
|
"expo-file-system": "^6.0.2",
|
2019-09-02 16:15:56 +00:00
|
|
|
"expo-haptics": "6.0.0",
|
2019-08-07 13:51:34 +00:00
|
|
|
"expo-web-browser": "^6.0.0",
|
2019-11-25 20:01:17 +00:00
|
|
|
"hoist-non-react-statics": "^3.3.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"i18n-js": "3.5.0",
|
2019-01-29 19:52:56 +00:00
|
|
|
"js-base64": "^2.5.1",
|
2018-06-13 01:33:00 +00:00
|
|
|
"js-sha256": "^0.9.0",
|
2019-08-07 13:51:34 +00:00
|
|
|
"lodash": "4.17.15",
|
2019-01-29 19:52:56 +00:00
|
|
|
"moment": "^2.24.0",
|
2019-04-30 21:56:41 +00:00
|
|
|
"prop-types": "15.7.2",
|
2020-01-30 13:50:56 +00:00
|
|
|
"react": "16.9.0",
|
|
|
|
"react-native": "0.61.5",
|
2019-04-30 21:56:41 +00:00
|
|
|
"react-native-action-sheet": "^2.2.0",
|
2019-12-04 16:39:53 +00:00
|
|
|
"react-native-appearance": "^0.3.1",
|
2019-01-29 19:52:56 +00:00
|
|
|
"react-native-audio": "^4.3.0",
|
2019-09-18 17:32:12 +00:00
|
|
|
"react-native-background-timer": "2.1.1",
|
2020-03-26 13:21:21 +00:00
|
|
|
"react-native-bootsplash": "^2.1.0",
|
2019-04-08 12:35:28 +00:00
|
|
|
"react-native-console-time-polyfill": "^1.2.1",
|
2019-08-07 13:51:34 +00:00
|
|
|
"react-native-device-info": "^2.3.0",
|
|
|
|
"react-native-document-picker": "^3.2.4",
|
2019-05-15 19:33:30 +00:00
|
|
|
"react-native-easy-toast": "^1.2.0",
|
2019-08-07 13:51:34 +00:00
|
|
|
"react-native-fast-image": "^7.0.2",
|
|
|
|
"react-native-firebase": "^5.5.5",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-gesture-handler": "1.5.0",
|
2020-02-13 19:25:28 +00:00
|
|
|
"react-native-image-crop-picker": "RocketChat/react-native-image-crop-picker",
|
2019-12-18 21:13:11 +00:00
|
|
|
"react-native-image-progress": "^1.1.1",
|
2019-08-07 13:51:34 +00:00
|
|
|
"react-native-image-zoom-viewer": "^2.2.26",
|
2019-10-07 13:38:59 +00:00
|
|
|
"react-native-jitsi-meet": "RocketChat/react-native-jitsi-meet",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-keyboard-aware-scroll-view": "0.9.1",
|
2020-02-17 12:14:56 +00:00
|
|
|
"react-native-keyboard-input": "^5.3.1",
|
2020-02-13 20:44:57 +00:00
|
|
|
"react-native-keyboard-tracking-view": "^5.6.1",
|
2019-11-25 20:01:17 +00:00
|
|
|
"react-native-keycommands": "2.0.3",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-localize": "1.3.1",
|
2019-07-18 17:44:02 +00:00
|
|
|
"react-native-mime-types": "^2.2.1",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-modal": "11.5.3",
|
2020-02-11 14:01:35 +00:00
|
|
|
"react-native-modalize": "^1.3.6",
|
2019-12-04 16:39:53 +00:00
|
|
|
"react-native-navigation-bar-color": "^1.0.0",
|
2019-08-13 13:03:46 +00:00
|
|
|
"react-native-notifications": "^2.0.6",
|
2019-09-25 22:13:39 +00:00
|
|
|
"react-native-orientation-locker": "1.1.6",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-picker-select": "6.3.3",
|
2019-04-08 12:35:28 +00:00
|
|
|
"react-native-platform-touchable": "^1.1.1",
|
2020-02-11 14:01:35 +00:00
|
|
|
"react-native-popover-view": "^2.0.5",
|
2019-12-18 21:13:11 +00:00
|
|
|
"react-native-progress": "^4.0.3",
|
2020-03-03 20:27:38 +00:00
|
|
|
"react-native-prompt-android": "^1.1.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-reanimated": "1.4.0",
|
2018-01-30 19:48:26 +00:00
|
|
|
"react-native-responsive-ui": "^1.1.1",
|
2019-09-17 19:24:47 +00:00
|
|
|
"react-native-screens": "^2.0.0-alpha.3",
|
2019-10-31 23:04:13 +00:00
|
|
|
"react-native-scrollable-tab-view": "^1.0.0",
|
2019-05-20 20:43:50 +00:00
|
|
|
"react-native-slowlog": "^1.0.2",
|
2019-08-07 13:51:34 +00:00
|
|
|
"react-native-unimodules": "0.5.3",
|
|
|
|
"react-native-vector-icons": "6.6.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-native-video": "5.0.2",
|
|
|
|
"react-native-webview": "7.5.1",
|
2019-10-29 18:14:22 +00:00
|
|
|
"react-navigation": "^4.0.10",
|
2019-09-24 17:37:13 +00:00
|
|
|
"react-navigation-drawer": "1.4.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-navigation-header-buttons": "3.0.4",
|
2019-10-29 18:14:22 +00:00
|
|
|
"react-navigation-stack": "^1.10.3",
|
2019-11-18 17:52:08 +00:00
|
|
|
"react-redux": "7.1.3",
|
2019-08-07 13:51:34 +00:00
|
|
|
"reactotron-react-native": "3.6.4",
|
|
|
|
"redux": "4.0.4",
|
2018-04-24 19:34:03 +00:00
|
|
|
"redux-enhancer-react-native-appstate": "^0.3.1",
|
2017-11-13 11:36:03 +00:00
|
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"redux-saga": "1.1.3",
|
2019-04-25 17:18:49 +00:00
|
|
|
"remove-markdown": "^0.3.0",
|
2020-02-11 14:09:14 +00:00
|
|
|
"reselect": "^4.0.0",
|
2019-07-29 16:33:28 +00:00
|
|
|
"rn-extensions-share": "^2.3.10",
|
2019-11-18 17:52:08 +00:00
|
|
|
"rn-fetch-blob": "0.11.2",
|
2019-12-04 16:39:53 +00:00
|
|
|
"rn-root-view": "^1.0.3",
|
2020-03-11 19:06:55 +00:00
|
|
|
"rn-user-defaults": "^1.8.1",
|
2019-08-07 13:51:34 +00:00
|
|
|
"semver": "6.3.0",
|
|
|
|
"snyk": "1.210.0",
|
2019-08-27 12:25:38 +00:00
|
|
|
"strip-ansi": "5.2.0",
|
2020-04-01 20:32:24 +00:00
|
|
|
"url-parse": "^1.4.7",
|
|
|
|
"use-deep-compare-effect": "^1.3.1"
|
2017-08-03 18:23:43 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-01-30 13:50:56 +00:00
|
|
|
"@babel/core": "^7.6.2",
|
2019-09-26 14:59:27 +00:00
|
|
|
"@babel/plugin-proposal-decorators": "^7.6.0",
|
2020-01-30 13:50:56 +00:00
|
|
|
"@babel/runtime": "^7.6.2",
|
2019-08-07 13:51:34 +00:00
|
|
|
"@storybook/addon-actions": "5.1.10",
|
|
|
|
"@storybook/addon-links": "5.1.10",
|
|
|
|
"@storybook/addon-storyshots": "5.1.10",
|
|
|
|
"@storybook/addons": "5.1.10",
|
|
|
|
"@storybook/react-native": "5.1.10",
|
2019-11-18 17:52:08 +00:00
|
|
|
"@storybook/theming": "5.2.6",
|
2018-09-25 19:28:42 +00:00
|
|
|
"babel-core": "^6.26.3",
|
|
|
|
"babel-eslint": "^9.0.0",
|
2019-10-31 16:21:59 +00:00
|
|
|
"babel-jest": "^24.1.0",
|
2018-07-18 20:34:59 +00:00
|
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
2018-09-25 19:28:42 +00:00
|
|
|
"babel-runtime": "^6.26.0",
|
2020-02-14 19:12:06 +00:00
|
|
|
"bugsnag-sourcemaps": "^1.2.2",
|
2019-08-07 13:51:34 +00:00
|
|
|
"codecov": "3.5.0",
|
2020-03-03 20:27:38 +00:00
|
|
|
"detox": "^15.2.2",
|
2019-09-26 14:59:27 +00:00
|
|
|
"emotion-theming": "^10.0.19",
|
2019-10-31 16:21:59 +00:00
|
|
|
"eslint": "^6.5.1",
|
2019-08-07 13:51:34 +00:00
|
|
|
"eslint-config-airbnb": "17.1.1",
|
|
|
|
"eslint-plugin-import": "^2.18.2",
|
|
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
|
|
"eslint-plugin-react": "7.14.3",
|
|
|
|
"eslint-plugin-react-native": "3.7.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"husky": "3.0.9",
|
2017-11-13 13:07:35 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2019-09-26 14:59:27 +00:00
|
|
|
"jest": "^24.9.0",
|
2018-09-25 19:28:42 +00:00
|
|
|
"jest-cli": "^23.6.0",
|
2020-01-30 13:50:56 +00:00
|
|
|
"metro-react-native-babel-preset": "^0.56.0",
|
2018-06-13 01:29:18 +00:00
|
|
|
"mocha": "^5.2.0",
|
2019-04-30 21:56:41 +00:00
|
|
|
"otp.js": "1.2.0",
|
2019-08-07 13:51:34 +00:00
|
|
|
"patch-package": "^6.1.2",
|
2020-01-30 13:50:56 +00:00
|
|
|
"react-dom": "16.9.0",
|
|
|
|
"react-test-renderer": "16.9.0",
|
2019-11-18 17:52:08 +00:00
|
|
|
"reactotron-redux": "3.1.2",
|
2019-08-07 13:51:34 +00:00
|
|
|
"reactotron-redux-saga": "4.2.2"
|
2017-08-03 18:23:43 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
2018-05-23 13:39:18 +00:00
|
|
|
"testPathIgnorePatterns": [
|
2019-03-01 14:40:22 +00:00
|
|
|
"e2e",
|
|
|
|
"node_modules"
|
2018-05-23 13:39:18 +00:00
|
|
|
],
|
2017-08-18 15:50:48 +00:00
|
|
|
"preset": "react-native",
|
|
|
|
"coverageDirectory": "./coverage/",
|
2017-11-13 13:07:35 +00:00
|
|
|
"collectCoverage": true,
|
|
|
|
"moduleNameMapper": {
|
2018-09-11 16:32:52 +00:00
|
|
|
".+\\.(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"
|
2018-07-18 20:34:59 +00:00
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
|
2017-11-13 13:07:35 +00:00
|
|
|
}
|
2017-11-06 23:45:48 +00:00
|
|
|
},
|
2017-11-22 14:04:44 +00:00
|
|
|
"snyk": true,
|
2017-11-06 23:45:48 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=8.x",
|
2018-04-24 19:34:03 +00:00
|
|
|
"npm": ">=4.x"
|
2018-05-23 13:39:18 +00:00
|
|
|
},
|
|
|
|
"detox": {
|
|
|
|
"configurations": {
|
|
|
|
"ios.sim.debug": {
|
|
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RocketChatRN.app",
|
2018-08-10 17:26:36 +00:00
|
|
|
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
|
|
"type": "ios.simulator",
|
2020-03-03 20:27:38 +00:00
|
|
|
"name": "iPhone 11 Pro"
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
"ios.sim.release": {
|
|
|
|
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/RocketChatRN.app",
|
|
|
|
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
|
2018-05-23 13:39:18 +00:00
|
|
|
"type": "ios.simulator",
|
2020-03-03 20:27:38 +00:00
|
|
|
"name": "iPhone 11 Pro"
|
2018-05-23 13:39:18 +00:00
|
|
|
}
|
|
|
|
}
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|
|
|
|
}
|