-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
98 lines (93 loc) · 3.28 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
{
"name": "mundschenk-at/avatar-privacy",
"description": "GDPR-conformant avatar handling for WordPress",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Peter Putzer",
"email": "[email protected]",
"homepage": "https://code.mundschenk.at",
"role": "Developer"
},
{
"name": "Johannes Freudendahl",
"email": "[email protected]",
"homepage": "http://code.freudendahl.net/",
"role": "Original author"
}
],
"require": {
"php": ">=7.4.0",
"ext-gd": "*",
"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",
"mistic100/randomcolor": "^1.0",
"jdenticon/jdenticon": "<1.1",
"splitbrain/php-ringicon": "^1.1"
},
"require-dev": {
"wp-coding-standards/wpcs": "dev-develop",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"phpunit/phpunit": "9.*||10.*",
"mikey179/vfsstream": "~1",
"roave/security-advisories": "dev-master",
"humbug/php-scoper": "^0.18",
"mundschenk-at/phpunit-cross-version": "dev-master",
"sirbrillig/phpcs-variable-analysis": "^2.8",
"sirbrillig/phpcs-import-detection": "^1.2",
"php-stubs/wp-cli-stubs": "^2.5",
"szepeviktor/phpstan-wordpress": "^1.1",
"sniccowp/php-scoper-wordpress-excludes": "^6"
},
"autoload": {
"classmap": ["includes/"],
"files": ["includes/avatar-privacy-functions.php", "includes/avatar-privacy/functions.php", "includes/avatar-privacy/tools/functions.php" ]
},
"autoload-dev": {
"classmap": ["tests/"],
"exclude-from-classmap": ["tests/phpstan/"]
},
"config": {
"classmap-authoritative": false,
"classloader-suffix": "AvatarPrivacy",
"autoloader-suffix": "AvatarPrivacy",
"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 *.php includes/ admin/ public/ --extensions=php"
],
"test": [
"phpunit --testsuite AvatarPrivacy"
],
"coverage": [
"XDEBUG_MODE=coverage phpunit --testsuite AvatarPrivacy --coverage-html tests/coverage"
],
"phpstan": [
"phpstan analyze --memory-limit 1G"
],
"phpstan-clean": [
"phpstan clear-result-cache && phpstan analyze --memory-limit 1G"
],
"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"
]
}
}