UNPKG

@intercom/intercom-react-native

Version:

React Native wrapper to bridge our iOS and Android SDK

194 lines (193 loc) 4.59 kB
{ "name": "@intercom/intercom-react-native", "version": "9.2.0", "description": "React Native wrapper to bridge our iOS and Android SDK", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/index.d.ts", "exports": { ".": { "react-native": { "types": "./lib/typescript/module/index.d.ts", "default": "./lib/module/index.js" }, "module": { "types": "./lib/typescript/module/index.d.ts", "default": "./lib/module/index.js" }, "module-sync": { "types": "./lib/typescript/module/index.d.ts", "default": "./lib/module/index.js" }, "default": { "types": "./lib/typescript/commonjs/index.d.ts", "default": "./lib/commonjs/index.js" } }, "./app.plugin.js": "./app.plugin.js", "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "app.plugin.js", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build examples/example/android/build examples/example/android/app/build examples/example/ios/build lib", "prepare": "bob build", "example": "yarn --cwd examples/example", "pods": "cd examples/example && pod-install --quiet", "bootstrap": "yarn examples/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/babel-preset": "0.81.0", "@react-native/typescript-config": "0.81.0", "@types/jest": "29.5.12", "@types/react": "18.2.6", "del-cli": "^5.1.0", "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.81.0", "react-native-builder-bob": "0.40.13", "semver": "^7.7.2", "typescript": "5.0.4" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "examples/*", "!examples/expo-example", "!examples/with-notifications" ], "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/examples/*/node_modules", "<rootDir>/lib/" ] }, "eslintConfig": { "root": true, "ignorePatterns": [ "examples/*/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/", "examples/*/node_modules/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "packageManager": "yarn@3.6.1", "engines": { "node": ">=18" }, "codegenConfig": { "name": "IntercomReactNativeSpec", "type": "all", "jsSrcsDir": "src", "android": { "javaPackageName": "com.intercom.reactnative" } } }