UNPKG

@rnw-community/react-native-payments

Version:

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

106 lines (105 loc) 3.37 kB
{ "name": "@rnw-community/react-native-payments", "version": "1.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": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./app.plugin": { "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-cjs.json", "build:cjs": "run -T tsc --pretty -p tsconfig.build-esm.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 --passWithNoTests", "test:coverage": "run -T jest --coverage --passWithNoTests", "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": "028837fd8d39e79797438f41eeff1128a9ad5652", "dependencies": { "@expo/config-plugins": "^9.0.14", "@rnw-community/shared": "1.1.0", "react-native-uuid": "^2.0.1", "validator": "^13.9.0" }, "devDependencies": { "@types/validator": "^13.7.17", "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" } } }