-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 1.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
{
"name": "presprog/kirby-auto-file-templates",
"description": "Automatically assign file templates on upload based on the file type",
"license": "MIT",
"type": "kirby-plugin",
"version": "1.0.1",
"authors": [
{
"name": "Benedict Massolle",
"email": "bm@presentprogressive.de",
"homepage": "https://presentprogressive.de"
}
],
"require": {
"php": "^8.2",
"getkirby/composer-installer": "^1.2"
},
"autoload": {
"psr-4": {
"PresProg\\AutoFileTemplates\\": "classes/"
}
},
"config": {
"allow-plugins": {
"getkirby/composer-installer": true
},
"optimize-autoloader": true
},
"extra": {
"installer-name": "auto-file-templates"
},
"scripts": {
"analyze": [
"@composer-validate",
"@tests",
"@psalm",
"@phpmd"
],
"composer-validate": "composer validate --strict --no-check-version --no-check-all",
"csfix": "@php tools/phpcs/vendor/bin/php-cs-fixer fix",
"phpmd": "@php tools/phpmd/vendor/bin/phpmd . ansi phpmd.xml --exclude tools/*,tests/*,vendor/",
"psalm": "@php tools/psalm/vendor/bin/psalm",
"tests": "@php tools/phpunit/vendor/bin/phpunit --bootstrap=tests/bootstrap.php",
"tests:coverage": "XDEBUG_MODE=coverage tools/phpunit/vendor/bin/phpunit --bootstrap=tests/bootstrap.php --coverage-html=tests/coverage",
"tools": "@php tools/tools.php"
}
}