-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
71 lines (71 loc) · 2.72 KB
/
composer.json
File metadata and controls
71 lines (71 loc) · 2.72 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
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "librecode/profile_fields",
"description": "Managed profile fields for Nextcloud accounts",
"type": "project",
"license": "AGPL-3.0-or-later",
"authors": [
{
"name": "Libre Code",
"email": "contact@librecode.coop"
}
],
"require": {},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-master"
},
"config": {
"autoloader-suffix": "profile_fields",
"optimize-autoloader": true,
"classmap-authoritative": true,
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"platform": {
"php": "8.2"
}
},
"scripts": {
"bin": "echo 'bin not installed'",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
"psalm": "psalm --no-cache --threads=$(nproc)",
"psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
"post-install-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload -o"
],
"post-update-cmd": [
"@composer bin all install --ansi",
"composer dump-autoload -o"
],
"test:unit": "vendor/bin/phpunit -c tests/php/phpunit.xml --testsuite Unit --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"test:api": "vendor/bin/phpunit -c tests/php/phpunit.xml --testsuite Api --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"test:php:controller-integration": "vendor/bin/phpunit -c tests/php/phpunit.xml --testsuite ControllerIntegration --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"test:integration": "composer --working-dir=tests/integration run behat",
"test:php": "vendor/bin/phpunit -c tests/php/phpunit.xml --testsuite All --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations",
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit -c tests/php/phpunit.xml --testsuite All"
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
},
"autoload": {
"psr-4": {
"OCA\\ProfileFields\\": "lib/"
}
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP",
"OCA\\ProfileFields\\Tests\\Api\\": "tests/php/Api/",
"OCA\\ProfileFields\\Tests\\Unit\\": "tests/php/Unit/"
}
}
}