-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
53 lines (53 loc) · 1.65 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
{
"name" : "wp-media/package-template",
"description" : "WP Plugin template for WP Media.",
"type" : "project",
"keywords" : ["wordpress", "wp", "plugin"],
"homepage" : "https://github.com/wp-media/package-template",
"license" : "GPL-2.0+",
"authors" : [
{
"name": "Mathieu Lamiot",
"email": "[email protected]"
}
],
"require" : {
"php" : ">=7.3"
},
"require-dev":{
"raveren/kint": "~1.0",
"filp/whoops": "~2.0",
"php": "^7.3 || ^8",
"brain/monkey": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpunit/phpunit": "^5.7 || ^7 || ^8",
"wp-coding-standards/wpcs": "dev-develop",
"wp-media/phpunit": "^3"
},
"autoload": {},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"config":{
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"scripts": {
"test-unit": "vendor/bin/phpunit --testsuite unit --colors=always --configuration \"Tests/Unit/phpunit.xml.dist\"",
"test-integration": "vendor/bin/phpunit --testsuite integration --colors=always --configuration \"Tests/Integration/phpunit.xml.dist\"",
"run-tests": [
"@test-unit",
"@test-integration"
],
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs": "phpcs --basepath=.",
"phpcs-changed": "./bin/phpcs-changed.sh",
"phpcs:fix": "phpcbf"
}
}