137 lines
4.5 KiB
JSON
137 lines
4.5 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",
|
|
"prepare": "npm run snyk-protect; exit 0",
|
|
"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": {
|
|
"@remobile/react-native-toast": "^1.0.7",
|
|
"@storybook/addons": "^3.4.8",
|
|
"@storybook/react-native": "^3.4.8",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-expo": "^4.0.0",
|
|
"deep-equal": "^1.0.1",
|
|
"ejson": "^2.1.2",
|
|
"js-base64": "^2.4.5",
|
|
"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.1",
|
|
"react-clone-referenced-element": "^1.0.1",
|
|
"react-emojione": "^5.0.0",
|
|
"react-native": "^0.55.4",
|
|
"react-native-actionsheet": "^2.4.2",
|
|
"react-native-audio": "^4.1.3",
|
|
"react-native-dialog": "^5.0.0",
|
|
"react-native-fabric": "^0.5.1",
|
|
"react-native-fast-image": "^4.0.14",
|
|
"react-native-fetch-blob": "^0.10.8",
|
|
"react-native-i18n": "^2.0.12",
|
|
"react-native-image-picker": "^0.26.10",
|
|
"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": "git+https://github.com/RocketChat/react-native-markdown-renderer.git",
|
|
"react-native-meteor": "^1.3.0",
|
|
"react-native-modal": "^6.1.0",
|
|
"react-native-navigation": "^1.1.474",
|
|
"react-native-notifications": "^1.1.19",
|
|
"react-native-optimized-flatlist": "^1.0.4",
|
|
"react-native-picker-select": "^3.1.3",
|
|
"react-native-responsive-ui": "^1.1.1",
|
|
"react-native-safari-view": "^2.1.0",
|
|
"react-native-scrollable-tab-view": "^0.8.0",
|
|
"react-native-slider": "^0.11.0",
|
|
"react-native-svg": "^6.4.1",
|
|
"react-native-svg-image": "^2.0.1",
|
|
"react-native-vector-icons": "^4.6.0",
|
|
"react-native-video": "^3.0.0",
|
|
"react-native-video-controls": "^2.2.3",
|
|
"react-native-zeroconf": "^0.9.0",
|
|
"react-redux": "^5.0.6",
|
|
"realm": "^2.12.0",
|
|
"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.0",
|
|
"snyk": "^1.88.1",
|
|
"strip-ansi": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-storyshots": "^3.4.8",
|
|
"babel-eslint": "^8.2.5",
|
|
"babel-jest": "^23.2.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.10",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-react-native": "^4.0.0",
|
|
"codecov": "^3.0.2",
|
|
"detox": "^8.0.0",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.9.1",
|
|
"eslint-plugin-react-native": "^3.2.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^23.2.0",
|
|
"jest-cli": "^23.2.0",
|
|
"mocha": "^5.2.0",
|
|
"react-dom": "^16.4.1",
|
|
"react-native-bundle-visualizer": "^1.3.0",
|
|
"react-test-renderer": "^16.4.1",
|
|
"reactotron-react-native": "^2.0.0-beta.10",
|
|
"reactotron-redux": "^1.13.0",
|
|
"reactotron-redux-saga": "^1.13.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"
|
|
}
|
|
},
|
|
"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 -project ios/RocketChatRN.xcodeproj -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
"type": "ios.simulator",
|
|
"name": "iPhone 7"
|
|
}
|
|
}
|
|
}
|
|
}
|