57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"name": "wpallstars/wp-plugin-starter-template-for-ai-coding",
|
|
"description": "A starter template for WordPress plugins with AI development workflows.",
|
|
"type": "wordpress-plugin",
|
|
"version": "0.1.10",
|
|
"license": "GPL-2.0-or-later",
|
|
"authors": [
|
|
{
|
|
"name": "WP All Stars",
|
|
"email": "support@wpallstars.com"
|
|
}
|
|
],
|
|
"minimum-stability": "stable",
|
|
"require": {
|
|
"php": ">=7.4"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9.5",
|
|
"10up/wp_mock": "^1.0",
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
|
|
"wp-coding-standards/wpcs": "^3.0",
|
|
"phpcompatibility/phpcompatibility-wp": "^2.1",
|
|
"phpstan/phpstan": "^1.10.0",
|
|
"phpmd/phpmd": "^2.13.0",
|
|
"symfony/dependency-injection": "^5.4",
|
|
"symfony/config": "^5.4",
|
|
"symfony/filesystem": "^5.4",
|
|
"psr/log": "^1.1"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"WPALLSTARS\\PluginStarterTemplate\\": "includes/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"classmap": [
|
|
"includes/Admin/class-admin.php"
|
|
]
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"phpcs": "phpcs --standard=phpcs.xml",
|
|
"phpcs:simple": "phpcs --standard=phpcs-simple.xml",
|
|
"phpcbf": "phpcbf --standard=phpcs.xml",
|
|
"phpcbf:simple": "phpcbf --standard=phpcs-simple.xml",
|
|
"phpstan": "phpstan analyse --level=5 .",
|
|
"phpmd": "phpmd . text cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor,node_modules,tests,bin,build,dist",
|
|
"test": "phpunit",
|
|
"lint": ["@phpcs", "@phpstan", "@phpmd"],
|
|
"fix": ["@phpcbf"]
|
|
}
|
|
}
|