-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathcomposer.json
70 lines (70 loc) · 2.17 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
{
"name": "nzta/silverstripe-sitebanner",
"description": "Site-wide banners activated through the CMS",
"type": "silverstripe-vendormodule",
"homepage": "https://github.com/silverstripe/silverstripe-sitebanner",
"keywords": [
"silverstripe",
"banner",
"cms"
],
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/silverstripe/silverstripe-sitebanner/issues"
},
"require": {
"php": ">= 8.0",
"silverstripe/cms": "^5"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3",
"slevomat/coding-standard": "^8.1",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpcompatibility/php-compatibility": "^9.3"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-name": "sitebanner",
"expose": [
"client"
],
"project-files-installed": [
"behat.yml",
"phpcs.xml.dist",
"phpunit.xml.dist"
]
},
"autoload": {
"psr-4": {
"NZTA\\SiteBanner\\": "src"
}
},
"suggest": {
"symbiote/silverstripe-gridfieldextensions": "Allows sorting of site banners"
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"silverstripe-standards": [
"@php-lint",
"@phpcs"
],
"test": [
"@test-phpunit"
],
"test-phpunit": "phpunit -d memory_limit=512M -d flush=1",
"test-phpunit-with-coverage": [
"phpunit --coverage-html coverage/php --coverage-clover coverage/php/clover.xml"
],
"php-lint": "parallel-lint src tests",
"phpcs": "phpcs src tests --standard=phpcs.xml --extensions=php --encoding=utf-8",
"phpcbf": "phpcbf src tests --standard=phpcs.xml --extensions=php --encoding=utf-8",
"sniffer:php81": "phpcs -p ./src --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1"
}
}