Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 2.65 KB
/
Copy pathcomposer.json
File metadata and controls
78 lines (78 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "mcp/mcp-adapters",
"description": "MCP Adapters for WordPress plugins using Abilities API",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": ">=8.0",
"wordpress/mcp-adapter": "^0.1.0",
"wordpress/abilities-api": "^0.1.0"
},
"require-dev": {
"php": ">=8.0",
"code-atlantic/coding-standards": "1.1.0",
"dealerdirect/phpcodesniffer-composer-installer": "v1.0.0",
"phpstan/phpstan": "^2.0.3",
"szepeviktor/phpstan-wordpress": "2.0.2",
"phpstan/extension-installer": "^1.4.3",
"phpunit/phpunit": "^10.5.38",
"phpcompatibility/phpcompatibility-wp": "^2.1.7"
},
"autoload": {
"psr-4": {
"MCP\\Adapters\\": "classes/"
}
},
"autoload-dev": {
"psr-4": {
"MCP\\Adapters\\Tests\\": "tests/"
}
},
"scripts": {
"format": "vendor/bin/phpcbf --standard=.phpcs.xml.dist --report-summary --report-source",
"lint": "vendor/bin/phpcs --standard=.phpcs.xml.dist",
"lint:report": "vendor/bin/phpcs --standard=.phpcs.xml.dist --report-full --report-checkstyle=./phpcs-report.xml",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=2048M",
"tests": "vendor/bin/phpunit --configuration ./tests/phpunit.xml --no-coverage",
"coverage": "vendor/bin/phpunit --configuration ./tests/phpunit.xml --coverage-html coverage/",
"install-strauss": [
"test -f strauss.phar || curl -o strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.22.4/strauss.phar"
],
"strauss": [
"@install-strauss",
"@php strauss.phar"
],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
]
},
"extra": {
"strauss": {
"target_directory": "/vendor-prefixed/",
"namespace_prefix": "MCP\\Adapters\\Vendor\\",
"classmap_prefix": "MCP_Adapters_",
"constant_prefix": "MCP_ADAPTERS_",
"packages": [],
"exclude_from_copy": {
"packages": [
"composer/installers"
]
}
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform-check": false,
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}