UNPKG

@adyen/react-native

Version:

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

137 lines (136 loc) 3.27 kB
{ "name": "@adyen/react-native", "version": "2.9.0", "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" ], "react-native": "src/index.ts", "main": "./lib/commonjs/index.js", "module": "lib/module/index.js", "source": "./src/index.ts", "types": "./lib/typescript/src/index.d.ts", "files": [ "lib", "android", "ios", "src", "cpp", "app.plugin.js", "*.podspec", "LICENSE", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "app": "yarn workspace @adyen/react-native-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "git clean -fxd", "prepare": "./scripts/set-version.sh && bob build", "start": "rm yarn.lock && yarn && yarn prepare && husky" }, "devDependencies": { "@commitlint/cli": "^19.6.0", "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "^1.2.7", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.22.0", "@expo/config-plugins": "^10.0.2", "@react-native-community/cli": "15.0.1", "@react-native/babel-preset": "^0.78.2", "@react-native/eslint-config": "^0.78.0", "@types/jest": "^29.5.5", "@types/react": "^19.0.0", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-jest": "^27.0.1", "eslint-plugin-prettier": "^5.2.3", "expo-module-scripts": "^4.1.0", "husky": "^9.0.11", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.0.0", "react-native": "0.78.3", "react-native-builder-bob": "^0.40.11", "typescript": "^5.2.2" }, "peerDependencies": { "expo": ">=52", "react": "*", "react-native": "*" }, "peerDependenciesMeta": { "expo": { "optional": true } }, "workspaces": [ "example" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "_mock_", "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "packageManager": "yarn@4.9.2", "codegenConfig": { "name": "AdyenPaymentSpec", "type": "all", "jsSrcsDir": "src/specs", "android": { "javaPackageName": "com.adyenreactnativesdk.react" }, "ios": { "componentProvider": { "PlatformPayView": "ADYPlatformPayView" } } } }