{
	"name": "johnbillion/extended-cpts",
	"description": "A library which provides extended functionality to WordPress custom post types and taxonomies.",
	"homepage": "https://github.com/johnbillion/extended-cpts/",
	"license": "GPL-2.0+",
	"authors": [
		{
			"name": "John Blackbourn",
			"homepage": "https://johnblackbourn.com/"
		}
	],
	"config": {
		"sort-packages": true,
		"preferred-install": "dist"
	},
	"extra": {
		"wordpress-install-dir": "tests/wordpress"
	},
	"require": {
		"php": "^7 | ^8"
	},
	"require-dev": {
		"automattic/phpcs-neutron-standard": "1.6.0",
		"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
		"johnbillion/falsey-assertequals-detector": "^2",
		"phpcompatibility/phpcompatibility-wp": "^2",
		"phpunit/phpunit": "^6",
		"roots/wordpress": "^5.7.0",
		"vlucas/phpdotenv": "^3",
		"wp-cli/db-command": "^2.0",
		"wp-coding-standards/wpcs": "2.3.0",
		"wp-phpunit/wp-phpunit": "^5.7.0"
	},
	"scripts": {
		"post-update-cmd": [
			"@php -r \"! file_exists( 'tests/.env' ) && copy( 'tests/.env.dist', 'tests/.env' );\""
		],
		"test:cs": [
			"vendor/bin/phpcs -nps --colors --report-code --report-summary --report-width=80 --cache=tests/cache/phpcs ."
		],
		"test:ut": [
			"vendor/bin/wp db reset --yes --path=tests/wordpress #",
			"export WP_MULTISITE=0 && vendor/bin/phpunit --verbose --colors=always --exclude-group=ms-required",
			"export WP_MULTISITE=1 && vendor/bin/phpunit --verbose --colors=always --exclude-group=ms-excluded"
		],
		"test": [
			"@test:cs",
			"@test:ut"
		]
	},
	"autoload": {
		"psr-4": {
			"ExtCPTs\\Tests\\": "tests/phpunit"
		},
		"files": [
			"extended-cpts.php"
		]
	},
	"suggest": {
		"seravo/wp-custom-bulk-actions": "Custom Bulk Actions",
		"wpackagist-plugin/rewrite-testing": "Rewrite Rule Testing"
	}
}
