UNPKG

react-native-purchases

Version:

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

101 lines (100 loc) 2.6 kB
{ "name": "react-native-purchases", "title": "React Native Purchases", "version": "7.4.0", "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ", "main": "dist/index.js", "types": "dist/index.d.ts", "source": "src/index", "files": [ "dist", "android", "!android/gradlew*", "!android/.gradle", "!android/gradle", "!android/build", "!android/local.properties", "ios", "!ios/build", "!ios/RNPurchases.xcodeproj/project.xcworkspace", "!ios/RNPurchases.xcodeproj/xcuserdata", "RNPurchases.podspec", "scripts", "!**/__tests__", "!**/.idea", "!**/*.iml", "!**/.DS_Store", "!**/.gitignore" ], "scripts": { "build": "tsc", "build-watch": "tsc --watch", "test": "jest", "tslint": "tslint -c tslint.json 'src/*.ts'", "prepare": "tsc", "example": "yarn --cwd examples/purchaseTesterTypescript", "bootstrap": "yarn && yarn example && yarn example pods" }, "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", "peerDependencies": { "react": ">= 16.6.3", "react-native": ">= 0.58.2" }, "devDependencies": { "@types/jest": "^26.0.0", "@types/react": "^16.9.19", "@types/react-native": "0.62.13", "jest": "^26.0.1", "jest-react-native": "^18.0.0", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "16.11.0", "react-native": "^0.64.0", "ts-jest": "^24.1.0", "tslint": "^5.20.0", "tslint-config-prettier": "^1.18.0", "typedoc": "^0.23.21", "typescript": "^4.9.3" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/examples/purchaseTesterTypescript/node_modules", "<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" ] }, "dependencies": { "@revenuecat/purchases-typescript-internal": "8.0.0" } }