-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
75 lines (75 loc) · 1.66 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
{
"name": "bnomei/kirby3-security-headers",
"type": "kirby-plugin",
"version": "4.0.0",
"license": "MIT",
"description": "Kirby Plugin for easier Security Headers setup",
"authors": [
{
"name": "Bruno Meilick",
"email": "[email protected]"
}
],
"keywords": [
"kirby",
"kirby-cms",
"kirby-plugin",
"content-security-policy",
"security-headers",
"csp",
"nonce",
"nonces",
"hash",
"apache",
"nginx",
"json",
"yaml"
],
"autoload": {
"psr-4": {
"Bnomei\\": "classes/"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"getkirby/composer-installer": true
}
},
"require": {
"php": ">=8.1.0",
"getkirby/composer-installer": "^1.2",
"paragonie/csp-builder": "^2.5"
},
"require-dev": {
"getkirby/cms": "^4.0",
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^9.5"
},
"scripts": {
"analyze": "phpstan analyse classes",
"fix": "php-cs-fixer fix",
"test": [
"mkdir -p tests/logs",
"@putenv XDEBUG_MODE=coverage",
"phpunit --configuration ./phpunit.xml"
],
"dist": [
"composer install --no-dev --optimize-autoloader",
"git rm -rf --cached .; git add .;"
],
"kirby": [
"composer install",
"composer update",
"composer install --working-dir=tests/kirby --no-dev --optimize-autoloader",
"composer update --working-dir=tests/kirby"
]
},
"extra": {
"kirby-cms-path": "tests/kirby"
},
"suggest": {
"bnomei/kirby3-doctor": "Add a panel button to check health and security of your Kirby installation"
}
}