-
-
Notifications
You must be signed in to change notification settings - Fork 96
/
composer.json
80 lines (80 loc) · 1.97 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
{
"name": "johnbillion/extended-cpts",
"description": "A library which provides extended functionality to WordPress custom post types and taxonomies.",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "John Blackbourn",
"homepage": "https://johnblackbourn.com/"
}
],
"homepage": "https://github.com/johnbillion/extended-cpts/",
"require": {
"php": ">= 7.4.0",
"johnbillion/args": "^1.4.1 || ^2.0"
},
"require-dev": {
"automattic/phpcs-neutron-standard": "1.7.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"johnbillion/falsey-assertequals-detector": "*",
"johnbillion/plugin-infrastructure": "dev-trunk",
"johnbillion/wp-compat": "0.3.0",
"lucatume/wp-browser": ">=3.0.21 <3.5",
"phpcompatibility/phpcompatibility-wp": "^2",
"phpstan/phpstan": "1.12.2",
"phpstan/phpstan-phpunit": "1.4.0",
"roots/wordpress-core-installer": "^1.0.0",
"roots/wordpress-full": "*",
"szepeviktor/phpstan-wordpress": "1.1.6",
"wp-coding-standards/wpcs": "2.3.0"
},
"autoload": {
"psr-4": {
"ExtCPTs\\": "src",
"ExtCPTs\\Tests\\": "tests/integration"
},
"files": [
"functions.php"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
},
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"wordpress-install-dir": "vendor/wordpress/wordpress"
},
"scripts": {
"test": [
"@composer validate --strict --no-check-lock",
"@test:phpstan",
"@test:phpcs",
"@test:start",
"@test:integration",
"@test:stop"
],
"test:destroy": [
"tests-destroy"
],
"test:integration": [
"integration-tests"
],
"test:phpcs": [
"phpcs -nps --colors --report-code --report-summary --report-width=80 --cache=tests/cache/phpcs.json --basepath='./' ."
],
"test:phpstan": [
"codecept build",
"phpstan analyze -v --memory-limit=1024M"
],
"test:start": [
"tests-start"
],
"test:stop": [
"tests-stop"
]
}
}