@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
107 lines (106 loc) • 2.47 kB
JSON
{
"name": "@adyen/react-native",
"version": "2.7.2",
"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",
"test": "jest"
},
"devDependencies": {
"@expo/config-plugins": "^8.0.4",
"@react-native/eslint-config": "^0.74.1",
"@tsconfig/node10": "^1.0.7",
"@types/jest": "^29.5.11",
"@types/react": "^18.0.29",
"@types/react-test-renderer": "^18.0.0",
"eslint": "^9.0.0",
"jest": "^29.6.3",
"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",
"metro-react-native-babel-preset": "^0.77.0"
},
"peerDependencies": {
"expo": ">=52",
"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/"
],
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"_mock_"
]
}
}