-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
102 lines (97 loc) · 3.21 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
101
102
{
"name": "mundschenk-at/wp-typography",
"description": "A WordPress plugin for improving your web typography",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Peter Putzer",
"email": "github@mundschenk.at",
"homepage": "https://code.mundschenk.at",
"role": "Developer"
},
{
"name": "Jeffrey D. King",
"email": "jeff.king@weathersource.com",
"homepage": "http://kingdesk.com",
"role": "Original author"
}
],
"require": {
"php": ">=7.4.0",
"mundschenk-at/php-typography": "^6.6.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": "dev-master"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.4",
"wp-coding-standards/wpcs": "^3",
"phpcompatibility/php-compatibility": "^9.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpunit/phpunit": "9.*||10.*||11.*",
"mikey179/vfsstream": "~1",
"brain/monkey": "^2.2",
"roave/security-advisories": "dev-master",
"humbug/php-scoper": "^0.18",
"mundschenk-at/phpunit-cross-version": "dev-master",
"phpstan/phpstan": "^2",
"sniccowp/php-scoper-wordpress-excludes": "^6",
"szepeviktor/phpstan-wordpress": "^2.0.0-rc.2",
"phpstan/extension-installer": "^1.2",
"paulthewalton/acf-stubs": "^5.8",
"phpstan/phpstan-phpunit": "^2",
"phpstan/phpstan-mockery": "^2.0",
"shish/safe": "^2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": ["includes/"]
},
"autoload-dev": {
"classmap": ["tests/"]
},
"config": {
"classmap-authoritative": false,
"classloader-suffix": "WPTypography",
"autoloader-suffix": "WPTypography",
"vendor-dir": "vendor",
"platform-check": false,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"dangoodman/composer-for-wordpress": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"test": [
"phpunit --testsuite wp-Typography"
],
"coverage": [
"XDEBUG_MODE=coverage phpunit --testsuite wp-Typography --coverage-html tests/coverage"
],
"check": [
"@phpcs",
"@phpstan"
],
"phpcs": [
"phpcs -ps includes/ admin/ tests/ --extensions=php && phpcs -ps *.php --runtime-set testVersion 7.4-"
],
"phpstan": [
"phpstan analyse --ansi"
],
"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"
],
"clean-wordpress": [
"@composer remove mundschenk-at/composer-for-wordpress"
]
}
}