Skip to content

Commit ea07098

Browse files
authored
Merge pull request #32 from wp-cli/adapt-for-v2
Adapt package for framework v2
2 parents 4de3ea0 + 06272c7 commit ea07098

File tree

1 file changed

+35
-14
lines changed

1 file changed

+35
-14
lines changed

composer.json

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
22
"name": "wp-cli/cache-command",
3-
"description": "Manages object and transient caches.",
43
"type": "wp-cli-package",
4+
"description": "Manages object and transient caches.",
55
"homepage": "https://github.com/wp-cli/cache-command",
6-
"support": {
7-
"issues": "https://github.com/wp-cli/cache-command/issues"
8-
},
96
"license": "MIT",
107
"authors": [
118
{
@@ -14,18 +11,16 @@
1411
"homepage": "https://runcommand.io"
1512
}
1613
],
17-
"minimum-stability": "dev",
18-
"prefer-stable": true,
19-
"autoload": {
20-
"psr-4": {
21-
"": "src/"
22-
},
23-
"files": [ "cache-command.php" ]
14+
"require": {
15+
"wp-cli/wp-cli": "^2"
2416
},
25-
"require": {},
2617
"require-dev": {
27-
"behat/behat": "~2.5",
28-
"wp-cli/wp-cli": "*"
18+
"wp-cli/entity-command": "^1.3",
19+
"wp-cli/wp-cli-tests": "^0"
20+
},
21+
"config": {
22+
"sort-packages": true,
23+
"process-timeout": 7200
2924
},
3025
"extra": {
3126
"branch-alias": {
@@ -49,5 +44,31 @@
4944
"transient set",
5045
"transient type"
5146
]
47+
},
48+
"autoload": {
49+
"psr-4": {
50+
"": "src/"
51+
},
52+
"files": [
53+
"cache-command.php"
54+
]
55+
},
56+
"minimum-stability": "dev",
57+
"prefer-stable": true,
58+
"scripts": {
59+
"behat": "run-behat-tests",
60+
"lint": "run-linter-tests",
61+
"phpcs": "run-phpcs-tests",
62+
"phpunit": "run-php-unit-tests",
63+
"prepare-tests": "install-package-tests",
64+
"test": [
65+
"@lint",
66+
"@phpcs",
67+
"@phpunit",
68+
"@behat"
69+
]
70+
},
71+
"support": {
72+
"issues": "https://github.com/wp-cli/cache-command/issues"
5273
}
5374
}

0 commit comments

Comments
 (0)