{
	"name": "rtcamp/godam",
	"type": "wordpress-plugin",
	"require-dev": {
		"wp-coding-standards/wpcs": "^3.1",
		"phpcompatibility/phpcompatibility-wp": "^2.1",
		"automattic/vipwpcs": "^3.0",
		"phpunit/phpunit": "^9.6",
		"wp-phpunit/wp-phpunit": "^6.2",
		"yoast/phpunit-polyfills": "^1.0",
		"wp-cli/i18n-command": "^v2.6",
		"squizlabs/php_codesniffer": "^3.13"
	},
	"config": {
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true
		}
	},
	"scripts": {
		"pre-commit": [
		"npm run lint:staged"
		],
		"phpunit": "phpunit",
		"pot": [
			"WP_CLI_PHP_ARGS='-d memory_limit=1024M' ./vendor/bin/wp i18n make-pot . --include=\"assets/build\" --exclude=\"assets/node_modules,node_modules,tests,vendor\" ./languages/godam.pot",
			"WP_CLI_PHP_ARGS='-d memory_limit=1024M' ./vendor/bin/wp i18n make-pot . --exclude=\"assets/build,assets/node_modules,node_modules,tests,vendor\" --merge=./languages/godam.pot ./languages/godam.pot"
		]
	},
	"scripts-descriptions": {
		"pot": "Regenerate languages/godam.pot. Run 'npm run build:prod' first. Two passes: the first scans assets/build only, because '*.min.js' is in make-pot's built-in exclude list and needs an explicit --include to outrank it; the second scans everything else and merges, so each entry carries both a built reference (which is what WordPress hashes to find JS translations at runtime) and a source reference (which is what translators read)."
	},
	"require": {
		"woocommerce/action-scheduler": "^3.9"
	}
}
