UNPKG

react-native-purchases-ui

Version:

React Native in-app purchases and subscriptions made easy. Supports iOS and Android.

129 lines (128 loc) 3.22 kB
{ "name": "react-native-purchases-ui", "title": "React Native Purchases UI", "version": "9.6.12", "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android.", "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", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "ios", "!ios/build", "!ios/RNPaywalls.xcodeproj/project.xcworkspace", "!ios/RNPaywalls.xcodeproj/xcuserdata", "cpp", "*.podspec", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "tslint": "tslint -c tslint.json 'src/*.ts'", "prepare": "bob build", "apitest": "echo \"Running react-native-purchases-ui API type checks\" && tsc --project apitesters/tsconfig.json" }, "repository": { "type": "git", "url": "git+https://github.com/revenuecat/react-native-purchases.git", "baseUrl": "https://github.com/revenuecat/react-native-purchases" }, "keywords": [ "react-native", "in-app purchase", "subscriptions", "iap", "iOS", "Apple", "Android" ], "author": "RevenueCat, Inc.", "license": "MIT", "readmeFilename": "README.md", "devDependencies": { "@types/jest": "^29.5.12", "@types/react": "^18.2.44", "@types/react-dom": "~18.2.0", "babel-plugin-react-native-web": "^0.20.0", "jest": "^29.7.0", "jest-react-native": "^18.0.0", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.73.5", "react-native-builder-bob": "^0.20.0", "ts-jest": "^29.1.2", "tslint": "^5.20.0", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.25.11", "typescript": "^5.2.2" }, "resolutions": { "@types/react": "^18.2.44", "@types/react-native": "0.73.5", "@types/react-dom": "18.2.0" }, "peerDependencies": { "react": "*", "react-native": ">= 0.73.0", "react-native-purchases": "9.6.12", "react-native-web": "*" }, "peerDependenciesMeta": { "react-native-web": { "optional": true } }, "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/lib/" ], "moduleFileExtensions": [ "js" ], "transform": { "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.js$", "testPathIgnorePatterns": [ "\\.snap$", "<rootDir>/node_modules/" ], "cacheDirectory": ".jest/cache", "setupFiles": [ "./scripts/setupJest.js" ] }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "dependencies": { "@revenuecat/purchases-typescript-internal": "17.25.0" } }