nextcloud/composer.json

28 lines
708 B
JSON

{
"config" : {
"vendor-dir": "lib/composer",
"optimize-autoloader": true
},
"autoload" : {
"psr-4": {
"": "lib/private/legacy",
"OC\\": "lib/private",
"OC\\Core\\": "core/",
"OCP\\": "lib/public"
}
},
"require": {
"ext-json": "*",
"ext-pdo": "*"
},
"require-dev": {
"nextcloud/coding-standard": "^0.3.0",
"psalm/phar": "^3.12"
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l"
}
}