{ "name": "react-native-inappbrowser-nitro", "version": "3.1.0", "description": "react-native-inappbrowser-nitro is a react native package built with Nitro", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/src/index.d.ts", "react-native": "src/index", "source": "src/index", "sideEffects": false, "exports": { ".": { "react-native": "./src/index.ts", "source": "./src/index.ts", "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" } }, "./hooks": { "react-native": "./src/hooks/useInAppBrowser.ts", "source": "./src/hooks/useInAppBrowser.ts", "import": { "types": "./lib/typescript/module/src/hooks/useInAppBrowser.d.ts", "default": "./lib/module/hooks/useInAppBrowser.js" }, "require": { "types": "./lib/typescript/commonjs/src/hooks/useInAppBrowser.d.ts", "default": "./lib/commonjs/hooks/useInAppBrowser.js" } }, "./types": { "react-native": "./src/types.ts", "source": "./src/types.ts", "import": { "types": "./lib/typescript/module/src/types.d.ts", "default": "./lib/module/types.js" }, "require": { "types": "./lib/typescript/commonjs/src/types.d.ts", "default": "./lib/commonjs/types.js" } }, "./package.json": "./package.json" }, "scripts": { "test": "node --test tests/*.test.mjs", "typecheck": "tsc --noEmit", "lint": "biome check", "lint:fix": "biome check --write", "format": "biome format --write", "clean": "git clean -dfX", "release": "release-it", "build": "npm run typecheck && bob build", "codegen": "nitrogen --logLevel=\"debug\" && npm run build && node post-script.js", "prepare": "husky", "prepublishOnly": "yarn lint && yarn codegen" }, "keywords": [ "react-native", "in-app-browser", "custom-tabs", "safari-view-controller", "webview", "browser", "nitro", "android", "ios", "oauth", "authentication", "sso", "chrome-custom-tabs", "safari", "react-native-inappbrowser-nitro" ], "files": [ "src", "lib", "nitrogen", "cpp", "nitro.json", "android/build.gradle", "android/consumer-rules.pro", "android/fix-prefab.gradle", "android/gradle.properties", "android/CMakeLists.txt", "android/src", "ios/**/*.h", "ios/**/*.m", "ios/**/*.mm", "ios/**/*.cpp", "ios/**/*.swift", "*.podspec", "README.md" ], "workspaces": [ "example" ], "repository": "https://github.com/mCodex/react-native-inappbrowser-nitro.git", "author": "Mateus Andrade", "license": "MIT", "bugs": "https://github.com/mCodex/react-native-inappbrowser-nitro/issues", "homepage": "https://github.com/mCodex/react-native-inappbrowser-nitro#readme", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@biomejs/biome": "^2.6.5", "@release-it/conventional-changelog": "^12.0.2", "@types/jest": "^30.0.0", "@types/react": "19.3.0", "babel-plugin-react-compiler": "^19.1.0-rc.3", "husky": "^9.1.7", "lint-staged": "^17.6.0", "nitrogen": "0.37.2", "react": "19.3.1", "react-native": "0.88", "react-native-builder-bob": "^0.44.1", "react-native-nitro-modules": "0.37.2", "release-it": "^21.1.2", "typescript": "^7.0.2" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": "*" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true, "sourceMaps": false, "configFile": true } ], [ "module", { "esm": true, "sourceMaps": false, "configFile": true } ], [ "typescript", { "project": "tsconfig.json" } ] ] }, "packageManager": "yarn@4.18.1", "lint-staged": { "*.{js,jsx,ts,tsx,cjs,mjs,json}": [ "biome check --write --no-errors-on-unmatched" ] } }