-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
76 lines (76 loc) · 2 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
{
"name": "humanmade/orphan-command",
"description": "WP-CLI command to list and delete orphan WordPress entities and metadata.",
"type": "wp-cli-package",
"homepage": "https://github.com/humanmade/orphan-command",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Human Made",
"homepage": "https://humanmade.com"
}
],
"support": {
"issues": "https://github.com/humanmade/orphan-command/issues"
},
"require": {
"php": ">=7.2",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"humanmade/coding-standards": "^1.1",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"HumanMade\\OrphanCommand\\": "inc/"
},
"files": [ "orphan-command.php" ]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint": "find ./orphan-command.php ./inc/ -type f -name '*.php' -print0 | xargs -0 -L 1 -P 4 -- php -l",
"phpcs": "phpcs .",
"test": [
"@lint",
"@phpcs"
]
},
"extra": {
"commands": [
"orphan blog meta delete",
"orphan blog meta list",
"orphan blog meta query",
"orphan comment delete",
"orphan comment list",
"orphan comment query",
"orphan comment meta delete",
"orphan comment meta list",
"orphan comment meta query",
"orphan post delete",
"orphan post list",
"orphan post query",
"orphan post meta delete",
"orphan post meta list",
"orphan post meta query",
"orphan revision delete",
"orphan revision list",
"orphan revision query",
"orphan term meta delete",
"orphan term meta list",
"orphan term meta query",
"orphan user meta delete",
"orphan user meta list",
"orphan user meta query"
]
}
}