-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
65 lines (65 loc) · 1.78 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
{
"type": "library",
"name": "locomotivemtl/charcoal-slim",
"description": "",
"keywords": [ "charcoal", "framework", "slim", "app" ],
"homepage": "https://charcoal.locomotive.ca",
"license": "MIT",
"authors": [
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.4 || ^8.0",
"ext-json": "*",
"charcoal/config": "*",
"charcoal/view": "*",
"guzzlehttp/guzzle": "^7.5",
"pimple/pimple": "^3.5",
"slim/psr7": "^1.6",
"slim/slim": "^4.11"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.5",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^3.18"
},
"autoload": {
"psr-4": {
"Charcoal\\Slim\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Slim\\Tests\\": "tests/"
}
},
"scripts": {
"test": [
"@tests"
],
"tests": [
"@phplint",
"@phpcs",
"@phpunit"
],
"validate": [
"@phplint",
"@phpcs",
"@phpstan",
"@psalm"
],
"phplint": "find src tests -type f -name '*.php' -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected'; test $? -eq 1",
"phpcs": "php vendor/bin/phpcs",
"phpcbf": "php vendor/bin/phpcbf",
"phpunit": "php vendor/bin/phpunit --coverage-text",
"phpstan": "php vendor/bin/phpstan analyze --level=5 src",
"psalm": "php vendor/bin/psalm --config=psalm.xml src"
}
}