generated from silverstripe/silverstripe-module
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
59 lines (59 loc) · 1.58 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
{
"name": "silverstripeltd/silverstripe-csp",
"description": "A module for CSP headers in Silverstripe.",
"type": "silverstripe-vendormodule",
"keywords": [
"silverstripe",
"CMS",
"CSP",
"content security policy"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "Adrian Humphreys",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"silverstripe/framework": "^5",
"silverstripe/cms": "^5"
},
"require-dev": {
"silverstripe/recipe-testing": "^3",
"squizlabs/php_codesniffer": "^3"
},
"autoload": {
"psr-4": {
"Silverstripe\\CSP\\": "src/",
"Silverstripe\\CSP\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test-phpunit": "phpunit -d memory_limit=512M -d flush=1",
"phpcs": "phpcs src tests --standard=phpcs.xml --extensions=php --encoding=utf-8",
"phpcbf": "phpcbf src tests --standard=phpcs.xml --extensions=php --encoding=utf-8"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/recipe-plugin": true,
"silverstripe/vendor-plugin": true
}
},
"extra": {
"project-files-installed": [
".htaccess",
"behat.yml",
"phpunit.xml.dist"
],
"public-files-installed": [
".htaccess",
"index.php",
"web.config"
]
}
}