verdnatura-chat/package.json

191 lines
6.9 KiB
JSON
Raw Permalink Normal View History

2017-08-03 18:23:43 +00:00
{
"name": "rocket-chat-reactnative",
2017-08-03 18:23:43 +00:00
"version": "0.0.1",
"private": true,
"scripts": {
"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 .",
"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",
"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"
2017-08-03 18:23:43 +00:00
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
},
2017-08-03 18:23:43 +00:00
"dependencies": {
"@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",
"@rocket.chat/sdk": "djorkaeffalexandre/Rocket.Chat.js.SDK#test.fix-ddp",
2020-02-11 14:01:35 +00:00
"@rocket.chat/ui-kit": "^0.2.0-alpha.25",
"base-64": "^0.1.0",
2019-11-18 17:52:08 +00:00
"bugsnag-react-native": "2.23.2",
"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",
"ejson": "2.2.0",
"expo-av": "^6.0.0",
[CHORE] Migrate to Watermelon (#1171) * Install * Create subscriptions * Subscription observing and sorting * Saving last message * Stash * Stash * stash * Stash * Rooms list listing :) * Animated set state * Search working * Fix load rooms on login * stash db class * set active db with path * Remove db on logout * stash * Created updateMessages * Inserting/updating threads * Persisting thread messages * Removed unused list * Loading messages from watermelon * Debounce updates and rerender message * optional fields * Fix realm conflict issues * Fix some render issues * stash * List mount * stash * fix message id * Fix tmsg * - Save subscription.rid as id on watermelon and _id as _id - Send room as param to room view * Throttle room updates * stash * comment removeClippedSubviews * Fetch thread name * try/catch updateMessages * Show loading while RoomView.init is still running * stash * Fix updateMessages * Threads * Delete message * Permalink * Pin * Star * Report * MessageActions refactor * Edit message * Reply message * Add reaction * Auto translate * Fix connection issues * Mark message as error if something happened on the call * Error actions * get custom emoji * Always run console.log when __DEV__ * Try to create serversDB * Don't call updateMessages. Execute that entire logic for one message id instead. * Refactor update messages * ServersDB User [Realm -> Watermelon] * Fix models * Custom emojis * Custom emojis on emoji picker * Frequently used emojis * Fix add reaction on message * stash * Fix * Read messages * Fix thread * Fetch thread header * Follow/unfollow thread * Fix thread * Upload file * Thread tweak * Realm -> Watermelon [Share Extension] * Add RoomsUpdatedAt to Servers Table * Settings * Settings * Fix logout * SendFileMessage ServersDB * ServersDB on serverDropdown * Remove serversDB from Realm * Load thread messages * Delete message * Improve getSettings * Improve * Remove subscription * Remove update * Update room via socket * Small refactor * Fix logout and improve migration * Refactor updateMessages * Improve migration * Remove unnecessary update * Revert remove runAfterInteractions * Fix serverDropdown * Fix merge * Init room actions Watermelon * Room actions Watermelon * Remove realm on room members * Room swipe -> Watermelon * Fix hideChannel * Get roles watermelon * Get permissions watermelon * Users typing + memory db * Auto translate watermelon * New Message View * Selected Users View * try/catch * Get Slash Commands watermelon * Slash Commands message box * Custom emojis message box * Get rooms message box * Room info view * Room info edit * Save active users * Small refactor * Message Actions * hasPermission await * last hasPermission fix * Active users on redux * Add user roles * Users typing on redux and remove memory db * Fix saga delay * Fix few issues * Fix slash commands preview * Draft message * Add muted * Unread count watermelon * Remove realm * Fiz RoomItem rerenders * Remove realm config * Rerender status update on RoomItem * Refactor RoomsListView * Fix load missed messages * Fix room update * Message refactor * Fixing lint * removeClippedSubviews on iOS only * Added few interaction managers * Fix few rerenders * Fix RoomItem status typo * Fix RoomView.SCU * Fix broadcast * Fix user status on RoomActionsView * Fix RocketChat.hasPermission * Fix database inconsistencies * Fix few update issues * Add rxjs and remove with observables * Fix tests * Remove subscriptions * Fix RoomsListView SCU * Change database structure and set all schemas to 1 * Fix RoomsListView search * Fixed errors, removed rerenders and added animation * Fixed a few errors * Fix lint * Fix issues caught by LGTM * fix ios build * Fix load unjoined channel messages * Log on database path on startup * Fix join channel * Remove react-native-realm-path * Set user status on login.user reducer * Fix status not rendering on RoomsListView * Fix few reducers * Fix users going offline * Never use "watermelon" term directly. Replaced by "database" * Fix custom emoji * Creating room from app must update roomUpdatedAt * Log subscribeRoom start * Fix room subscribe right after creating a DM * Refactor is read only on messages actions * Fix typo * Fix typo * Review * Fix schema * Fix muted & freq emoji & unpin & unstar * Remove throttleTime to room info & fix reset on edit room * Fix openServerDropdown spec & Fix unarchive * Fix MessageAction * Refactor RoomInfoEditView * Remove unnecessary condition * Remove unnecessary condition * Remove unnecessary condition * Remove get database * Rename Command.js to SlashCommand.js * Create sanitizer util * Fix indentation * Create subscription.t index * Refactor queries on RoomsListView * Create subscription.name index * Fix getPermissions * Fix indentation * Add missing await * Fix rocketchat.hasPermission * Unnecessary change * Star, pin e delete message refactored * Refactor customEmojis reducer * Remove code * Remove logs * Remove throttle * Call this.init on foreground focus on RoomView * Bump servers schema migration * Always mark message as sent after a success * Fetch only messages needed on updateMessages * Just leave a comment for now * Fetch only subscriptions returned by fetch * Set room param on RoomView header in find room * Update kotlin * Fix auto translate constructor * Fix few setState on constructor * Fix empty room image blinking while mounting * Improve fetch/persist execution for custom emojis, permissions and settings * Query only user tapped on RoomMembersView * Fix typo on canOpenRoom
2019-09-16 20:26:32 +00:00
"expo-file-system": "^6.0.2",
"expo-haptics": "6.0.0",
"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",
"js-sha256": "^0.9.0",
"lodash": "4.17.15",
2019-01-29 19:52:56 +00:00
"moment": "^2.24.0",
"prop-types": "15.7.2",
"react": "16.9.0",
"react-native": "0.61.5",
"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",
[NEW] Jitsi integration (#1196) * Stash * Rooms list listing :) * Animated set state * Search working * Fix load rooms on login * stash db class * set active db with path * Remove db on logout * stash * Created updateMessages * Inserting/updating threads * Persisting thread messages * Removed unused list * Loading messages from watermelon * Debounce updates and rerender message * optional fields * Fix realm conflict issues * Fix some render issues * stash * List mount * stash * fix message id * Fix tmsg * - Save subscription.rid as id on watermelon and _id as _id - Send room as param to room view * Throttle room updates * stash * comment removeClippedSubviews * Fetch thread name * try/catch updateMessages * Show loading while RoomView.init is still running * stash * Fix updateMessages * Threads * Delete message * Permalink * Pin * Star * Report * MessageActions refactor * Edit message * Reply message * Add reaction * Auto translate * Fix connection issues * Mark message as error if something happened on the call * Error actions * get custom emoji * Always run console.log when __DEV__ * Try to create serversDB * Don't call updateMessages. Execute that entire logic for one message id instead. * Refactor update messages * ServersDB User [Realm -> Watermelon] * Fix models * Custom emojis * Custom emojis on emoji picker * Frequently used emojis * Fix add reaction on message * stash * Fix * Read messages * Fix thread * Fetch thread header * Follow/unfollow thread * Fix thread * Upload file * Thread tweak * Realm -> Watermelon [Share Extension] * Add RoomsUpdatedAt to Servers Table * Settings * Settings * Fix logout * SendFileMessage ServersDB * ServersDB on serverDropdown * Remove serversDB from Realm * Load thread messages * Delete message * Improve getSettings * Improve * Remove subscription * Remove update * Update room via socket * Small refactor * Fix logout and improve migration * Refactor updateMessages * Improve migration * Remove unnecessary update * Revert remove runAfterInteractions * Fix serverDropdown * Fix merge * Init room actions Watermelon * Room actions Watermelon * Remove realm on room members * Room swipe -> Watermelon * Fix hideChannel * Get roles watermelon * Get permissions watermelon * Users typing + memory db * Auto translate watermelon * New Message View * Selected Users View * try/catch * Get Slash Commands watermelon * Slash Commands message box * Custom emojis message box * Get rooms message box * Room info view * Room info edit * Save active users * Small refactor * Message Actions * hasPermission await * last hasPermission fix * Active users on redux * Add user roles * Users typing on redux and remove memory db * Fix saga delay * Fix few issues * Fix slash commands preview * Draft message * Add muted * Unread count watermelon * Remove realm * Fiz RoomItem rerenders * Remove realm config * Rerender status update on RoomItem * Refactor RoomsListView * Fix load missed messages * Fix room update * Message refactor * Fixing lint * Jitsi config (iOS) * removeClippedSubviews on iOS only * Added few interaction managers * Create jitsiBaseURL * Call buttons * Fix few rerenders * Fix RoomItem status typo * Fix RoomView.SCU * Fix broadcast * Fix user status on RoomActionsView * Jitsi config (Android) * Fix RocketChat.hasPermission * Fix database inconsistencies * Fix few update issues * Add rxjs and remove with observables * Fix tests * Remove subscriptions * Fix RoomsListView SCU * Change database structure and set all schemas to 1 * Fix RoomsListView search * Call Jitsi method * Create onlyAudio option (iOS) * Create onlyAudio option (Android) * Fixed errors, removed rerenders and added animation * Fixed a few errors * Fix lint * Fix issues caught by LGTM * fix ios build * Revert patch * jitsiTimeout * Self-builded Android SDK * Fix load unjoined channel messages * Log on database path on startup * Fix join channel * Remove react-native-realm-path * Set user status on login.user reducer * Fix status not rendering on RoomsListView * Fix few reducers * Fix users going offline * Never use "watermelon" term directly. Replaced by "database" * Fix jitsiTimeout * Fix custom emoji * Fix duplicated call messsage * Creating room from app must update roomUpdatedAt * Log subscribeRoom start * Fix room subscribe right after creating a DM * Fix jest * Move self-builded sdk to node_modules * Refactor is read only on messages actions * Fix typo * Fix typo * Review * Fix schema * Fix muted & freq emoji & unpin & unstar * Remove throttleTime to room info & fix reset on edit room * Fix openServerDropdown spec & Fix unarchive * Fix MessageAction * Refactor RoomInfoEditView * Remove unnecessary condition * Remove unnecessary condition * Remove unnecessary condition * Remove get database * Rename Command.js to SlashCommand.js * Create sanitizer util * Fix indentation * Create subscription.t index * Refactor queries on RoomsListView * Create subscription.name index * Fix getPermissions * Fix indentation * Add missing await * Fix rocketchat.hasPermission * Unnecessary change * Star, pin e delete message refactored * Refactor customEmojis reducer * Remove code * Remove logs * Remove throttle * Call this.init on foreground focus on RoomView * Bump servers schema migration * Always mark message as sent after a success * Fetch only messages needed on updateMessages * Just leave a comment for now * Fetch only subscriptions returned by fetch * Fix send message * Create migration - jitsi_timeout * Fixes & Update e2e tests * Add translations pt-br * Bind callJitsi on RocketChat * Remove unnecessary mocks * Remove listeners when call finished * Use gradlew instead self-builded sdk * Fix lastmessage call username * Add react-native-background-timer * Fix background interval * Remove unnecessary timeout * Clear timeout in case there's one active * Add catch to method call
2019-09-18 17:32:12 +00:00
"react-native-background-timer": "2.1.1",
"react-native-bootsplash": "^2.1.0",
2019-04-08 12:35:28 +00:00
"react-native-console-time-polyfill": "^1.2.1",
"react-native-device-info": "^2.3.0",
"react-native-document-picker": "^3.2.4",
"react-native-easy-toast": "^1.2.0",
"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",
"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",
"react-native-image-zoom-viewer": "^2.2.26",
"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",
"react-native-keyboard-input": "^5.3.1",
"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",
"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",
"react-native-notifications": "^2.0.6",
"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",
"react-native-responsive-ui": "^1.1.1",
"react-native-screens": "^2.0.0-alpha.3",
"react-native-scrollable-tab-view": "^1.0.0",
"react-native-slowlog": "^1.0.2",
"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",
"react-navigation": "^4.0.10",
"react-navigation-drawer": "1.4.0",
2019-11-18 17:52:08 +00:00
"react-navigation-header-buttons": "3.0.4",
"react-navigation-stack": "^1.10.3",
2019-11-18 17:52:08 +00:00
"react-redux": "7.1.3",
"reactotron-react-native": "3.6.4",
"redux": "4.0.4",
Beta (#265) * Fabric iOS * Fabric configured on iOS and Android * - react-native-fabric configured - login tracked * README updated * Run scripts from README updated * README scripts * get rooms and messages by rest * user status * more improves * more improves * send pong on timeout * fix some methods * more tests * rest messages * Room actions (#266) * Toggle notifications * Search messages * Invite users * Mute/Unmute users in room * rocket.cat messages * Room topic layout fixed * Starred messages loading onEndReached * Room actions onEndReached * Unnecessary login request * Login loading * Login services fixed * User presence layout * ïmproves on room actions view * Removed unnecessary data from SelectedUsersView * load few messages on open room, search message improve * fix loading messages forever * Removed state from search * Custom message time format * secureTextEntry layout * Reduce android app size * Roles subscription fix * Public routes navigation * fix reconnect * - New login/register, login, register * proguard * Login flux * App init/restore * Android layout fixes * Multiple meteor connection requests fixed * Nested attachments * Nested attachments * fix check status * New login layout (#269) * Public routes navigation * New login/register, login, register * Multiple meteor connection requests fixed * Nested attachments * Button component * TextInput android layout fixed * Register fixed * Thinner close modal button * Requests /me after login only one time * Static images moved * fix reconnect * fix ddp * fix custom emoji * New message layout (#273) * Grouping messages * Message layout * Users typing animation * Image attachment layout
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",
"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",
"rn-user-defaults": "^1.8.1",
"semver": "6.3.0",
"snyk": "1.210.0",
"strip-ansi": "5.2.0",
"url-parse": "^1.4.7",
"use-deep-compare-effect": "^1.3.1"
2017-08-03 18:23:43 +00:00
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@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",
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-jest": "^24.1.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-runtime": "^6.26.0",
"bugsnag-sourcemaps": "^1.2.2",
"codecov": "3.5.0",
2020-03-03 20:27:38 +00:00
"detox": "^15.2.2",
"emotion-theming": "^10.0.19",
"eslint": "^6.5.1",
"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",
"jest": "^24.9.0",
"jest-cli": "^23.6.0",
"metro-react-native-babel-preset": "^0.56.0",
2018-06-13 01:29:18 +00:00
"mocha": "^5.2.0",
"otp.js": "1.2.0",
"patch-package": "^6.1.2",
"react-dom": "16.9.0",
"react-test-renderer": "16.9.0",
2019-11-18 17:52:08 +00:00
"reactotron-redux": "3.1.2",
"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
],
"preset": "react-native",
"coverageDirectory": "./coverage/",
2017-11-13 13:07:35 +00:00
"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"
2017-11-13 13:07:35 +00:00
}
},
"snyk": true,
"engines": {
"node": ">=8.x",
Beta (#265) * Fabric iOS * Fabric configured on iOS and Android * - react-native-fabric configured - login tracked * README updated * Run scripts from README updated * README scripts * get rooms and messages by rest * user status * more improves * more improves * send pong on timeout * fix some methods * more tests * rest messages * Room actions (#266) * Toggle notifications * Search messages * Invite users * Mute/Unmute users in room * rocket.cat messages * Room topic layout fixed * Starred messages loading onEndReached * Room actions onEndReached * Unnecessary login request * Login loading * Login services fixed * User presence layout * ïmproves on room actions view * Removed unnecessary data from SelectedUsersView * load few messages on open room, search message improve * fix loading messages forever * Removed state from search * Custom message time format * secureTextEntry layout * Reduce android app size * Roles subscription fix * Public routes navigation * fix reconnect * - New login/register, login, register * proguard * Login flux * App init/restore * Android layout fixes * Multiple meteor connection requests fixed * Nested attachments * Nested attachments * fix check status * New login layout (#269) * Public routes navigation * New login/register, login, register * Multiple meteor connection requests fixed * Nested attachments * Button component * TextInput android layout fixed * Register fixed * Thinner close modal button * Requests /me after login only one time * Static images moved * fix reconnect * fix ddp * fix custom emoji * New message layout (#273) * Grouping messages * Message layout * Users typing animation * Image attachment layout
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",
"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"
},
"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
}
}