-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
81 lines (81 loc) · 2.38 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
{
"type": "project",
"name": "locomotivemtl/charcoal-project-boilerplate",
"description": "A Charcoal Project Boilerplate",
"keywords": [
"charcoal",
"boilerplate",
"project",
"skeleton"
],
"homepage": "https://charcoal.locomotive.ca/",
"license": "MIT",
"support": {
"source": "https://github.com/locomotivemtl/charcoal-project-boilerplate",
"issues": "https://github.com/locomotivemtl/charcoal-project-boilerplate/issues"
},
"authors": [
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
}
],
"require": {
"php": "^7.4 || ^8.1",
"locomotivemtl/charcoal-admin": "^0.30",
"locomotivemtl/charcoal-app": "^0.9",
"locomotivemtl/charcoal-attachment": "^0.10",
"locomotivemtl/charcoal-cms": "^0.10",
"mustache/mustache": "^2.14"
},
"require-dev": {
"phpstan/phpstan": "^1.7",
"phpunit/phpunit": "^9.5",
"seld/jsonlint": "^1.9",
"squizlabs/php_codesniffer": "^3.6",
"vimeo/psalm": "^4.23"
},
"config": {
"allow-plugins": {},
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/App",
"Charcoal\\": "src/Charcoal"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"fix": [
"@fix:phpcbf",
"@fix:psalter"
],
"lint": [
"@lint:json",
"@lint:php",
"@lint:phpcs",
"@lint:phpstan",
"@lint:psalm"
],
"test": [
"@test:phpunit"
],
"fix:phpcbf": "phpcbf -ps --colors src/",
"fix:psalter": "psalter",
"lint:json": "find {config,metadata} -type f -iname '*.json' -print0 2> /dev/null | xargs -0 jsonlint -q",
"lint:php": "find {src,tests} -type f -iname '*.php' -print0 2> /dev/null | xargs -0 -n1 -P8 php -l 2> /dev/null | grep -v '^No syntax errors detected'; test $? -eq 1",
"lint:phpcs": "phpcs -ps --colors src/",
"lint:phpstan": "phpstan analyse",
"lint:psalm": "psalm",
"test:phpunit": "phpunit --coverage-text"
}
}