45 lines
1.7 KiB
JSON
45 lines
1.7 KiB
JSON
{
|
|
"name": "furyfire/backupscript",
|
|
"description": "Wrapper for Rclone based backup with push notifications",
|
|
"homepage": "https://jcktrue.dk",
|
|
"version": "0.1.0",
|
|
"require": {
|
|
"symfony/console": "^6.3",
|
|
"symfony/yaml": "^6.3",
|
|
"twig/twig": "^3.6",
|
|
"symfony/process": "^6.3",
|
|
"monolog/monolog": "^3.3",
|
|
"verifiedjoseph/ntfy-php-library": "^4.2",
|
|
"league/config": "^1.2"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "*",
|
|
"phpstan/phpstan": "^1.10",
|
|
"vimeo/psalm": "^5.12",
|
|
"phpmd/phpmd": "^2.13",
|
|
"phpunit/phpunit": "^10.2"
|
|
},
|
|
"scripts": {
|
|
"test": "vendor/bin/phpunit tests --display-warnings",
|
|
"test-coverage": "vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --path-coverage --testdox-html output/test.html ",
|
|
"docs": "./phpDocumentor.phar --setting=graphs.enabled=true",
|
|
"analyze": [
|
|
"@analyze-yaml",
|
|
"@analyze-phpmd",
|
|
"@analyze-phpstan",
|
|
"@analyze-psalm",
|
|
"@analyze-phpcs"
|
|
],
|
|
"analyze-yaml": "vendor/bin/yaml-lint *.yml .*.yml *.json",
|
|
"analyze-phpmd": "vendor/bin/phpmd src,tests text cleancode,codesize,controversial,design,naming,unusedcode",
|
|
"analyze-phpstan":"vendor/bin/phpstan analyze --level=8 --error-format=raw src/ backup tests",
|
|
"analyze-psalm": "vendor/bin/psalm --no-cache",
|
|
"analyze-phpcs": "vendor/bin/phpcs src backup tests --report=emacs --standard=PSR12"
|
|
}
|
|
}
|