Skip to content

Commit cb15520

Browse files
authored
Merge pull request #25 from wp-cli/adapt-for-v2
Adapt package for framework v2
2 parents a52f5c7 + f1c10b9 commit cb15520

1 file changed

Lines changed: 36 additions & 19 deletions

File tree

‎composer.json‎

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
22
"name": "wp-cli/shell-command",
3-
"description": "Opens an interactive PHP console for running and testing PHP code.",
43
"type": "wp-cli-package",
4+
"description": "Opens an interactive PHP console for running and testing PHP code.",
55
"homepage": "https://github.com/wp-cli/shell-command",
6-
"support": {
7-
"issues": "https://github.com/wp-cli/shell-command/issues"
8-
},
96
"license": "MIT",
107
"authors": [
118
{
@@ -14,30 +11,50 @@
1411
"homepage": "https://runcommand.io"
1512
}
1613
],
17-
"minimum-stability": "dev",
18-
"prefer-stable": true,
19-
"autoload": {
20-
"psr-4": {
21-
"": "src/",
22-
"WP_CLI\\": "src/WP_CLI"
23-
},
24-
"files": [
25-
"shell-command.php"
26-
]
27-
},
2814
"require": {
29-
"wp-cli/wp-cli": "*"
15+
"wp-cli/wp-cli": "^2"
3016
},
3117
"require-dev": {
32-
"behat/behat": "~2.5"
18+
"wp-cli/wp-cli-tests": "^0"
19+
},
20+
"config": {
21+
"sort-packages": true,
22+
"process-timeout": 7200
3323
},
3424
"extra": {
3525
"branch-alias": {
3626
"dev-master": "1.x-dev"
3727
},
28+
"bundled": true,
3829
"commands": [
3930
"shell"
40-
],
41-
"bundled": true
31+
]
32+
},
33+
"autoload": {
34+
"psr-4": {
35+
"": "src/",
36+
"WP_CLI\\": "src/WP_CLI"
37+
},
38+
"files": [
39+
"shell-command.php"
40+
]
41+
},
42+
"minimum-stability": "dev",
43+
"prefer-stable": true,
44+
"scripts": {
45+
"behat": "run-behat-tests",
46+
"lint": "run-linter-tests",
47+
"phpcs": "run-phpcs-tests",
48+
"phpunit": "run-php-unit-tests",
49+
"prepare-tests": "install-package-tests",
50+
"test": [
51+
"@lint",
52+
"@phpcs",
53+
"@phpunit",
54+
"@behat"
55+
]
56+
},
57+
"support": {
58+
"issues": "https://github.com/wp-cli/shell-command/issues"
4259
}
4360
}

0 commit comments

Comments
 (0)