-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
65 lines (65 loc) · 1.9 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
{
"name": "boxuk/dictator",
"description": "The Dictator controls the state of WordPress",
"type": "wp-cli-package",
"homepage": "https://github.com/boxuk/dictator",
"license": "MIT",
"authors": [
{
"name" : "Box UK",
"email": "developers@boxuk.com",
"homepage": "https://www.boxuk.com"
},
{
"name": "Daniel Bachhuber",
"email": "d@danielbachhuber.com",
"homepage": "https://danielbachhuber.com",
"role": "Developer"
}
],
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": "^8.0 || ^8.1",
"wp-cli/mustangostang-spyc": "^0.6.3",
"symfony/polyfill-php81": "^1.25"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"wp-cli/wp-cli-bundle": "^2.4",
"wp-cli/wp-cli-tests": "^3.0"
},
"autoload": {
"psr-4": {
"BoxUk\\Dictator\\": "src/"
},
"files": [ "dictator.php" ]
},
"autoload-dev": {
"psr-4": {
"BoxUk\\Dictator\\Tests\\": "tests/"
}
},
"scripts": {
"behat": "run-behat-tests",
"behat-rerun": "rerun-behat-tests",
"lint": "run-linter-tests --exclude tools",
"phpcs": "run-phpcs-tests",
"phpunit": "run-php-unit-tests",
"prepare-tests": "install-package-tests",
"test": [
"@lint",
"@phpcs",
"@phpunit",
"@behat"
],
"install-tools": "@composer update -W --working-dir=tools/php-cs-fixer",
"php-cs-fixer:test": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix -v --diff --dry-run",
"php-cs-fixer:fix": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix -v --diff"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}