generated from chevere/package-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
58 lines (58 loc) · 1.69 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
{
"name": "chevere/danky",
"description": "Typed template system",
"homepage": "https://chevere.org",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "Rodolfo Berrios",
"email": "[email protected]",
"homepage": "https://chevere.org"
}
],
"require": {
"chevere/chevere": "^2.0"
},
"require-dev": {
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
"symplify/easy-coding-standard": "^11.1"
},
"autoload": {
"psr-4": {
"Chevere\\Danky\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Chevere\\Tests\\": "tests/",
"Chevere\\Danky\\Demo\\": "demo/"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"all": [
"composer phpstan",
"composer test",
"composer test-rep",
"composer infection"
],
"infection": "infection --only-covered -j10",
"phpstan": "vendor/bin/phpstan analyze src/ --memory-limit 512M --level 9",
"test": "vendor/bin/phpunit -c phpunit.xml",
"test-rep": "vendor/bin/phpunit -c phpunit-report.xml",
"update-cs": "mkdir -p .ecs && cd .ecs && curl -O https://raw.githubusercontent.com/chevere/code-style/main/.ecs/ecs-chevere.php"
},
"scripts-descriptions": {
"all": "Runs all checks",
"infection": "Runs infection",
"phpstan": "Runs phpstan",
"test": "Run test suite",
"test-rep": "Run test suite (report)",
"update-cs": "Update Chevere code style definition"
}
}