-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
36 lines (36 loc) · 928 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
{
"name": "nextcloud/openapi-extractor",
"description": "A tool for extracting OpenAPI specifications from Nextcloud source code",
"license": "AGPL-3.0-or-later",
"bin": [
"bin/generate-spec",
"bin/merge-specs"
],
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"OpenAPIExtractor\\": "src"
}
},
"require": {
"php": "^8.1",
"ext-simplexml": "*",
"adhocore/cli": "^1.7",
"nikic/php-parser": "^5.0",
"phpstan/phpdoc-parser": "^1.28"
},
"require-dev": {
"nextcloud/coding-standard": "^1.2",
"nextcloud/ocp": "dev-master",
"rector/rector": "^2.0"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './tests/*' -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"test:unit": "cd tests && ../bin/generate-spec",
"rector": "rector && composer cs:fix"
}
}