{
	"name": "pronamic/pronamic-pay-with-mollie-for-woocommerce",
	"description": "Pronamic Pay plugin with Mollie for WooCommerce integration.",
	"type": "wordpress-plugin",
	"license": "GPL-2.0-or-later",
	"config": {
		"allow-plugins": {
			"composer/installers": true,
			"automattic/jetpack-autoloader": true,
			"dealerdirect/phpcodesniffer-composer-installer": true
		},
		"platform": {
			"php": "8.2"
		},
		"platform-check": false,
		"sort-packages": true,
		"wp-slug": "pronamic-pay-with-mollie-for-woocommerce"
	},
	"extra": {
		"installer-paths": {
			"packages/{$vendor}/{$name}": [
				"vendor:pronamic",
				"vendor:wp-pay",
				"vendor:wp-pay-extensions",
				"vendor:wp-pay-gateways",
				"woocommerce/action-scheduler"
			]
		}
	},
	"require": {
		"php": ">=8.2",
		"automattic/jetpack-autoloader": "^5.0",
		"composer/installers": "^2.3",
		"pronamic/pronamic-payment-gateways-countries-condition-for-woocommerce": "^1.0",
		"pronamic/pronamic-payment-gateways-fees-for-woocommerce": "^1.0",
		"pronamic/pronamic-payment-gateways-order-button-text-for-woocommerce": "^1.0",
		"woocommerce/action-scheduler": "^3.9",
		"wp-pay-extensions/woocommerce": "^4.14",
		"wp-pay-gateways/mollie": "^4.19",
		"wp-pay/core": "^4.32"
	},
	"require-dev": {
		"pronamic/changelog-md-to-wordpress-plugin-readme-txt": "dev-main",
		"pronamic/pronamic-cli": "^1.1",
		"pronamic/wp-coding-standards": "^2.4",
		"roots/wordpress-no-content": "^6.8",
		"wp-cli/dist-archive-command": "*",
		"wp-cli/wp-cli-bundle": "*"
	},
	"scripts": {
		"phpcs": "vendor/bin/phpcs -s -v --ignore=packages,build",
		"build": [
			"Pronamic\\ChangelogMdToWordPressPluginReadmeTxt\\Synchronizer::run",
			"rm -rf ./build",
			"mkdir ./build",
			"mkdir ./build/stage-1",
			"mkdir ./build/stage-2",
			"rsync --recursive --verbose --exclude-from=.distignore --exclude-from=.gitignore ./ ./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/phpcbf -s -v --standard=phpcs-text-domain-fixer.xml ./build/stage-2/ || true",
			"vendor/bin/wp i18n make-pot ./build/stage-2/ --slug=pronamic-pay-with-mollie-for-woocommerce",
			"vendor/bin/wp dist-archive ./build/stage-2/ --plugin-dirname=pronamic-pay-with-mollie-for-woocommerce"
		],
		"translate": [
			"@build",
			"rsync --recursive --delete --verbose ./build/stage-2/languages/ ./languages/",
			"@update-po"
		],
		"update-po": "find languages/*.po -type f -exec msgmerge --update --backup=off {} languages/pronamic-pay-with-mollie-for-woocommerce.pot \\;",
		"version": "@build",
		"release": [
			"@build",
			"vendor/bin/pronamic release-to-github",
			"vendor/bin/pronamic release-to-pronamic"
		]
	}
}
