60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"name": "librecode/custom_domain",
|
|
"description": "Use custom domains",
|
|
"type": "project",
|
|
"license": "AGPL",
|
|
"authors": [
|
|
{
|
|
"name": "Vitor Mattos",
|
|
"email": "vitor@php.rio"
|
|
}
|
|
],
|
|
"require-dev": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"nextcloud/ocp": "dev-master",
|
|
"roave/security-advisories": "dev-master"
|
|
},
|
|
"config": {
|
|
"autoloader-suffix": "custom_domain",
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"bin": "echo 'bin not installed'",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './node_modules/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"psalm": "psalm --threads=1",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
|
|
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi",
|
|
"composer dump-autoload"
|
|
],
|
|
"post-update-cmd": [
|
|
"@composer bin all update --ansi",
|
|
"composer dump-autoload"
|
|
],
|
|
"test:unit": "vendor/bin/phpunit -c tests/php/phpunit.xml --color --fail-on-warning --fail-on-risky"
|
|
},
|
|
"extra": {
|
|
"bamarni-bin": {
|
|
"bin-links": true,
|
|
"forward-command": true
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\CustomDomain\\": "lib/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP"
|
|
}
|
|
}
|
|
}
|