-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
100 lines (100 loc) · 2.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "mundschenk-at/media-credit",
"description": "Properly credit the artists on your WordPress site.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Peter Putzer",
"email": "[email protected]",
"homepage": "https://code.mundschenk.at",
"role": "Developer"
},
{
"name": "Scott Bressler",
"homepage": "http://www.scottbressler.com/",
"role": "Original author"
}
],
"require": {
"php": ">=7.4.0",
"level-2/dice": "4.0.4",
"mundschenk-at/check-wp-requirements": "^2.0",
"mundschenk-at/wp-data-storage": "^1.0",
"mundschenk-at/wp-settings-ui": "^1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"wp-coding-standards/wpcs": "dev-develop",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"roave/security-advisories": "dev-master",
"humbug/php-scoper": "^0.17",
"phpunit/phpunit": "< 10",
"mundschenk-at/phpunit-cross-version": "dev-master",
"phpstan/phpstan": "^1.0",
"szepeviktor/phpstan-wordpress": "^1.0",
"php-stubs/wp-cli-stubs": "^2.4",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"sirbrillig/phpcs-import-detection": "^1.3",
"mikey179/vfsstream": "^1.6",
"sniccowp/php-scoper-wordpress-excludes": "dev-master"
},
"autoload": {
"classmap": [
"includes/",
"public/",
"admin/"
],
"files": [
"includes/media-credit-template.php"
]
},
"autoload-dev": {
"classmap": [
"tests/"
],
"exclude-from-classmap": [
"tests/phpstan/"
]
},
"config": {
"classmap-authoritative": false,
"classloader-suffix": "MediaCredit",
"autoloader-suffix": "MediaCredit",
"process-timeout": 0,
"vendor-dir": "vendor",
"platform-check": false,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"dangoodman/composer-for-wordpress": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"phpcs": [
"phpcs -p -s includes/ admin/ public/ media-credit.php uninstall.php --extensions=php --ignore=*.asset.php"
],
"test": [
"phpunit --testsuite MediaCredit"
],
"coverage": [
"XDEBUG_MODE=coverage phpunit --testsuite MediaCredit --coverage-html tests/coverage"
],
"phpstan": [
"phpstan analyze --xdebug"
],
"phpstan-clean": [
"phpstan clear-result-cache --xdebug && phpstan analyze --xdebug"
],
"scope-dependencies": [
"@php vendor/bin/php-scoper add-prefix --config=.scoper.inc.php --force --quiet"
],
"build-wordpress": [
"@composer require dangoodman/composer-for-wordpress --no-update",
"@composer update --no-dev",
"@composer dump-autoload --classmap-authoritative --no-dev"
]
}
}