@vonage/client-sdk-video-react-native
Version:
Vonage Video client SDK for React Native
244 lines (243 loc) • 6.11 kB
JSON
{
"name": "@vonage/client-sdk-video-react-native",
"version": "2.33.0",
"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",
"!ios/generated",
"!android/build",
"!android/generated",
"!android/src/main/java/com/facebook",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"test": "jest",
"test:unit": "jest --watch=false",
"test:e2e:ios:build": "detox build-framework-cache && detox build -c ios.sim.debug",
"test:e2e:ios": "detox test -c ios.sim.debug -- --config e2e/jest.config.json",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"lint-fix": "eslint \"**/*.{js,ts,tsx}\" --fix",
"generate:package-info": "node scripts/generate-package-info.js",
"clean": "del-cli android/build e2e/E2ETestingApp/android/build e2e/E2ETestingApp/android/app/build e2e/E2ETestingApp/ios/build lib",
"prepare": "node scripts/generate-package-info.js && bob build && node build-expo.js",
"release": "release-it",
"version:local": "node -pe 'require(\"./package.json\").version'",
"version:published": "npm show @vonage/client-sdk-video-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",
"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",
"detox": "^20.22.0",
"eslint": "^9.35.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"jest": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"mocha": "^11.7.5",
"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": [
"e2e/E2ETestingApp"
],
"packageManager": "yarn@3.6.1",
"jest": {
"preset": "react-native",
"clearMocks": true,
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"modulePathIgnorePatterns": [
"<rootDir>/e2e/E2ETestingApp/node_modules",
"<rootDir>/lib/"
],
"moduleNameMapper": {
"^react-native-uuid$": "<rootDir>/src/__mocks__/react-native-uuid.js"
}
},
"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": {
"android": "android/build/generated/source/codegen",
"ios": "ios/build/generated/ios"
},
"android": {
"javaPackageName": "com.opentokreactnative"
}
},
"create-react-native-library": {
"type": "turbo-module",
"languages": "kotlin-objc",
"version": "0.54.8"
}
}