226 lines
8.1 KiB
JSON
226 lines
8.1 KiB
JSON
{
|
|
"name": "rocket-chat-reactnative",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "react-native start",
|
|
"test": "jest",
|
|
"test-update": "jest --updateSnapshot",
|
|
"lint": "eslint .",
|
|
"ci": "npm run precommit && codecov",
|
|
"ios": "npx react-native run-ios",
|
|
"android": "npx react-native run-android --variant=playDebug",
|
|
"log-android": "react-native log-android",
|
|
"snyk-protect": "snyk protect",
|
|
"precommit": "eslint . && jest",
|
|
"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",
|
|
"generate-source-maps-android": "bugsnag-sourcemaps",
|
|
"postinstall": "patch-package && jetify",
|
|
"foss": "npx react-native run-android --variant=fossDebug"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run precommit"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@codler/react-native-keyboard-aware-scroll-view": "^1.0.1",
|
|
"@nozbe/watermelondb": "0.19.0",
|
|
"@react-native-community/art": "^1.2.0",
|
|
"@react-native-community/async-storage": "1.11.0",
|
|
"@react-native-community/cameraroll": "4.0.0",
|
|
"@react-native-community/cookies": "^4.0.0",
|
|
"@react-native-community/datetimepicker": "2.6.0",
|
|
"@react-native-community/hooks": "2.6.0",
|
|
"@react-native-community/masked-view": "^0.1.10",
|
|
"@react-native-community/slider": "3.0.2",
|
|
"@react-native-firebase/analytics": "^7.3.1",
|
|
"@react-native-firebase/app": "^8.2.0",
|
|
"@react-native-firebase/crashlytics": "^8.1.2",
|
|
"@react-navigation/drawer": "5.8.5",
|
|
"@react-navigation/native": "5.7.0",
|
|
"@react-navigation/stack": "5.7.0",
|
|
"@rocket.chat/react-native-fast-image": "^8.1.5",
|
|
"@rocket.chat/sdk": "RocketChat/Rocket.Chat.js.SDK#mobile",
|
|
"@rocket.chat/ui-kit": "0.13.0",
|
|
"bugsnag-react-native": "2.23.10",
|
|
"bytebuffer": "^5.0.1",
|
|
"commonmark": "git+https://github.com/RocketChat/commonmark.js.git",
|
|
"commonmark-react-renderer": "git+https://github.com/RocketChat/commonmark-react-renderer.git",
|
|
"deep-equal": "2.0.3",
|
|
"ejson": "2.2.0",
|
|
"eslint-config-airbnb": "^18.1.0",
|
|
"expo-apple-authentication": "^2.2.1",
|
|
"expo-av": "8.2.1",
|
|
"expo-file-system": "9.0.1",
|
|
"expo-haptics": "8.2.1",
|
|
"expo-keep-awake": "8.2.1",
|
|
"expo-local-authentication": "9.2.0",
|
|
"expo-video-thumbnails": "4.2.1",
|
|
"expo-web-browser": "8.3.1",
|
|
"hoist-non-react-statics": "3.3.2",
|
|
"i18n-js": "3.7.1",
|
|
"js-base64": "2.5.2",
|
|
"js-sha256": "^0.9.0",
|
|
"lodash": "4.17.20",
|
|
"moment": "2.27.0",
|
|
"pretty-bytes": "^5.3.0",
|
|
"prop-types": "15.7.2",
|
|
"react": "16.13.1",
|
|
"react-fast-compare": "^3.2.0",
|
|
"react-native": "^0.63.1",
|
|
"react-native-animatable": "^1.3.3",
|
|
"react-native-appearance": "0.3.4",
|
|
"react-native-background-timer": "2.2.0",
|
|
"react-native-bootsplash": "2.2.5",
|
|
"react-native-config-reader": "^4.1.1",
|
|
"react-native-console-time-polyfill": "^1.2.1",
|
|
"react-native-device-info": "5.6.2",
|
|
"react-native-document-picker": "3.5.3",
|
|
"react-native-easy-grid": "^0.2.2",
|
|
"react-native-easy-toast": "^1.2.0",
|
|
"react-native-gesture-handler": "^1.6.1",
|
|
"react-native-image-crop-picker": "RocketChat/react-native-image-crop-picker",
|
|
"react-native-image-progress": "^1.1.1",
|
|
"react-native-jitsi-meet": "^2.1.1",
|
|
"react-native-keyboard-input": "RocketChat/react-native-keyboard-input",
|
|
"react-native-keyboard-tracking-view": "5.7.0",
|
|
"react-native-keycommands": "2.0.3",
|
|
"react-native-localize": "1.4.0",
|
|
"react-native-mime-types": "2.3.0",
|
|
"react-native-mmkv-storage": "0.3.5",
|
|
"react-native-modal": "11.5.6",
|
|
"react-native-navigation-bar-color": "2.0.1",
|
|
"react-native-notifications": "2.1.7",
|
|
"react-native-notifier": "1.3.1",
|
|
"react-native-orientation-locker": "1.1.8",
|
|
"react-native-picker-select": "7.0.0",
|
|
"react-native-platform-touchable": "^1.1.1",
|
|
"react-native-popover-view": "3.0.3",
|
|
"react-native-progress": "4.1.2",
|
|
"react-native-prompt-android": "^1.1.0",
|
|
"react-native-reanimated": "1.9.0",
|
|
"react-native-safe-area-context": "3.1.1",
|
|
"react-native-screens": "2.9.0",
|
|
"react-native-scroll-bottom-sheet": "0.6.2",
|
|
"react-native-scrollable-tab-view": "^1.0.0",
|
|
"react-native-simple-crypto": "RocketChat/react-native-simple-crypto",
|
|
"react-native-slowlog": "^1.0.2",
|
|
"react-native-unimodules": "0.10.1",
|
|
"react-native-vector-icons": "7.0.0",
|
|
"react-native-webview": "10.3.2",
|
|
"react-navigation-header-buttons": "3.0.5",
|
|
"react-redux": "7.2.0",
|
|
"reactotron-react-native": "5.0.0",
|
|
"redux": "4.0.5",
|
|
"redux-immutable-state-invariant": "2.1.0",
|
|
"redux-saga": "1.1.3",
|
|
"remove-markdown": "^0.3.0",
|
|
"reselect": "^4.0.0",
|
|
"rn-extensions-share": "^2.4.0",
|
|
"rn-fetch-blob": "^0.12.0",
|
|
"rn-root-view": "^1.0.3",
|
|
"semver": "7.3.2",
|
|
"ua-parser-js": "^0.7.21",
|
|
"url-parse": "^1.4.7",
|
|
"use-deep-compare-effect": "^1.3.1",
|
|
"xregexp": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.4",
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
"@babel/runtime": "^7.8.4",
|
|
"@storybook/addon-actions": "5.3.19",
|
|
"@storybook/addon-links": "5.3.19",
|
|
"@storybook/addon-storyshots": "5.3.19",
|
|
"@storybook/addons": "5.3.19",
|
|
"@storybook/react-native": "5.3.19",
|
|
"@storybook/theming": "5.3.19",
|
|
"@types/react-native": "^0.62.7",
|
|
"axios": "^0.19.2",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^9.0.0",
|
|
"babel-jest": "^25.1.0",
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
"babel-runtime": "^6.26.0",
|
|
"bugsnag-sourcemaps": "1.3.0",
|
|
"codecov": "3.7.1",
|
|
"detox": "^16.9.0",
|
|
"emotion-theming": "10.0.27",
|
|
"eslint": "6.8.0",
|
|
"eslint-plugin-import": "2.22.0",
|
|
"eslint-plugin-jsx-a11y": "6.3.1",
|
|
"eslint-plugin-react": "7.20.3",
|
|
"eslint-plugin-react-native": "3.8.1",
|
|
"husky": "3.0.9",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^25.1.0",
|
|
"jest-cli": "^23.6.0",
|
|
"metro-react-native-babel-preset": "^0.59.0",
|
|
"mocha": "7.1.2",
|
|
"otp.js": "1.2.0",
|
|
"patch-package": "6.2.2",
|
|
"react-dom": "16.13.1",
|
|
"react-test-renderer": "16.13.1",
|
|
"reactotron-redux": "3.1.3",
|
|
"reactotron-redux-saga": "4.2.3"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"e2e",
|
|
"node_modules"
|
|
],
|
|
"preset": "react-native",
|
|
"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"
|
|
},
|
|
"transform": {
|
|
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
|
|
}
|
|
},
|
|
"snyk": true,
|
|
"engines": {
|
|
"node": ">=8.x",
|
|
"npm": ">=4.x"
|
|
},
|
|
"detox": {
|
|
"runner-config": "e2e/.mocharc.json",
|
|
"specs": "e2e/tests",
|
|
"configurations": {
|
|
"ios.sim.debug": {
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RocketChatRN.app",
|
|
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone 11 Pro"
|
|
}
|
|
},
|
|
"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",
|
|
"type": "ios.simulator",
|
|
"device": {
|
|
"type": "iPhone 11 Pro"
|
|
},
|
|
"artifacts": {
|
|
"plugins": {
|
|
"screenshot": {
|
|
"enabled": true,
|
|
"shouldTakeAutomaticSnapshots": true,
|
|
"keepOnlyFailedTestsArtifacts": true,
|
|
"takeWhen": {
|
|
"testStart": true,
|
|
"testDone": true,
|
|
"appNotReady": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|