146 lines
5.0 KiB
JSON
146 lines
5.0 KiB
JSON
{
|
|
"name": "rocket-chat-reactnative",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
"test": "jest",
|
|
"test-update": "jest --updateSnapshot",
|
|
"lint": "eslint .",
|
|
"ci": "eslint . && jest && codecov",
|
|
"ios": "react-native run-ios",
|
|
"log-android": "react-native log-android",
|
|
"android": "react-native run-android",
|
|
"storybook": "storybook start -p 7007 | react-native start --projectRoot storybook",
|
|
"snyk-protect": "snyk protect"
|
|
},
|
|
"rnpm": {
|
|
"assets": [
|
|
"resources/fonts"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@remobile/react-native-toast": "^1.0.7",
|
|
"@rocket.chat/sdk": "1.0.0-alpha.25",
|
|
"deep-equal": "^1.0.1",
|
|
"ejson": "^2.1.2",
|
|
"js-base64": "^2.5.1",
|
|
"js-sha256": "^0.9.0",
|
|
"jsc-android": "^236355.1.1",
|
|
"lodash": "^4.17.11",
|
|
"markdown-it-flowdock": "^0.3.7",
|
|
"moment": "^2.24.0",
|
|
"prop-types": "^15.6.2",
|
|
"react": "16.6.3",
|
|
"react-emojione": "^5.0.1",
|
|
"react-native": "^0.57.8",
|
|
"react-native-action-sheet": "^2.1.0",
|
|
"react-native-audio": "^4.3.0",
|
|
"react-native-device-info": "^0.25.1",
|
|
"react-native-dialog": "^5.5.0",
|
|
"react-native-fabric": "github:corymsmith/react-native-fabric#523a4edab3b2bf55ea9eeea2cf0dde82c5c29dd4",
|
|
"react-native-fast-image": "^5.0.11",
|
|
"react-native-gesture-handler": "^1.0.15",
|
|
"react-native-i18n": "^2.0.15",
|
|
"react-native-image-crop-picker": "git+https://github.com/RocketChat/react-native-image-crop-picker.git",
|
|
"react-native-image-zoom-viewer": "^2.2.25",
|
|
"react-native-keyboard-aware-scroll-view": "^0.7.4",
|
|
"react-native-keyboard-input": "^5.3.1",
|
|
"react-native-keyboard-tracking-view": "^5.5.0",
|
|
"react-native-markdown-renderer": "^3.2.8",
|
|
"react-native-modal": "^7.0.2",
|
|
"react-native-navigation": "^2.8.0",
|
|
"react-native-notifications": "1.1.23",
|
|
"react-native-optimized-flatlist": "^1.0.4",
|
|
"react-native-picker-select": "^5.2.3",
|
|
"react-native-responsive-ui": "^1.1.1",
|
|
"react-native-safari-view": "^2.1.0",
|
|
"react-native-safe-area-view": "^0.12.0",
|
|
"react-native-scrollable-tab-view": "0.10.0",
|
|
"react-native-slider": "^0.11.0",
|
|
"react-native-vector-icons": "^6.2.0",
|
|
"react-native-video": "^4.3.1",
|
|
"react-native-video-controls": "^2.2.3",
|
|
"react-redux": "^6.0.0",
|
|
"realm": "^2.22.0",
|
|
"redux": "^4.0.1",
|
|
"redux-enhancer-react-native-appstate": "^0.3.1",
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
|
"redux-saga": "^0.16.2",
|
|
"rn-fetch-blob": "^0.10.15",
|
|
"semver": "^5.6.0",
|
|
"snyk": "^1.122.3",
|
|
"strip-ansi": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.0",
|
|
"@babel/plugin-proposal-decorators": "^7.1.0",
|
|
"@storybook/addon-actions": "^4.1.11",
|
|
"@storybook/addon-links": "^4.1.11",
|
|
"@storybook/addon-storyshots": "^4.1.11",
|
|
"@storybook/addons": "^4.1.11",
|
|
"@storybook/react-native": "^4.1.11",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^9.0.0",
|
|
"babel-jest": "^23.6.0",
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
"babel-runtime": "^6.26.0",
|
|
"codecov": "^3.1.0",
|
|
"detox": "^10.0.5",
|
|
"eslint": "^5.6.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.2",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"eslint-plugin-react-native": "^3.3.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^23.6.0",
|
|
"jest-cli": "^23.6.0",
|
|
"metro-react-native-babel-preset": "^0.45.6",
|
|
"mocha": "^5.2.0",
|
|
"otp.js": "^1.1.0",
|
|
"react-dom": "16.6.3",
|
|
"react-test-renderer": "16.6.3",
|
|
"reactotron-react-native": "^2.1.5",
|
|
"reactotron-redux": "^2.1.3",
|
|
"reactotron-redux-saga": "^2.1.4",
|
|
"regenerator-runtime": "^0.13.1"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"e2e"
|
|
],
|
|
"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": {
|
|
"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",
|
|
"name": "iPhone 7"
|
|
},
|
|
"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",
|
|
"name": "iPhone 7"
|
|
}
|
|
}
|
|
}
|
|
}
|