{
	"name": "tinta/tinta",
	"description": "A private team wiki for WordPress: pages in a tree, written in the block editor.",
	"type": "wordpress-plugin",
	"license": "GPL-2.0-or-later",
	"require": {
		"php": ">=8.2"
	},
	"require-dev": {
		"automattic/vipwpcs": "^3.0",
		"brainmaestro/composer-git-hooks": "^3.0",
		"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
		"phpcompatibility/phpcompatibility-wp": "^2.1",
		"phpstan/phpstan": "^2.1",
		"phpunit/phpunit": "^9.6",
		"szepeviktor/phpstan-wordpress": "^2.0",
		"wp-coding-standards/wpcs": "^3.1",
		"yoast/phpunit-polyfills": "^4.0"
	},
	"autoload": {
		"classmap": [
			"includes/"
		]
	},
	"config": {
		"platform": {
			"php": "8.2"
		},
		"optimize-autoloader": true,
		"sort-packages": true,
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true
		}
	},
	"scripts": {
		"phpcs": "phpcs",
		"phpcs:staged": "bash bin/phpcs-staged.sh",
		"phpcbf": "phpcbf",
		"phpstan": "phpstan analyse --memory-limit=1G",
		"install-git-hooks": "@php bin/install-git-hooks.php",
		"post-install-cmd": [
			"@install-git-hooks"
		],
		"post-update-cmd": [
			"@install-git-hooks"
		]
	},
	"extra": {
		"hooks": {
			"pre-commit": [
				"composer run phpcs:staged"
			]
		}
	}
}
