UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

97 lines (96 loc) 2.25 kB
{ "name": "@adyen/react-native", "version": "2.6.1", "description": "Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native", "license": "MIT", "author": "Adyen", "homepage": "https://adyen.com", "repository": "https://github.com/Adyen/adyen-react-native", "bugs": { "url": "https://support.adyen.com/" }, "keywords": [ "adyen", "adyen-ios", "adyen-android", "checkout", "payment", "payments", "components" ], "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "source": "src/index", "react-native": "src/index", "files": [ "lib", "android", "ios", "src", "plugin", "app.plugin.js", "adyen-react-native.podspec", "LICENSE", "README" ], "scripts": { "lint": "eslint \"src/**/*.{js,ts,tsx}\"", "prepare": "./scripts/set-version.sh && bob build && tsc --build plugin", "pods": "cd example && pod-install --quiet", "ios": "cd example && yarn pod && yarn ios", "android": "cd example && yarn android", "bootstrap": "git clean -fxd && yarn && cd example && yarn" }, "devDependencies": { "@expo/config-plugins": "^8.0.4", "@react-native/eslint-config": "^0.74.1", "@tsconfig/node10": "^1.0.7", "@types/react": "^18.0.29", "@types/react-test-renderer": "^18.0.0", "eslint": "^8.0.0", "pod-install": "^0.2.0", "react": "^18.2.0", "react-native": "^0.74.2", "react-native-builder-bob": "^0.23.2", "typescript": "^5.0.2" }, "peerDependencies": { "expo": ">=47", "react": "*", "react-native": "*" }, "peerDependenciesMeta": { "expo": { "optional": true } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] }, "eslintConfig": { "root": true, "plugins": [ "react-hooks" ], "extends": [ "@react-native", "prettier" ], "rules": { "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn" } }, "eslintIgnore": [ "node_modules/", "lib/", "plugin/build/" ] }