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": {
|
|
|
|
"start": "node node_modules/react-native/local-cli/cli.js 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 .",
|
2017-08-18 15:50:48 +00:00
|
|
|
"ci": "eslint . && jest && 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",
|
2017-11-22 14:04:44 +00:00
|
|
|
"storybook": "storybook start -p 7007",
|
|
|
|
"snyk-protect": "snyk protect",
|
2018-04-03 16:24:59 +00:00
|
|
|
"fabric-ios": "./scripts/fabric-ios.sh",
|
2018-06-20 13:40:33 +00:00
|
|
|
"fabric-android": "./scripts/fabric-android.sh",
|
|
|
|
"postinstall": "cp ./temp/react.gradle ./node_modules/react-native"
|
2017-08-03 18:23:43 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
"rnpm": {
|
|
|
|
"assets": [
|
|
|
|
"resources/fonts"
|
|
|
|
]
|
|
|
|
},
|
2017-08-03 18:23:43 +00:00
|
|
|
"dependencies": {
|
2018-01-15 20:43:52 +00:00
|
|
|
"@remobile/react-native-toast": "^1.0.7",
|
2018-07-10 13:40:32 +00:00
|
|
|
"@storybook/addons": "^3.4.8",
|
|
|
|
"@storybook/react-native": "^3.4.8",
|
2018-06-13 01:29:18 +00:00
|
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
2018-05-21 17:26:39 +00:00
|
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
2017-08-16 22:51:37 +00:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2018-01-30 19:48:26 +00:00
|
|
|
"babel-preset-expo": "^4.0.0",
|
2018-01-09 17:12:55 +00:00
|
|
|
"deep-equal": "^1.0.1",
|
2017-11-28 17:47:56 +00:00
|
|
|
"ejson": "^2.1.2",
|
2018-07-17 19:10:27 +00:00
|
|
|
"js-base64": "^2.4.6",
|
2018-06-13 01:33:00 +00:00
|
|
|
"js-sha256": "^0.9.0",
|
2018-05-21 17:26:39 +00:00
|
|
|
"lodash": "^4.17.10",
|
2018-05-29 17:09:20 +00:00
|
|
|
"markdown-it-flowdock": "^0.3.7",
|
2018-06-13 01:29:18 +00:00
|
|
|
"moment": "^2.22.2",
|
2018-07-10 13:40:32 +00:00
|
|
|
"prop-types": "^15.6.2",
|
|
|
|
"react": "^16.4.1",
|
2018-01-09 17:12:55 +00:00
|
|
|
"react-clone-referenced-element": "^1.0.1",
|
2017-11-13 20:51:36 +00:00
|
|
|
"react-emojione": "^5.0.0",
|
2018-05-21 17:26:39 +00:00
|
|
|
"react-native": "^0.55.4",
|
|
|
|
"react-native-actionsheet": "^2.4.2",
|
|
|
|
"react-native-audio": "^4.1.3",
|
2018-07-10 13:40:32 +00:00
|
|
|
"react-native-dialog": "^5.0.0",
|
2018-04-03 16:24:59 +00:00
|
|
|
"react-native-fabric": "^0.5.1",
|
2018-05-21 17:26:39 +00:00
|
|
|
"react-native-fast-image": "^4.0.14",
|
2018-07-17 19:10:27 +00:00
|
|
|
"react-native-i18n": "^2.0.14",
|
|
|
|
"react-native-image-crop-picker": "git+https://github.com/RocketChat/react-native-image-crop-picker.git",
|
|
|
|
"react-native-image-zoom-viewer": "^2.2.13",
|
2018-07-10 13:40:32 +00:00
|
|
|
"react-native-keyboard-aware-scroll-view": "^0.6.0",
|
|
|
|
"react-native-keyboard-input": "^5.2.3",
|
|
|
|
"react-native-keyboard-tracking-view": "^5.4.4",
|
2018-07-17 19:10:27 +00:00
|
|
|
"react-native-markdown-renderer": "^3.2.8",
|
|
|
|
"react-native-meteor": "^1.4.0",
|
|
|
|
"react-native-modal": "^6.4.0",
|
2018-07-10 13:40:32 +00:00
|
|
|
"react-native-navigation": "^1.1.474",
|
|
|
|
"react-native-notifications": "^1.1.19",
|
2018-02-08 14:08:50 +00:00
|
|
|
"react-native-optimized-flatlist": "^1.0.4",
|
2018-07-17 19:10:27 +00:00
|
|
|
"react-native-picker-select": "^4.0.0",
|
2018-01-30 19:48:26 +00:00
|
|
|
"react-native-responsive-ui": "^1.1.1",
|
2018-02-14 15:48:21 +00:00
|
|
|
"react-native-safari-view": "^2.1.0",
|
2018-01-16 18:48:05 +00:00
|
|
|
"react-native-scrollable-tab-view": "^0.8.0",
|
2017-12-02 13:19:58 +00:00
|
|
|
"react-native-slider": "^0.11.0",
|
2018-07-10 13:40:32 +00:00
|
|
|
"react-native-svg": "^6.4.1",
|
2017-11-13 12:49:19 +00:00
|
|
|
"react-native-svg-image": "^2.0.1",
|
2018-04-24 19:34:03 +00:00
|
|
|
"react-native-vector-icons": "^4.6.0",
|
2018-07-10 13:40:32 +00:00
|
|
|
"react-native-video": "^3.0.0",
|
|
|
|
"react-native-video-controls": "^2.2.3",
|
|
|
|
"react-native-zeroconf": "^0.9.0",
|
2017-08-13 01:35:09 +00:00
|
|
|
"react-redux": "^5.0.6",
|
2018-07-10 13:40:32 +00:00
|
|
|
"realm": "^2.12.0",
|
2018-04-24 19:34:03 +00:00
|
|
|
"redux": "^4.0.0",
|
|
|
|
"redux-enhancer-react-native-appstate": "^0.3.1",
|
2017-11-13 11:36:03 +00:00
|
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
2017-11-13 12:49:19 +00:00
|
|
|
"redux-saga": "^0.16.0",
|
2018-07-10 13:40:32 +00:00
|
|
|
"regenerator-runtime": "^0.12.0",
|
2018-07-17 19:10:27 +00:00
|
|
|
"rn-fetch-blob": "^0.10.11",
|
2018-07-10 13:40:32 +00:00
|
|
|
"snyk": "^1.88.1",
|
2017-11-28 11:01:18 +00:00
|
|
|
"strip-ansi": "^4.0.0"
|
2017-08-03 18:23:43 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-07-10 13:40:32 +00:00
|
|
|
"@storybook/addon-storyshots": "^3.4.8",
|
|
|
|
"babel-eslint": "^8.2.5",
|
|
|
|
"babel-jest": "^23.2.0",
|
2017-11-18 20:17:24 +00:00
|
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.10",
|
|
|
|
"babel-preset-es2015": "^6.24.1",
|
2018-04-24 19:34:03 +00:00
|
|
|
"babel-preset-react-native": "^4.0.0",
|
2018-05-21 17:26:39 +00:00
|
|
|
"codecov": "^3.0.2",
|
2018-07-10 13:40:32 +00:00
|
|
|
"detox": "^8.0.0",
|
2018-04-24 19:34:03 +00:00
|
|
|
"eslint": "^4.19.1",
|
2017-11-13 12:49:19 +00:00
|
|
|
"eslint-config-airbnb": "^16.1.0",
|
2018-05-21 17:26:39 +00:00
|
|
|
"eslint-plugin-import": "^2.12.0",
|
2017-12-20 19:20:06 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
2018-06-13 01:29:18 +00:00
|
|
|
"eslint-plugin-react": "^7.9.1",
|
2017-11-29 19:46:11 +00:00
|
|
|
"eslint-plugin-react-native": "^3.2.0",
|
2017-11-13 13:07:35 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2018-07-10 13:40:32 +00:00
|
|
|
"jest": "^23.2.0",
|
|
|
|
"jest-cli": "^23.2.0",
|
2018-06-13 01:29:18 +00:00
|
|
|
"mocha": "^5.2.0",
|
2018-07-10 13:40:32 +00:00
|
|
|
"react-dom": "^16.4.1",
|
|
|
|
"react-native-bundle-visualizer": "^1.3.0",
|
|
|
|
"react-test-renderer": "^16.4.1",
|
2018-07-17 19:10:27 +00:00
|
|
|
"reactotron-react-native": "^2.0.0",
|
|
|
|
"reactotron-redux": "^2.0.0",
|
|
|
|
"reactotron-redux-saga": "^2.0.0"
|
2017-08-03 18:23:43 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
2018-05-23 13:39:18 +00:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"e2e"
|
|
|
|
],
|
2017-08-18 15:50:48 +00:00
|
|
|
"preset": "react-native",
|
|
|
|
"coverageDirectory": "./coverage/",
|
2017-11-13 13:07:35 +00:00
|
|
|
"collectCoverage": true,
|
|
|
|
"moduleNameMapper": {
|
|
|
|
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
|
|
|
|
}
|
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",
|
|
|
|
"build": "xcodebuild -project ios/RocketChatRN.xcodeproj -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
|
|
"type": "ios.simulator",
|
|
|
|
"name": "iPhone 7"
|
|
|
|
}
|
|
|
|
}
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|
|
|
|
}
|