-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
50 lines (50 loc) · 1.3 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": "spaze/csp-config",
"description": "Build Content Security Policy from a config file",
"license": "MIT",
"authors": [
{
"name": "Michal Špaček",
"homepage": "https://www.michalspacek.cz",
"email": "mail@michalspacek.cz"
}
],
"require": {
"php": "^8.2",
"nette/di": "^3.1",
"nette/schema": "^1.2",
"spaze/nonce-generator": "^4.0"
},
"autoload": {
"psr-4": {"Spaze\\ContentSecurityPolicy\\": "src"}
},
"require-dev": {
"nette/tester": "^2.5",
"nette/bootstrap": "^3.2",
"phpstan/phpstan": "^1.10",
"php-parallel-lint/php-parallel-lint": "^1.3",
"php-parallel-lint/php-console-highlighter": "^1.0",
"spaze/coding-standard": "^1.6"
},
"scripts": {
"lint": "vendor/bin/parallel-lint --colors src/ tests/",
"phpcs": "vendor/bin/phpcs src/ tests/",
"cs-fix": "vendor/bin/phpcbf src/ tests/",
"phpstan": "vendor/phpstan/phpstan/phpstan --ansi analyse --configuration phpstan.neon",
"tester": "vendor/nette/tester/src/tester -c tests/php-unix.ini --colors 1 tests/",
"test": [
"@lint",
"@phpcs",
"@phpstan",
"@tester"
]
},
"suggest": {
"spaze/sri-macros": "For script tags with automatically added nonces, and Subresource Integrity hashes, too"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}