49 строки
1.7 KiB
JSON
49 строки
1.7 KiB
JSON
{
|
|
"require": {
|
|
"lsolesen/pel": "^0.9.12",
|
|
"bogdaan/open-location-code": "dev-master"
|
|
},
|
|
"require-dev": {
|
|
"christophwurst/nextcloud_testing": "^0.12.4",
|
|
"bamarni/composer-bin-plugin": "*"
|
|
},
|
|
"scripts": {
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './tests/stubs/*' -print0 | xargs -0 -n1 php -l",
|
|
"psalm": "psalm.phar --threads=1",
|
|
"psalm:update-baseline": "psalm.phar --threads=1 --update-baseline",
|
|
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
|
|
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
|
|
"test:integration": "phpunit -c tests/phpunit.integration.xml --fail-on-warning",
|
|
"test:integration:dev": "phpunit -c tests/phpunit.integration.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure",
|
|
"test:unit": "phpunit -c tests/phpunit.unit.xml --fail-on-warning",
|
|
"test:unit:dev": "phpunit -c tests/phpunit.unit.xml --no-coverage --order-by=defects --stop-on-defect --fail-on-warning --stop-on-error --stop-on-failure",
|
|
"post-install-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
|
|
],
|
|
"post-update-cmd": [
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
|
|
]
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"lib/Helper/functions.php"
|
|
],
|
|
"psr-4": {
|
|
"OCA\\Maps\\": "./lib/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"bamarni-bin": {
|
|
"bin-links": true,
|
|
"forward-command": true
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
}
|
|
}
|
|
}
|