{
	"name": "leat/plugin",
	"description": "Leat WordPress plugin.",
	"homepage": "https://leat.com/",
	"type": "wordpress-plugin",
	"keywords": [
		"woocommerce"
	],
	"license": "GPL-3.0-or-later",
	"prefer-stable": true,
	"minimum-stability": "dev",
	"require": {
		"piggy/piggy-php-sdk": "^3.11",
		"automattic/jetpack-autoloader": "*"
	},
	"require-dev": {
		"phpunit/phpunit": "^9.6 || ^10.5",
		"yoast/phpunit-polyfills": "^2.0",
		"wp-phpunit/wp-phpunit": "^6.4",
		"mockery/mockery": "^1.6",
		"brain/monkey": "^2.6",
		"php-stubs/wordpress-stubs": "^6.4",
		"php-stubs/woocommerce-stubs": "^8.0",
		"phpstan/phpstan": "^1.10",
		"squizlabs/php_codesniffer": "^3.7",
		"wp-coding-standards/wpcs": "^3.0",
		"phpcompatibility/phpcompatibility-wp": "^2.1",
		"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
		"wp-cli/i18n-command": "^2.6"
	},
	"autoload": {
		"psr-4": {
			"Leat\\": "src/"
		}
	},
	"scripts": {
		"phpcs": [
			"phpcs --extensions=php -d memory_limit=1024M -s -p ."
		],
		"phpcs:fix": [
			"phpcbf --extensions=php -d memory_limit=1024M -s -p ."
		],
		"makepot": [
			"wp i18n make-pot . ./languages/leat.pot --include=\"leat-crm.php,src,dist/frontend/assets, dist/admin/assets\""
		]
	},
	"config": {
		"prepend-autoloader": false,
		"optimize-autoloader": true,
		"autoloader-suffix": "LeatWP",
		"platform": {
			"php": "8.0"
		},
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true,
			"automattic/jetpack-autoloader": true
		}
	},
	"extra": {
		"scripts-description": {
			"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
			"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
		}
	}
}
