UNPKG

@intercom/intercom-react-native

Version:

React Native wrapper to bridge our iOS and Android SDK

153 lines (152 loc) 3.47 kB
{ "name": "@intercom/intercom-react-native", "version": "8.5.0", "description": "React Native wrapper to bridge our iOS and Android SDK", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "app.plugin.js", "intercom-react-native.podspec", "!lib/typescript/example", "!android/build", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "test": "echo test", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "bob build", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods" }, "keywords": [ "react-native", "ios", "intercom", "messenger", "help center", "articles", "push notifications", "customer support", "android" ], "repository": "https://github.com/intercom/intercom-react-native", "author": "Intercom (https://www.intercom.com/)", "license": "MIT", "bugs": { "url": "https://www.intercom.com/" }, "homepage": "https://www.intercom.com/", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "devDependencies": { "@expo/config-plugins": "^7.9.1", "@react-native-community/eslint-config": "3.2.0", "@react-native/typescript-config": "0.73.1", "@types/jest": "29.5.12", "@types/mocha": "10.0.6", "@types/react": "18.2.6", "@wdio/globals": "9.5.1", "@wdio/mocha-framework": "8.33.1", "eslint": "8.19.0", "eslint-config-prettier": "8.10.0", "eslint-plugin-prettier": "5.1.3", "jest": "29.6.3", "metro-react-native-babel-preset": "^0.77.0", "pod-install": "0.2.0", "prettier": "3.0.0", "react": "18.2.0", "react-native": "^0.74.0", "react-native-builder-bob": "0.23.2", "typescript": "5.0.4", "webdriverio": "9.5.1" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/sandboxes/node_modules", "<rootDir>/lib/" ] }, "eslintConfig": { "root": true, "ignorePatterns": [ "example/e2e/**" ], "env": { "mocha": true }, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/", "sandboxes/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "resolutions": { "@types/react": "18.2.6", "string-width": "4.2.3", "wrap-ansi": "7.0.0" }, "engines": { "node": ">=18" }, "dependencies": { "node-fetch": "^2.6.1" } }