-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcomposer.json
87 lines (87 loc) · 1.94 KB
/
composer.json
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
79
80
81
82
83
84
85
86
87
{
"name": "gamajo/plugin-slug",
"type": "wordpress-plugin",
"description": "Test plugin",
"keywords": [
"plugin",
"plugin-slug"
],
"homepage": "https://github.com/GaryJones/plugin-slug",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Gary Jones",
"homepage": "https://garyjones.io",
"role": "Developer"
}
],
"require": {
"php": "^8.2",
"brightnucleus/config": "^0.4",
"cedaro/wp-plugin": "^0.4",
"composer/installers": "^2"
},
"require-dev": {
"automattic/vipwpcs": "^3",
"brain/monkey": "^2",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"infection/infection": "^0.29",
"phpcompatibility/phpcompatibility-wp": "^2",
"phpunit/phpunit": "^9",
"rector/rector": "^1.2",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3",
"wp-coding-standards/wpcs": "^3",
"yoast/phpunit-polyfills": "^2"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true
}
},
"autoload": {
"psr-4": {
"Gamajo\\PluginSlug\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gamajo\\PluginSlug\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"prepare": [
"bash bin/install-wp-tests.sh wordpress_test root root localhost nightly"
],
"infection": "./vendor/bin/infection --no-progress",
"integration": "./vendor/bin/phpunit --testsuite integration",
"lint": [
"bin/php-lint",
"bin/xml-lint"
],
"cbf": "@php vendor/bin/phpcbf",
"cs": "@php vendor/bin/phpcs",
"test": [
"@lint",
"@unit",
"@cs"
],
"test-full": [
"@lint",
"@unit",
"@infection",
"@integration",
"@cs"
],
"unit": "./vendor/bin/phpunit --testsuite unit"
},
"support": {
"issues": "https://github.com/GaryJones/plugin-slug/issues",
"source": "https://github.com/GaryJones/plugin-slug"
}
}