-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
72 lines (72 loc) · 1.95 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
{
"name": "alleyinteractive/create-mantle-app",
"type": "project",
"description": "Mantle Application Scaffold",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Alley",
"email": "[email protected]"
}
],
"require": {
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
"alleyinteractive/mantle-framework": "^0.7",
"fakerphp/faker": "^1.9"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^0.3",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3"
},
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"apcu-autoloader": true,
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"files": [
"mu-plugins/0-composer.php"
]
},
"extra": {
"installer-paths": {
"wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
]
},
"wordpress-autoloader": {
"autoload": {
"App\\": "mu-plugins/mantle-app/app/",
"App\\Database\\": "mu-plugins/mantle-app/database/"
},
"autoload-dev": {
"App\\Tests\\": "mu-plugins/mantle-app/tests/"
}
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"minimum-stability": "dev",
"scripts": {
"phpcbf": "phpcbf --standard=./phpcs.xml .",
"phpcs": "phpcs --standard=./phpcs.xml .",
"phpunit": "cd mu-plugins/mantle-app && phpunit",
"test": [
"@lint",
"@phpunit"
]
}
}