-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 2.17 KB
/
Copy pathcomposer.json
File metadata and controls
58 lines (58 loc) · 2.17 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "vitormattos/usage-statistics-server",
"description": "Nextcloud app for receiving and aggregating privacy-preserving usage statistics.",
"type": "project",
"license": "AGPL-3.0-or-later",
"require": {
"php": ">=8.3"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"nextcloud/ocp": "dev-master",
"phpunit/phpunit": "^11.5",
"roave/security-advisories": "dev-latest"
},
"autoload": {
"psr-4": {
"OCA\\UsageStatisticsServer\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP",
"OCA\\UsageStatisticsServer\\Tests\\": "tests/php/"
}
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './node_modules/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"mutation:test": "php vendor-bin/infection/vendor/infection/infection/bin/infection --configuration=infection.json5",
"openapi": "generate-spec --verbose && npm run typescript:generate",
"phpstan": "php vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan analyse -c phpstan.neon",
"psalm": "psalm --no-cache --threads=$(nproc)",
"test:unit": "phpunit -c tests/php/phpunit.xml --testsuite unit --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"test:php": "phpunit -c tests/php/phpunit.xml --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"post-install-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload -o"
],
"post-update-cmd": [
"composer dump-autoload"
]
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.3"
}
}
}