mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-20 06:30:52 +08:00
Add composer phpcbf
and allow wordpress-core-installer
(#179)
This commit is contained in:
parent
3d564278ed
commit
7f2212e026
1 changed files with 67 additions and 65 deletions
132
composer.json
132
composer.json
|
@ -1,68 +1,70 @@
|
|||
{
|
||||
"name": "wp-cli/profile-command",
|
||||
"type": "wp-cli-package",
|
||||
"description": "Quickly identify what's slow with WordPress.",
|
||||
"homepage": "https://github.com/wp-cli/profile-command/",
|
||||
"license": "MIT",
|
||||
"authors": [],
|
||||
"require": {
|
||||
"php": ">=5.6",
|
||||
"wp-cli/wp-cli": "^2.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"wp-cli/wp-cli-tests": "^3.1"
|
||||
},
|
||||
"config": {
|
||||
"process-timeout": 7200,
|
||||
"sort-packages": true,
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.x-dev"
|
||||
},
|
||||
"commands": [
|
||||
"profile stage",
|
||||
"profile hook",
|
||||
"profile eval",
|
||||
"profile eval-file"
|
||||
],
|
||||
"readme": {
|
||||
"sections": [
|
||||
"Overview",
|
||||
"Using",
|
||||
"Installing",
|
||||
"Contributing"
|
||||
],
|
||||
"overview": {
|
||||
"post": "bin/readme/overview-body.md"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"WP_CLI\\Profile\\": "src/"
|
||||
},
|
||||
"files": [
|
||||
"profile-command.php"
|
||||
]
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"scripts": {
|
||||
"behat": "run-behat-tests",
|
||||
"behat-rerun": "rerun-behat-tests",
|
||||
"lint": "run-linter-tests",
|
||||
"phpcs": "run-phpcs-tests",
|
||||
"phpunit": "run-php-unit-tests",
|
||||
"prepare-tests": "install-package-tests",
|
||||
"test": [
|
||||
"@lint",
|
||||
"@phpcs",
|
||||
"@phpunit",
|
||||
"@behat"
|
||||
]
|
||||
"name": "wp-cli/profile-command",
|
||||
"type": "wp-cli-package",
|
||||
"description": "Quickly identify what's slow with WordPress.",
|
||||
"homepage": "https://github.com/wp-cli/profile-command/",
|
||||
"license": "MIT",
|
||||
"authors": [],
|
||||
"require": {
|
||||
"php": ">=5.6",
|
||||
"wp-cli/wp-cli": "^2.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"wp-cli/wp-cli-tests": "^3.1"
|
||||
},
|
||||
"config": {
|
||||
"process-timeout": 7200,
|
||||
"sort-packages": true,
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true,
|
||||
"johnpbloch/wordpress-core-installer": true
|
||||
}
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.x-dev"
|
||||
},
|
||||
"commands": [
|
||||
"profile stage",
|
||||
"profile hook",
|
||||
"profile eval",
|
||||
"profile eval-file"
|
||||
],
|
||||
"readme": {
|
||||
"sections": [
|
||||
"Overview",
|
||||
"Using",
|
||||
"Installing",
|
||||
"Contributing"
|
||||
],
|
||||
"overview": {
|
||||
"post": "bin/readme/overview-body.md"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"WP_CLI\\Profile\\": "src/"
|
||||
},
|
||||
"files": [
|
||||
"profile-command.php"
|
||||
]
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"scripts": {
|
||||
"behat": "run-behat-tests",
|
||||
"behat-rerun": "rerun-behat-tests",
|
||||
"lint": "run-linter-tests",
|
||||
"phpcs": "run-phpcs-tests",
|
||||
"phpcbf": "run-phpcbf-cleanup",
|
||||
"phpunit": "run-php-unit-tests",
|
||||
"prepare-tests": "install-package-tests",
|
||||
"test": [
|
||||
"@lint",
|
||||
"@phpcs",
|
||||
"@phpunit",
|
||||
"@behat"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue