|
1 | 1 | { |
2 | 2 | "name": "wp-cli/entity-command", |
3 | | - "description": "Manage WordPress core entities.", |
4 | 3 | "type": "wp-cli-package", |
| 4 | + "description": "Manage WordPress comments, menus, options, posts, sites, terms, and users.", |
5 | 5 | "homepage": "https://github.com/wp-cli/entity-command", |
6 | | - "support": { |
7 | | - "issues": "https://github.com/wp-cli/entity-command/issues" |
8 | | - }, |
9 | 6 | "license": "MIT", |
10 | 7 | "authors": [ |
11 | 8 | { |
|
14 | 11 | "homepage": "https://runcommand.io" |
15 | 12 | } |
16 | 13 | ], |
17 | | - "minimum-stability": "dev", |
18 | | - "prefer-stable": true, |
19 | | - "autoload": { |
20 | | - "psr-4": { |
21 | | - "": "src/", |
22 | | - "WP_CLI\\": "src/WP_CLI" |
23 | | - }, |
24 | | - "files": [ "entity-command.php" ] |
| 14 | + "require": { |
| 15 | + "wp-cli/wp-cli": "^2" |
25 | 16 | }, |
26 | | - "require": {}, |
27 | 17 | "require-dev": { |
28 | | - "behat/behat": "~2.5", |
29 | | - "wp-cli/wp-cli": "^1.5", |
30 | | - "phpunit/phpunit": "^4.8" |
| 18 | + "wp-cli/cache-command": "^1 || ^2", |
| 19 | + "wp-cli/db-command": "^1.3 || ^2", |
| 20 | + "wp-cli/extension-command": "^1.2 || ^2", |
| 21 | + "wp-cli/media-command": "^1.1 || ^2", |
| 22 | + "wp-cli/wp-cli-tests": "^2.0.7" |
| 23 | + }, |
| 24 | + "config": { |
| 25 | + "process-timeout": 7200, |
| 26 | + "sort-packages": true |
31 | 27 | }, |
32 | 28 | "extra": { |
33 | 29 | "branch-alias": { |
34 | | - "dev-master": "1.x-dev" |
| 30 | + "dev-master": "2.x-dev" |
35 | 31 | }, |
36 | 32 | "bundled": true, |
37 | 33 | "commands": [ |
|
184 | 180 | "user unspam", |
185 | 181 | "user update" |
186 | 182 | ] |
| 183 | + }, |
| 184 | + "autoload": { |
| 185 | + "psr-4": { |
| 186 | + "": "src/", |
| 187 | + "WP_CLI\\": "src/WP_CLI" |
| 188 | + }, |
| 189 | + "files": [ |
| 190 | + "entity-command.php" |
| 191 | + ] |
| 192 | + }, |
| 193 | + "minimum-stability": "dev", |
| 194 | + "prefer-stable": true, |
| 195 | + "scripts": { |
| 196 | + "behat": "run-behat-tests", |
| 197 | + "behat-rerun": "rerun-behat-tests", |
| 198 | + "lint": "run-linter-tests", |
| 199 | + "phpcs": "run-phpcs-tests", |
| 200 | + "phpunit": "run-php-unit-tests", |
| 201 | + "prepare-tests": "install-package-tests", |
| 202 | + "test": [ |
| 203 | + "@lint", |
| 204 | + "@phpcs", |
| 205 | + "@phpunit", |
| 206 | + "@behat" |
| 207 | + ] |
| 208 | + }, |
| 209 | + "support": { |
| 210 | + "issues": "https://github.com/wp-cli/entity-command/issues" |
187 | 211 | } |
188 | 212 | } |
0 commit comments