UNPKG

@rnw-community/react-native-payments

Version:

Accept Payments with Apple Pay and Android Pay using the Payment Request API.

133 lines (132 loc) 4.15 kB
{ "name": "@rnw-community/react-native-payments", "version": "2.12.10", "description": "Accept Payments with Apple Pay and Android Pay using the Payment Request API.", "keywords": [ "react", "react-native", "apple-pay", "google-pay", "payment-request", "payments", "android", "ios", "android pay", "apple pay", "payment intents", "cross platform", "react native payments", "expo", "expo-plugin" ], "homepage": "https://github.com/rnw-community/rnw-community/tree/master/packages/react-native-payments", "bugs": { "url": "https://github.com/rnw-community/rnw-community/issues" }, "repository": { "type": "git", "url": "https://github.com/rnw-community/rnw-community.git", "directory": "packages/react-native-payments" }, "license": "MIT", "author": "Vitalii Yehorov <vitalyiegorov@gmail.com> (https://github.com/rnw-community/rnw-community/packages/react-native-payments)", "sideEffects": false, "type": "module", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } }, "./app.plugin": { "import": { "types": "./dist/esm/app.plugin.d.ts", "default": "./dist/esm/app.plugin.js" }, "require": { "types": "./dist/cjs/app.plugin.d.ts", "default": "./dist/cjs/app.plugin.js" } }, "./package.json": "./package.json" }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "react-native": "src/index.ts", "types": "dist/esm/index.d.ts", "files": [ "dist", "src", "docs", "llms.txt", "llms-full.txt", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!src/**/*.spec.ts", "!src/**/*.mock.ts", "!src/**/e2e/**", "!**/.*" ], "scripts": { "build": "yarn build:esm && yarn build:cjs && rm -rf ./dist/*/*.tsbuildinfo && echo '{\"type\":\"module\"}' > dist/esm/package.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json", "build:cjs": "run -T tsc --pretty -p tsconfig.build-cjs.json", "build:esm": "run -T tsc --pretty -p tsconfig.build-esm.json", "clear": "rm -rf coverage && rm -rf dist && rm -f *.tsbuildinfo", "clear:deps": "rm -rf ./node_modules && rm -rf ./dist", "example": "yarn --cwd example", "format": "run -T prettier --write \"./src/**/*.{ts,tsx}\"", "lint": "run -T eslint src", "lint:fix": "run -T eslint --fix src", "test": "run -T jest", "test:coverage": "run -T jest --coverage", "ts": "run -T tsc --pretty -p tsconfig.json", "ts:nodenext": "run -T tsc --pretty -p tsconfig.nodenext-check.json" }, "dependencies": { "@expo/config-plugins": "^9.1.7", "@rnw-community/shared": "^2.12.10", "react-native-uuid": "^2.0.4" }, "devDependencies": { "react": "^19.2.3", "react-native": "^0.86.2" }, "peerDependencies": { "expo": "*", "react": ">=17", "react-native": ">=0.64" }, "peerDependenciesMeta": { "expo": { "optional": true } }, "engines": { "node": ">=22.0.0" }, "publishConfig": { "access": "public" }, "codegenConfig": { "name": "RNPaymentsSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.payments" } }, "gitHead": "2d49b4607b100cd463b515de99cb89158426a187" }