forked from alleyinteractive/mantle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
56 lines (56 loc) · 1.26 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
{
"$schema": "https://getcomposer.org/schema.json",
"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/mantle-framework": "^1.1",
"fakerphp/faker": "^1.23"
},
"require-dev": {
"phpstan/phpstan": "1.11.7",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"App\\": "app/",
"App\\Database\\": "database/"
}
},
"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
},
"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"]
}
}