UNPKG

@api.video/react-native-livestream

Version:

RTMP live streaming library from api.video

182 lines 4.84 kB
{ "name": "@api.video/react-native-livestream", "version": "2.0.2", "description": "RTMP live streaming library from api.video", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "bob build", "release": "release-it", "example": "yarn --cwd example", "build:android": "cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a", "build:ios": "cd example/ios && xcodebuild -workspace Example.xcworkspace -scheme Example -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build" }, "keywords": [ "react-native", "ios", "android", "video", "stream", "live-stream" ], "repository": "https://github.com/apivideo/api.video-reactnative-live-stream", "author": "api.video ecosystem team <ecosystem@api.video> (https://api.video)", "license": "MIT", "bugs": { "url": "https://github.com/apivideo/api.video-reactnative-live-stream/issues" }, "homepage": "https://github.com/apivideo/api.video-reactnative-live-stream#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.2.2", "@react-native-community/cli": "15.0.0", "@react-native-community/cli-platform-android": "15.0.0", "@react-native-community/cli-platform-ios": "15.0.0", "@react-native-community/eslint-config": "^3.2.0", "@react-native/babel-preset": "0.76.1", "@react-native/eslint-config": "0.76.1", "@react-native/typescript-config": "0.76.1", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "~18.2.6", "@types/react-native": "0.70.0", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.19.0", "jest": "^29.6.3", "pod-install": "^0.1.38", "prettier": "^2.8.8", "react": "18.3.1", "react-native": "0.76.1", "react-native-builder-bob": "^0.20.4", "release-it": "^15.8.0", "turbo": "^1.10.7", "typescript": "5.0.4" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*" }, "engines": { "node": ">= 18" }, "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-community", "@react-native", "prettier" ], "plugins": [ "jest" ], "rules": { "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": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "ApiVideoLiveStreamView", "type": "all", "jsSrcsDir": "./src", "android": { "javaPackageName": "video.api.reactnative.livestream" } }, "packageManager": "yarn@3.6.4" }