{
	"name": "wp-pay-gateways/adyen",
	"description": "Adyen driver for the WordPress payment processing library.",
	"keywords": [
		"wordpress",
		"wp",
		"pay",
		"adyen",
		"gateway",
		"pronamic"
	],
	"homepage": "http://www.wp-pay.org/gateways/adyen/",
	"license": "GPL-3.0-or-later",
	"type": "wordpress-plugin",
	"authors": [
		{
			"name": "Pronamic",
			"email": "info@pronamic.eu",
			"homepage": "http://www.pronamic.eu/",
			"role": "Company"
		},
		{
			"name": "Remco Tolsma",
			"email": "info@remcotolsma.nl",
			"homepage": "http://www.remcotolsma.nl/",
			"role": "Developer"
		}
	],
	"support": {
		"email": "support@wp-pay.org",
		"issues": "https://github.com/wp-pay-gateways/adyen/issues",
		"source": "https://github.com/wp-pay-gateways/adyen"
	},
	"autoload": {
		"psr-4": {
			"Pronamic\\WordPress\\Pay\\Gateways\\Adyen\\": "src/"
		}
	},
	"config": {
		"sort-packages": true,
		"allow-plugins": {
			"composer/installers": true,
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"roots/wordpress-core-installer": true,
			"bamarni/composer-bin-plugin": true,
			"automattic/jetpack-autoloader": true
		},
		"platform": {
			"php": "8.2"
		},
		"wp-slug": "pronamic-pay-adyen"
	},
	"require": {
		"php": ">=8.2",
		"ext-intl": "*",
		"automattic/jetpack-autoloader": "^3.0 || ^4.0 || ^5.0",
		"justinrainbow/json-schema": "^5.2",
		"pronamic/wp-http": "^1.2",
		"pronamic/wp-money": "^2.2",
		"pronamic/wp-number": "^1.4",
		"wp-pay/core": "^4.8"
	},
	"require-dev": {
		"bamarni/composer-bin-plugin": "^1.4",
		"overtrue/phplint": "^9.0",
		"php-coveralls/php-coveralls": "^2.5",
		"phpmd/phpmd": "^2.13",
		"phpstan/phpstan": "^2.1",
		"pronamic/pronamic-cli": "^1.1",
		"pronamic/wp-coding-standards": "^2.1",
		"roots/wordpress": "^6.0",
		"sirbrillig/phpcs-import-detection": "^1.2",
		"sirbrillig/phpcs-variable-analysis": "^2.8",
		"szepeviktor/phpstan-wordpress": "^2.0",
		"vimeo/psalm": "^5.25",
		"wp-cli/dist-archive-command": "*",
		"wp-cli/wp-cli-bundle": "*",
		"wp-phpunit/wp-phpunit": "^6.1",
		"yoast/phpunit-polyfills": "^4.0"
	},
	"scripts": {
		"build": [
			"rm -rf ./build",
			"mkdir ./build",
			"mkdir ./build/stage-1",
			"mkdir ./build/stage-2",
			"npm run build",
			"rsync --recursive --verbose --exclude-from=.distignore --exclude=/vendor/ ./ ./build/stage-1/",
			"composer install --no-dev --prefer-dist --optimize-autoloader --working-dir=./build/stage-1/",
			"rsync --recursive --verbose --exclude-from=.distignore ./build/stage-1/ ./build/stage-2/",
			"vendor/bin/wp i18n make-pot ./build/stage-2/ --slug=pronamic-pay-adyen --exclude=js/dist/*.js",
			"vendor/bin/wp i18n make-json ./build/stage-2/languages/*.po",
			"vendor/bin/wp i18n make-mo ./build/stage-2/languages/",
			"vendor/bin/wp dist-archive ./build/stage-2/ --plugin-dirname=pronamic-pay-adyen"
		],
		"build-docs": "vendor/bin/wp-documentor parse . --exclude=build --exclude=tests --exclude=vendor --exclude=wordpress --exclude=wp-content --format=markdown --relative=docs > docs/hooks.md",
		"ci": [
			"@phplint",
			"@phpcs",
			"@coverage",
			"@phpstan",
			"@psalm"
		],
		"coveralls": "vendor/bin/php-coveralls -v",
		"phpcbf": "vendor/bin/phpcbf",
		"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
		"phplint": "vendor/bin/phplint",
		"phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php",
		"phpstan": "vendor/bin/phpstan analyse --memory-limit=-1",
		"phpunit": "vendor/bin/phpunit",
		"post-install-cmd": "echo 'Optionally run: composer bin all install'",
		"post-update-cmd": "echo 'Optionally run: composer bin all update'",
		"psalm": "vendor/bin/psalm",
		"xmllint-phpcs": "xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd phpcs.xml.dist",
		"xmllint": [
			"@xmllint-phpcs"
		],
		"translate": [
			"@build",
			"rsync --recursive --delete --verbose ./build/stage-2/languages/ ./languages/",
			"vendor/bin/wp i18n update-po ./languages/pronamic-pay-adyen.pot"
		]
	}
}
