UNPKG

opentok-react-native

Version:
232 lines (231 loc) 5.61 kB
{ "name": "opentok-react-native", "version": "2.32.1", "description": "Vonage Video client SDK for React Native", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "exports": { ".": { "node": "./app.plugin.js", "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "app.plugin": "./app.plugin.js", "expo": { "plugin": "./app.plugin.js" }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "app.plugin.js", "react-native.config.js", "tsconfig.build.json", "tsconfig.json", "expo", "!expo/node_modules", "!expo/tsconfig.json", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "lint-fix": "eslint \"**/*.{js,ts,tsx}\" --fix", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build && node build-expo.js && mkdir -p android/src/main/java/com/facebook/react/viewmanagers && cp -R android/generated/java/com/facebook/react/viewmanagers/* android/src/main/java/com/facebook/react/viewmanagers/ || true", "release": "release-it", "version:local": "node -pe 'require(\"./package.json\").version'", "version:published": "npm show opentok-react-native version" }, "keywords": [ "react-native", "vonage", "webrtc", "ios", "android" ], "repository": { "type": "git", "url": "https://github.com/Vonage/vonage-video-react-native-sdk.git" }, "author": { "name": "Vonage Video API", "email": "support@api.vonage.com" }, "license": "Adobe-2", "bugs": { "url": "https://github.com/opentok/opentok-react-native/issues" }, "homepage": "https://developer.vonage.com/en/video/overview", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "axios": "^1.13.2", "deprecated-react-native-prop-types": "5.0.0", "react-native-uuid": "^2.0.3", "underscore": "^1.13.7" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@evilmartians/lefthook": "^1.12.3", "@expo/config-plugins": "^54.0.4", "@react-native-community/cli": "20.0.1", "@react-native/babel-preset": "0.81.1", "@react-native/eslint-config": "0.81.1", "@release-it/conventional-changelog": "^10.0.1", "@types/jest": "^29.5.14", "@types/react": "^19.1.0", "@typescript-eslint/parser": "^8.46.3", "commitlint": "^19.8.1", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "prettier": "^3.6.2", "react": "19.1.0", "react-native": "0.81.1", "react-native-builder-bob": "^0.40.14", "release-it": "^19.0.4", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "react-native": "src/index.tsx", "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNOpentokReactNativeSpec", "type": "all", "jsSrcsDir": "src", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.opentokreactnative" }, "includesGeneratedCode": true, "fabricEnabled": true }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.54.8" } }