UNPKG

@rnw-community/react-native-payments

Version:

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

108 lines (107 loc) 3.43 kB
{ "name": "@rnw-community/react-native-payments", "version": "2.2.0", "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" ], "author": "Vitalii Yehorov <vitalyiegorov@gmail.com> (https://github.com/rnw-community/rnw-community/packages/react-native-payments)", "homepage": "https://github.com/rnw-community/rnw-community/tree/master/packages/react-native-payments", "repository": "https://github.com/rnw-community/rnw-community/tree/master/packages/react-native-payments", "bugs": { "url": "https://github.com/rnw-community/rnw-community/issues" }, "license": "MIT", "exports": { ".": { "types": "./dist/esm/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./app.plugin": { "types": "./dist/esm/app.plugin.d.ts", "import": "./dist/esm/app.plugin.js", "require": "./dist/cjs/app.plugin.js" }, "./package.json": "./package.json" }, "react-native": "src/index.ts", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/esm/index.d.ts", "files": [ "dist", "src", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/.*" ], "sideEffects": false, "publishConfig": { "access": "public" }, "engines": { "node": ">=18.0.0" }, "scripts": { "ts": "run -T tsc --pretty -p tsconfig.json", "build:esm": "run -T tsc --pretty -p tsconfig.build-esm.json", "build:cjs": "run -T tsc --pretty -p tsconfig.build-cjs.json", "build": "yarn build:esm && yarn build:cjs && rm -rf ./dist/*/*.tsbuildinfo", "lint": "run -T eslint src", "lint:fix": "run -T eslint --fix src", "test": "run -T jest", "test:coverage": "run -T jest --coverage", "format": "run -T prettier --write \"./src/**/*.{ts,tsx}\"", "clear": "rm -rf coverage && rm -rf dist && rm -f *.tsbuildinfo", "clear:deps": "rm -rf ./node_modules && rm -rf ./dist", "example": "yarn --cwd example" }, "gitHead": "3e41a3bdb7416f06f4cff4008206905eb6c57fcb", "dependencies": { "@expo/config-plugins": "^9.1.7", "@rnw-community/shared": "^2.2.0", "react-native-uuid": "^2.0.3", "validator": "^13.15.26" }, "devDependencies": { "@types/validator": "^13.15.10", "react": "^18.3.1", "react-native": "^0.76.1" }, "peerDependencies": { "expo": ">=48.0.0", "react": ">=17", "react-native": ">=0.64" }, "codegenConfig": { "name": "RNPaymentsSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.payments" } } }