-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
45 lines (45 loc) · 1.51 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
{
"name": "wp-media/plugin-family",
"description": "Organizes and displays WP Media plugin family across other members.",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "WP Media",
"email": "[email protected]",
"homepage": "https://wp-media.me"
}
],
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"require-dev": {
"phpcompatibility/phpcompatibility-wp": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"wp-coding-standards/wpcs": "^3",
"wp-media/phpunit": "^3",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"autoload": {
"psr-4": {
"WPMedia\\PluginFamily\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WPMedia\\PluginFamily\\Tests\\": "tests/"
}
},
"scripts": {
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs": "phpcs --basepath=.",
"phpcs:fix": "phpcbf",
"test-unit": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist --coverage-php tests/report/unit.cov",
"report-code-coverage": "\"vendor/bin/phpcov\" merge tests/report --clover tests/report/coverage.clover",
"phpstan": "vendor/bin/phpstan analyze --memory-limit=2G --no-progress"
}
}