-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
94 lines (94 loc) · 2.41 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
{
"name": "alleyinteractive/create-wordpress-project",
"description": "A skeleton WordPress project",
"license": "GPL-2.0-or-later",
"type": "project",
"keywords": [
"alleyinteractive",
"create-wordpress-project"
],
"authors": [
{
"name": "Alley",
"email": "[email protected]"
}
],
"homepage": "https://github.com/alleyinteractive/create-wordpress-project",
"require": {
"php": "^8.2",
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
"alleyinteractive/wp-plugin-loader": "^0.1.3",
"composer/installers": "^1.0",
"pantheon-systems/pantheon-mu-plugin": "^1.0"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^2.0",
"mantle-framework/testkit": "^0.12",
"szepeviktor/phpstan-wordpress": "^1.1"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*"
]
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"pestphp/pest-plugin": true
},
"sort-packages": true
},
"extra": {
"installer-paths": {
"mu-plugins/{$name}": [
"type:wordpress-muplugin"
],
"plugins/{$name}": [
"type:wordpress-plugin"
]
},
"wordpress-autoloader": {
"autoload": {
"Create_WordPress_Plugin\\": "plugins/create-wordpress-plugin/src"
},
"autoload-dev": {
"Create_WordPress_Plugin\\Tests\\": "plugins/create-wordpress-plugin/tests"
}
}
},
"scripts": {
"phpcbf": [
"@phpcbf:plugin",
"@phpcbf:theme"
],
"phpcbf:plugin": "cd plugins/create-wordpress-plugin && phpcbf .",
"phpcbf:theme": "cd themes/create-wordpress-theme && phpcbf .",
"phpcs": [
"@phpcs:plugin",
"@phpcs:theme"
],
"phpcs:plugin": "cd plugins/create-wordpress-plugin && phpcs .",
"phpcs:theme": "cd themes/create-wordpress-theme && phpcs .",
"phpstan": "phpstan --memory-limit=1G",
"phpunit": [
"@phpunit:plugin"
],
"phpunit:plugin": "cd plugins/create-wordpress-plugin && phpunit",
"setup": [
"composer install --quiet --no-interaction"
],
"test": [
"@phpcs",
"@phpstan",
"@phpunit"
]
}
}