-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcomposer.json
42 lines (42 loc) · 989 Bytes
/
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
{
"autoload": {
"psr-4": {
"OCA\\TermsOfService\\": "lib/"
}
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"autoloader-suffix": "TermsOfService",
"optimize-autoloader": true,
"platform": {
"php": "8.0.2"
},
"sort-packages": true
},
"require": {
"erusev/parsedown": "^1.6",
"geoip2/geoip2": "~2.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"bin": "echo 'bin not installed'",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"openapi": "generate-spec --verbose",
"post-install-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload"
],
"post-update-cmd": [
"@composer bin all update --ansi",
"composer dump-autoload"
],
"psalm": "psalm --no-cache --threads=$(nproc)",
"test:unit": "vendor/bin/phpunit --color -c tests/phpunit.xml"
}
}