UNPKG

react-native-google-leaderboards-and-achievements

Version:

A React Native module for integrating Google Play Games Services on Android. Supports leaderboard score submissions, achievement unlocking and incrementing, and launching the native UI for leaderboards and achievements. Ideal for cross-platform mobile gam

197 lines (196 loc) 5.03 kB
{ "name": "react-native-google-leaderboards-and-achievements", "version": "2.2.1", "description": "A React Native module for integrating Google Play Games Services on Android. Supports leaderboard score submissions, achievement unlocking and incrementing, and launching the native UI for leaderboards and achievements. Ideal for cross-platform mobile games requiring native-level game service features." , "source": "src/index.tsx", "main": "lib/module/index.js", "types": "lib/typescript/src/index.d.ts", "exports": { ".": { "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-leaderboards-and-achievements-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" }, "keywords": [ "react-native", "android", "ios", "leaderboards", "google-play-games", "play-games-services", "game-services", "google-leaderboards", "submit-score", "achievements", "increment-achievement", "unlock-achievement", "show-achievements", "cross-platform", "mobile-games", "react-native-module", "native-modules", "expo-compatible", "react-native-google-play-games", "gamification", "mobile-game-sdk", "firebase-games", "play-games-leaderboards", "game-dev-tools" ] , "repository": { "type": "git", "url": "git+https://github.com/Emperorx3m/react-native-google-leaderboards-and-achievements.git" }, "author": "Emperorx3m <nextwaveclub.us@gmail.com> (https://github.com/Emperorx3m)", "license": "MIT", "bugs": { "url": "https://github.com/Emperorx3m/react-native-google-leaderboards-and-achievements/issues" }, "homepage": "https://github.com/Emperorx3m/react-native-google-leaderboards-and-achievements#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.1", "@react-native/eslint-config": "^0.78.0", "@release-it/conventional-changelog": "^9.0.2", "@types/jest": "^29.5.5", "@types/react": "^19.0.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.0.0", "react-native": "0.78.2", "react-native-builder-bob": "^0.40.5", "release-it": "^17.10.0", "turbo": "^1.10.7", "typescript": "^5.2.2" }, "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": [ "codegen", [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNGoogleLeaderboardsSpec", "type": "modules", "jsSrcsDir": "src", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.googleleaderboards" }, "includesGeneratedCode": true }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.49.8" }, "funding": { "type": "individual", "url": "https://www.buymeacoffee.com/emperorx3m" } }