-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
50 lines (50 loc) · 1.5 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
{
"name": "maxonfjvipon/phtml",
"description": "Pure object-oriented HTML construction templating library with functional interface",
"license": ["MIT"],
"authors": [
{
"name": "Max Trunnikov",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"maxonfjvipon/elegant-elephant": "^4.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
"php-coveralls/php-coveralls": "^2.5",
"phpstan/phpstan": "^1.8",
"phpunit/phpunit": "^9.0",
"rregeer/phpunit-coverage-check": "^0.3.1"
},
"scripts": {
"test": "vendor/bin/phpunit --exclude skip",
"coverage": "vendor/bin/coverage-check build/logs/clover.xml 100",
"phpstan": "vendor/bin/phpstan analyze src tests",
"cs-fixer dry": "vendor/bin/php-cs-fixer fix src --dry-run -v --using-cache=no && vendor/bin/php-cs-fixer fix tests --dry-run -v --using-cache=no",
"cs-fixer fix": "vendor/bin/php-cs-fixer fix src -v --using-cache=no && vendor/bin/php-cs-fixer fix tests -v --using-cache=no",
"pre-push": "composer run-script \"cs-fixer dry\" && composer run-script phpstan && composer run-script test && composer run-script coverage"
},
"autoload": {
"psr-4": {
"Maxonfjvipon\\Phtml\\": "src"
},
"files": [
"src/tags.php"
]
},
"autoload-dev": {
"psr-4": {
"Maxonfjvipon\\Phtml\\Tests\\": "tests"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"sort-packages": true,
"optimize-autoloader": true
}
}