{
	"name": "pronamic/wp-pronamic-domain-mapping",
	"type": "wordpress-plugin",
	"description": "The Pronamic Domain Mapping plugin allows you to map domains to custom domain name pages.",
	"keywords": ["pronamic", "wordpress", "domain", "mapping", "landingpage", "dns", "map", "seo"],
	"homepage": "https://github.com/pronamic/wp-pronamic-pay",
	"license": "GPL-3.0-or-later" ,
	"authors": [
		{
			"name": "Remco Tolsma",
			"email": "remco@pronamic.nl",
			"homepage": "https://www.remcotolsma.nl/",
			"role": "Developer"
		}
	],
	"repositories": [
		{
			"type": "composer",
			"url": "https://wpackagist.org/"
		}
	],
	"autoload": {
		"psr-4": {
			"Pronamic\\WordPress\\DomainMapping\\": "src/"
		},
		"files": [
			"includes/post.php",
			"includes/version.php"
		]
	},
	"config": {
		"allow-plugins": {
			"composer/installers": true,
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"roots/wordpress-core-installer": true
		},
		"platform": {
			"php": "8.2"
		},
		"sort-packages": true,
		"wp-slug": "pronamic-domain-mapping"
	},
	"require": {
		"php": "8.2",
		"composer/installers": "^2.3"
	},
	"require-dev": {
		"php-coveralls/php-coveralls": "^2.4",
		"phpcompatibility/php-compatibility": "^9.3",
		"phpcompatibility/phpcompatibility-wp": "^2.1",
		"phpmd/phpmd": "^2.9",
		"pronamic/wp-coding-standards": "^2.4",
		"roots/wordpress": "^6.9",
		"wp-cli/dist-archive-command": "*",
		"wp-cli/wp-cli-bundle": "*",
		"wp-phpunit/wp-phpunit": "^6.9",
		"yoast/phpunit-polyfills": "^4.0"
	},
	"scripts": {
		"build": [
			"rm -rf ./build/stage-1",
			"rm -rf ./build/pronamic-domain-mapping/*",
			"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/pronamic-domain-mapping/",
			"vendor/bin/wp i18n make-pot ./build/pronamic-domain-mapping/ --slug=pronamic-domain-mapping",
			"vendor/bin/wp i18n make-mo ./build/pronamic-domain-mapping/languages/",
			"vendor/bin/wp dist-archive ./build/pronamic-domain-mapping/ --plugin-dirname=pronamic-domain-mapping --force"
		],
		"dist-archive": "wp dist-archive . --plugin-dirname=pronamic-domain-mapping",
		"coveralls": "vendor/bin/php-coveralls -v",
		"phpcbf":"vendor/bin/phpcbf",
		"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
		"phplint": "find src tests -name '*.php' | xargs -n 1 -P 4 php -l",
		"phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php",
		"phpstan": "vendor/bin/phpstan analyse",
		"phpunit": "vendor/bin/phpunit --colors=always",
		"post-install-cmd": "echo 'Optionally run: composer bin all install'",
		"post-update-cmd": "echo 'Optionally run: composer bin all update'",
		"psalm": "vendor/bin/psalm",
		"make-pot": [
			"@build",
			"rsync --recursive --delete --verbose ./build/pronamic-domain-mapping/languages/ ./languages/",
			"vendor/bin/wp i18n update-po ./languages/pronamic_domain_mapping.pot ./languages/"
		],
		"update-po": "find languages/*.po -type f -exec msgmerge --update --backup=off {} languages/pronamic_domain_mapping.pot \\;"
	}
}
