145 lines
5.0 KiB
JSON
145 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",
|
|
"snyk-protect": "snyk protect",
|
|
"fabric-ios": "./scripts/fabric-ios.sh",
|
|
"fabric-android": "./scripts/fabric-android.sh",
|
|
"postinstall": "cp ./temp/react.gradle ./node_modules/react-native"
|
|
},
|
|
"rnpm": {
|
|
"assets": [
|
|
"resources/fonts"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/polyfill": "^7.0.0-beta.47",
|
|
"@remobile/react-native-toast": "^1.0.7",
|
|
"@storybook/addons": "^3.4.10",
|
|
"@storybook/react-native": "^3.4.10",
|
|
"deep-equal": "^1.0.1",
|
|
"ejson": "^2.1.2",
|
|
"js-base64": "^2.4.8",
|
|
"js-sha256": "^0.9.0",
|
|
"lodash": "^4.17.10",
|
|
"markdown-it-flowdock": "^0.3.7",
|
|
"moment": "^2.22.2",
|
|
"prop-types": "^15.6.2",
|
|
"react": "^16.4.2",
|
|
"react-clone-referenced-element": "^1.0.1",
|
|
"react-emojione": "^5.0.0",
|
|
"react-native": "^0.56.0",
|
|
"react-native-actionsheet": "^2.4.2",
|
|
"react-native-audio": "^4.1.3",
|
|
"react-native-dialog": "^5.1.0",
|
|
"react-native-fabric": "^0.5.1",
|
|
"react-native-fast-image": "^4.0.14",
|
|
"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.14",
|
|
"react-native-keyboard-aware-scroll-view": "^0.6.0",
|
|
"react-native-keyboard-input": "^5.2.3",
|
|
"react-native-keyboard-tracking-view": "^5.4.4",
|
|
"react-native-markdown-renderer": "^3.2.8",
|
|
"react-native-meteor": "^1.4.0",
|
|
"react-native-modal": "^6.5.0",
|
|
"react-native-navigation": "^1.1.479",
|
|
"react-native-notifications": "git+https://github.com/RocketChat/react-native-notifications.git",
|
|
"react-native-optimized-flatlist": "^1.0.4",
|
|
"react-native-picker-select": "^4.2.0",
|
|
"react-native-responsive-ui": "^1.1.1",
|
|
"react-native-safari-view": "^2.1.0",
|
|
"react-native-scrollable-tab-view": "git+https://github.com/skv-headless/react-native-scrollable-tab-view.git",
|
|
"react-native-slider": "^0.11.0",
|
|
"react-native-svg": "^6.5.2",
|
|
"react-native-svg-image": "^2.0.1",
|
|
"react-native-vector-icons": "^5.0.0",
|
|
"react-native-video": "^3.2.0",
|
|
"react-native-video-controls": "^2.2.3",
|
|
"react-native-zeroconf": "^0.9.0",
|
|
"react-redux": "^5.0.6",
|
|
"realm": "^2.14.2",
|
|
"redux": "^4.0.0",
|
|
"redux-enhancer-react-native-appstate": "^0.3.1",
|
|
"redux-immutable-state-invariant": "^2.1.0",
|
|
"redux-saga": "^0.16.0",
|
|
"regenerator-runtime": "^0.12.1",
|
|
"rn-fetch-blob": "^0.10.12",
|
|
"snyk": "^1.90.0",
|
|
"strip-ansi": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.0.0-beta.47",
|
|
"@babel/plugin-proposal-decorators": "7.0.0-beta.47",
|
|
"@storybook/addon-storyshots": "^3.4.10",
|
|
"babel-core": "^7.0.0-beta.47",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-jest": "^23.4.2",
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
"babel-preset-react-native": "^5.0.2",
|
|
"codecov": "^3.0.4",
|
|
"detox": "^8.1.4",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-plugin-import": "^2.13.0",
|
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
"eslint-plugin-react": "^7.10.0",
|
|
"eslint-plugin-react-native": "^3.2.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^23.4.2",
|
|
"jest-cli": "^23.4.2",
|
|
"mocha": "^5.2.0",
|
|
"react-dom": "^16.4.2",
|
|
"react-native-bundle-visualizer": "^1.3.0",
|
|
"react-test-renderer": "^16.4.2",
|
|
"reactotron-react-native": "^2.0.0",
|
|
"reactotron-redux": "^2.0.0",
|
|
"reactotron-redux-saga": "^2.0.0"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"e2e"
|
|
],
|
|
"preset": "react-native",
|
|
"coverageDirectory": "./coverage/",
|
|
"collectCoverage": true,
|
|
"moduleNameMapper": {
|
|
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|