UNPKG

react-native-webview

Version:

React Native WebView component for iOS, Android, macOS, and Windows

119 lines (118 loc) 3.95 kB
{ "name": "react-native-webview", "version": "14.0.1", "description": "React Native WebView component for iOS, Android, macOS, and Windows", "homepage": "https://github.com/react-native-webview/react-native-webview#readme", "license": "MIT", "author": "Jamon Holmgren <jamon@infinite.red>", "contributors": [ "Thibault Malbranche <malbranche.thibault@gmail.com>" ], "repository": { "type": "git", "url": "https://github.com/react-native-webview/react-native-webview.git" }, "files": [ "android/src", "android/build.gradle", "android/gradle.properties", "apple", "ios", "macos", "windows", "lib", "src", "index.js", "index.d.ts", "react-native-webview.podspec", "react-native.config.js" ], "main": "index.js", "typings": "index.d.ts", "react-native": "src/index.ts", "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "macos": "react-native run-macos --scheme WebviewExample --project-path example/macos", "start": "react-native start", "windows": "install-windows-test-app --project-directory example/windows && react-native run-windows --root example --arch x64", "ci:publish": "bun run semantic-release", "lint:tsgo": "bun run --bun tsgo --noEmit", "lint:oxlint": "bun run --bun oxlint", "lint:oxlint:ci": "bun run --bun oxlint --format=github", "lint:oxfmt": "bun run oxfmt", "lint:oxfmt:ci": "bun run oxfmt --check", "lint": "bun run lint:tsgo && bun run lint:oxlint && bun run lint:oxfmt", "lint:ci": "bun run lint:tsgo && bun run lint:oxlint:ci && bun run lint:oxfmt:ci", "build": "babel --extensions \".ts,.tsx\" --out-dir lib src", "prepare:types": "tsgo --noEmit false --emitDeclarationOnly --declaration --rootDir src --outDir lib", "prepare": "bun run --bun prepare:types && bun run --bun build", "test:windows": "bun run jest --setupFiles=./jest-setups/jest.setup.js", "add:macos": "bun run --bun add react-native-macos@0.73.17" }, "dependencies": { "escape-string-regexp": "^4.0.0", "invariant": "2.2.4" }, "devDependencies": { "@babel/cli": "^7.29.7", "@babel/core": "^7.29.7", "@babel/runtime": "^7.29.7", "@callstack/react-native-visionos": "0.73.8", "@react-native/babel-preset": "0.73.21", "@react-native/eslint-config": "0.73.2", "@react-native/metro-config": "0.73.5", "@react-native/typescript-config": "0.73.1", "@rnx-kit/metro-config": "1.3.15", "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/git": "10.0.1", "@semantic-release/github": "12.0.6", "@semantic-release/npm": "13.1.4", "@semantic-release/release-notes-generator": "14.1.0", "@types/invariant": "^2.2.37", "@types/jest": "^29.5.14", "@types/react": "18.2.61", "@types/selenium-webdriver": "4.0.9", "@typescript/native-preview": "^7.0.0-dev.20260620.1", "appium": "1.17.0", "jest": "^29.7.0", "oxfmt": "0.35.0", "oxlint": "1.50.0", "oxlint-tsgolint": "0.15.0", "react": "18.2.0", "react-native": "0.73.5", "react-native-macos": "0.73.17", "react-native-test-app": "3.7.2", "react-native-windows": "0.73.8", "selenium-appium": "1.0.2", "selenium-webdriver": "4.0.0-alpha.7", "semantic-release": "25.0.3", "typescript": "5.1.3", "winappdriver": "^0.0.7" }, "peerDependencies": { "react": "*", "react-native": "*" }, "codegenConfig": { "name": "RNCWebViewSpec", "type": "all", "jsSrcsDir": "./src", "android": { "javaPackageName": "com.reactnativecommunity.webview" }, "ios": { "componentProvider": { "RNCWebView": "RNCWebView" }, "modulesProvider": { "RNCWebViewModule": "RNCWebViewModule" } } }, "main-internal": "src/index.ts", "rn-docs": { "title": "Webview", "type": "Component" } }