generated from locomotivemtl/charcoal-contrib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
86 lines (86 loc) · 2.42 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
76
77
78
79
80
81
82
83
84
85
86
{
"type": "library",
"name": "locomotivemtl/charcoal-contrib-cookie-consent",
"description": "Charcoal module for cookie consent support useing vanilla-cookieconsent.",
"keywords": [
"charcoal",
"contrib",
"cookie",
"consent"
],
"homepage": "https://locomotivemtl.github.io/charcoal-contrib-cookie-consent/",
"license": "MIT",
"authors": [
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
},
{
"name": "Joel Alphonso",
"email": "info@joelalphonso.com"
}
],
"require": {
"php": "^7.4 || ^8.0",
"ext-intl": "*",
"ext-json": "*",
"charcoal/config": "^5.0",
"charcoal/core": "^5.0",
"charcoal/object": "^5.0",
"charcoal/property": "^5.0",
"charcoal/translator": "^5.0",
"pimple/pimple": "^3.5"
},
"require-dev": {
"charcoal/app": "^5.0",
"php-coveralls/php-coveralls": "^2.2",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.5",
"seld/jsonlint": "^1.10",
"squizlabs/php_codesniffer": "^3.8",
"vimeo/psalm": "^5.17"
},
"autoload": {
"psr-4": {
"Charcoal\\": "src/Charcoal/"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Tests\\": "tests/Charcoal/"
}
},
"extra": {
"branch-alias": {
"dev-main": "1.x-dev"
}
},
"scripts": {
"fix": [
"@fix:phpcbf",
"@fix:psalter"
],
"lint": [
"@lint:json",
"@lint:php",
"@lint:phpcs",
"@lint:phpstan",
"@lint:psalm"
],
"test": [
"@test:phpunit"
],
"fix:phpcbf": "phpcbf -ps --colors src/",
"fix:psalter": "psalter",
"lint:json": "find {config,metadata} -type f -iname '*.json' -print0 2> /dev/null | xargs -0 jsonlint -q",
"lint:php": "find {src,tests} -type f -iname '*.php' -print0 2> /dev/null | xargs -0 -n1 -P8 php -l 2> /dev/null | grep -v '^No syntax errors detected'; test $? -eq 1",
"lint:phpcs": "phpcs -ps --colors src/",
"lint:phpstan": "phpstan analyse",
"lint:psalm": "psalm",
"test:phpunit": "phpunit --coverage-text"
},
"config": {
"allow-plugins": {},
"sort-packages": true
}
}