-
Notifications
You must be signed in to change notification settings - Fork 9
/
composer.json
68 lines (68 loc) · 1.56 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
{
"name": "alleyinteractive/mantle",
"description": "A site using the Mantle framework for WordPress",
"license": "GPL-2.0-or-later",
"type": "project",
"authors": [
{
"name": "Alley",
"email": "[email protected]"
}
],
"require": {
"alleyinteractive/composer-wordpress-autoloader": "^1.0",
"alleyinteractive/mantle-framework": "^1.1",
"fakerphp/faker": "^1.23"
},
"require-dev": {
"alleyinteractive/alley-coding-standards": "^2.0",
"phpstan/phpstan": "1.12.7",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"apcu-autoloader": true,
"optimize-autoloader": true,
"sort-packages": true
},
"extra": {
"wordpress-autoloader": {
"autoload": {
"App\\": "app/",
"App\\Database\\": "database/"
},
"autoload-dev": {
"App\\Tests\\": "tests/"
}
}
},
"scripts": {
"post-autoload-dump": [
"bin/mantle package:discover",
"bin/mantle model:discover"
],
"lint": [
"@phpcs",
"@phpstan"
],
"lint:fix": "@phpcbf",
"phpcbf": "phpcbf --standard=./phpcs.xml .",
"phpcs": "phpcs --standard=./phpcs.xml .",
"phpstan": "phpstan --memory-limit=512M",
"phpunit": "phpunit",
"test": [
"@lint",
"@phpunit"
]
}
}