forked from mundschenk-at/wp-typography
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
101 lines (95 loc) · 3.15 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
{
"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": "[email protected]",
"homepage": "https://code.mundschenk.at",
"role": "Developer"
},
{
"name": "Jeffrey D. King",
"email": "[email protected]",
"homepage": "http://kingdesk.com",
"role": "Original author"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mundschenk-at/composer-for-wordpress.git",
"no-api": true
}
],
"require": {
"php": ">=5.6.0",
"mundschenk-at/php-typography": "^6.6.0",
"level-2/dice": "^2.0.3",
"mundschenk-at/check-wp-requirements": "^1.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": "^2.0",
"phpcompatibility/php-compatibility": "^9.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpunit/phpunit": "5.*||6.*||7.*||8.*||9.*",
"phpunit/php-code-coverage": "<9.1.8",
"mikey179/vfsstream": "~1",
"brain/monkey": "^2.2",
"roave/security-advisories": "dev-master",
"humbug/php-scoper": "^0.13",
"mundschenk-at/phpunit-cross-version": "dev-master"
},
"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
},
"scripts": {
"test": [
"phpunit --testsuite wp-Typography"
],
"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 5.2-"
],
"phpstan": [
"@composer require phpstan/phpstan --dev --quiet",
"phpstan analyse --configuration=.phpstan.neon --level=7 --ansi includes/",
"#phpstan analyse --configuration=.phpstan.neon --level=6 --ansi tests/",
"@composer remove phpstan/phpstan --dev --quiet"
],
"scope-dependencies": [
"@php vendor/bin/php-scoper add-prefix --config=.scoper.inc.php --force --quiet"
],
"build-wordpress": [
"@composer require mundschenk-at/composer-for-wordpress=dev-master --no-update",
"@composer update --no-dev",
"@composer dump-autoload --classmap-authoritative --no-dev"
],
"clean-wordpress": [
"@composer remove mundschenk-at/composer-for-wordpress"
]
}
}