55 lines
1.7 KiB
JSON
55 lines
1.7 KiB
JSON
{
|
|
"name": "robotstxt/documentation-markdown",
|
|
"description": "Synchronizes Markdown documentation from GitHub repositories to WordPress pages and posts",
|
|
"type": "wordpress-plugin",
|
|
"license": "GPL-3.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "ROBOTSTXT",
|
|
"homepage": "https://www.robotstxt.es"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.2",
|
|
"league/commonmark": "^2.4"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
|
"squizlabs/php_codesniffer": "^3.13",
|
|
"wp-coding-standards/wpcs": "^3.3",
|
|
"phpcompatibility/php-compatibility": "^9.3",
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
|
"eduardovillao/wp-since": "^1.3",
|
|
"phpstan/phpstan": "^1.10",
|
|
"phpunit/phpunit": "^10.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"RobotsTxt\\DocumentationMarkdown\\": "includes/"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
},
|
|
"sort-packages": true,
|
|
"optimize-autoloader": true
|
|
},
|
|
"scripts": {
|
|
"phpcs": "phpcs",
|
|
"phpcbf": "phpcbf",
|
|
"phpstan": "phpstan analyse --memory-limit=512M",
|
|
"test": "phpunit",
|
|
"lint": [
|
|
"@phpcs",
|
|
"@phpstan"
|
|
]
|
|
},
|
|
"scripts-descriptions": {
|
|
"phpcs": "Run PHP_CodeSniffer to detect coding standard violations",
|
|
"phpcbf": "Run PHP Code Beautifier to automatically fix coding standard violations",
|
|
"phpstan": "Run PHPStan static analysis",
|
|
"test": "Run PHPUnit tests",
|
|
"lint": "Run all code quality checks"
|
|
}
|
|
}
|