{
	"name": "closemarketing/jump-to-checkout",
	"description": "Generate direct checkout links with pre-selected products for WooCommerce",
	"type": "wordpress-plugin",
	"license": "GPL-2.0-or-later",
	"authors": [
		{
			"name": "Close Marketing",
			"email": "info@close.marketing"
		}
	],
	"config": {
		"platform": {
			"php": "7.4"
		},
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"phpstan/extension-installer": true
		}
	},
	"require": {
		"php": ">=7.4",
		"select2/select2": "^4.0"
	},
	"require-dev": {
		"squizlabs/php_codesniffer": "^3",
		"dealerdirect/phpcodesniffer-composer-installer": "^1.2",
		"phpcompatibility/phpcompatibility-wp": "^2",
		"sirbrillig/phpcs-variable-analysis": "^2",
		"wp-coding-standards/wpcs": "^3.2",
		"phpcsstandards/phpcsutils": "^1.x-dev",
		"php-stubs/wordpress-stubs": "^6.8",
		"php-stubs/woocommerce-stubs": "^10.3",
		"phpunit/phpunit": "^9.0",
		"yoast/phpunit-polyfills": "^1.0",
		"phpstan/phpstan": "^2.1",
		"szepeviktor/phpstan-wordpress": "^2.0",
		"phpstan/extension-installer": "^1.4",
		"wp-phpunit/wp-phpunit": "^6.3"
	},
	"autoload": {
		"psr-4": {
			"CLOSE\\JumpToCheckout\\": "includes/"
		}
	},
	"scripts": {
		"format": "phpcbf --standard=.phpcs.xml.dist",
		"lint": "phpcs --standard=.phpcs.xml.dist",
		"phplint": "find . -name '*.php' -not -path './vendor/*' -not -path './node_modules/*' -not -path './.git/*' -exec php -l {} \\;",
		"phpstan": "phpstan analyse --memory-limit=2048M",
		"test": "phpunit",
		"test-debug": "XDEBUG_MODE=debug XDEBUG_TRIGGER=1 phpunit",
		"test-install": "bash bin/install-wp-tests.sh wordpress_test root 'root' 127.0.0.1 latest"
	},
	"autoload-dev": {
		"classmap": [
			"./vendor/wp-coding-standards/wpcs/"
		]
	}
}
