{
	"name": "woocommerce/email-editor",
	"description": "Email editor based on WordPress Gutenberg package.",
	"type": "wordpress-plugin",
	"license": "GPL-2.0-or-later",
	"prefer-stable": true,
	"minimum-stability": "dev",
	"version": "2.0.0",
	"autoload": {
		"classmap": [
			"src/",
			"vendor-prefixed/"
		]
	},
	"autoload-dev": {
		"classmap": [
			"tests/unit/"
		]
	},
	"require": {
		"php": ">=7.4"
	},
	"require-dev": {
		"automattic/jetpack-changelogger": "3.3.0",
		"phpunit/phpunit": "^9.6",
		"woocommerce/woocommerce-sniffs": "1.0.0",
		"yoast/phpunit-polyfills": "^4.0"
	},
	"config": {
		"platform": {
			"php": "7.4"
		},
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true
		}
	},
	"scripts": {
		"post-install-cmd": [
			"composer dump-autoload -o"
		],
		"post-update-cmd": [
			"composer dump-autoload -o"
		],
		"env:destroy": "wp-env destroy",
		"env:stop": "wp-env stop",
		"env:start": "wp-env start",
		"test:unit": "wp-env run tests-cli --env-cwd=wp-content/plugins/email-editor ./vendor/bin/phpunit",
		"test:integration": "wp-env run tests-cli --env-cwd=wp-content/plugins/email-editor ./vendor/bin/phpunit --configuration phpunit-integration.xml.dist",
		"phpcs": "phpcs -s -p",
		"phpcbf": "phpcbf -p"
	},
	"extra": {
		"changelogger": {
			"formatter": {
				"filename": "../../../tools/changelogger/class-php-package-formatter.php"
			},
			"types": {
				"fix": "Fixes an existing bug",
				"add": "Adds functionality",
				"update": "Update existing functionality",
				"dev": "Development related task",
				"tweak": "A minor adjustment to the codebase",
				"performance": "Address performance issues",
				"enhancement": "Improve existing functionality"
			},
			"changelog": "changelog.md"
		}
	}
}
