-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
69 lines (69 loc) · 1.58 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
{
"name": "alleyinteractive/wp-type-extensions",
"description": "PHP interfaces and implementations for WordPress.",
"license": "GPL-2.0-or-later",
"type": "library",
"authors": [
{
"name": "Alley",
"email": "info@alley.com"
}
],
"require": {
"php": "^8.2",
"alleyinteractive/laminas-validator-extensions": "^2.0",
"alleyinteractive/wp-match-blocks": "^3.0",
"spatie/once": "^3.1"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^2.0",
"ergebnis/composer-normalize": "^2.44",
"mantle-framework/testkit": "^1.2",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"Alley\\WP\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"lock": false,
"sort-packages": true
},
"extra": {
"composer-normalize": {
"indent-size": 2,
"indent-style": "space"
},
"wordpress-autoloader": {
"autoload": {
"Alley\\WP\\": "src/"
}
}
},
"scripts": {
"pre-install-cmd": [
"@tidy"
],
"post-install-cmd": [
"@tidy"
],
"phpcbf": "phpcbf",
"phpcs": "phpcs",
"phpstan": "phpstan -v --memory-limit=512M",
"phpunit": "phpunit",
"test": [
"@phpcs",
"@phpstan",
"@phpunit"
],
"tidy": "[ $COMPOSER_DEV_MODE -eq 0 ] || composer normalize"
}
}