-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
44 lines (44 loc) · 1.19 KB
/
composer.json
File metadata and controls
44 lines (44 loc) · 1.19 KB
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
{
"name": "nextcloud/emailviewer",
"description": "View the contents of an .eml or .msg file",
"license": "AGPL-3.0-or-later",
"type": "project",
"authors": [
{
"name": "Hamza Mahjoubi"
}
],
"require": {
"php": "^8.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.9",
"nextcloud/ocp": "dev-stable28"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"composer/package-versions-deprecated": true
},
"platform": {
"php": "8.0"
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": false,
"forward-command": true,
"target-directory": "vendor-bin"
}
},
"scripts": {
"cs:check": "vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff",
"cs:fix": "vendor-bin/cs-fixer/vendor/bin/php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "vendor-bin/psalm/vendor/bin/psalm --threads=1",
"psalm:dev": "vendor-bin/psalm/vendor/bin/psalm --no-cache --threads=$(nproc)",
"psalm:update-baseline": "vendor-bin/psalm/vendor/bin/psalm --threads=1 --update-baseline",
"test:unit": "vendor-bin/phpunit/vendor/bin/phpunit -c tests/phpunit.xml"
}
}