UNPKG

react-native-google-auth

Version:

🚀 Modern React Native Google Authentication library with TypeScript support. Features latest Google Sign-In SDK, OAuth 2.0, One Tap Sign-In, token management, and cross-platform iOS/Android integration. Perfect for implementing Google Login, Google SSO,

187 lines (186 loc) • 4.66 kB
{ "name": "react-native-google-auth", "version": "1.0.0", "description": "🚀 Modern React Native Google Authentication library with TypeScript support. Features latest Google Sign-In SDK, OAuth 2.0, One Tap Sign-In, token management, and cross-platform iOS/Android integration. Perfect for implementing Google Login, Google SSO, and Google OAuth in React Native apps.", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.tsx", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-google-auth-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it --only-version" }, "keywords": [ "react-native", "google-auth", "google-signin", "google-login", "google-oauth", "google-sso", "authentication", "oauth2", "openid-connect", "social-login", "credential-manager", "one-tap-signin", "ios", "android", "typescript", "cross-platform", "mobile-auth", "google-identity", "react-native-auth", "google-api", "signin-sdk", "mobile-oauth", "user-authentication", "google-services", "react-native-google" ], "repository": { "type": "git", "url": "git+https://github.com/sbaiahmed1/react-native-google-auth.git" }, "author": "Ahmed Sbai <ahmedclubust@gmail.com> (https://github.com/sbaiahmed1)", "license": "MIT", "bugs": { "url": "https://github.com/sbaiahmed1/react-native-google-auth/issues" }, "homepage": "https://github.com/sbaiahmed1/react-native-google-auth#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "^1.2.7", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.22.0", "@evilmartians/lefthook": "^1.5.0", "@react-native-community/cli": "15.0.0-alpha.2", "@react-native/babel-preset": "0.81.0", "@react-native/eslint-config": "^0.78.0", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^19.1.0", "commitlint": "^19.6.1", "del-cli": "^5.1.0", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.3", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.1.0", "react-native": "0.81.0", "react-native-builder-bob": "^0.40.13", "release-it": "^19.0.4", "turbo": "^1.10.7", "typescript": "^5.8.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, "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": { "name": "angular" } } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "GoogleAuthSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.googleauth" } }, "create-react-native-library": { "languages": "kotlin-objc", "type": "turbo-module", "version": "0.53.0" } }