mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 21:12:16 +01:00
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"require": {
|
|
"endroid/qr-code": "^5.0",
|
|
"jsignpdf/jsignpdf-php": "^1.2",
|
|
"libresign/whatosami": "^0.0.2",
|
|
"mikehaertl/php-pdftk": "^0.13.0",
|
|
"mpdf/mpdf": "^8.2",
|
|
"pagerfanta/pagerfanta": "^4.5",
|
|
"phpseclib/phpseclib": "^3.0",
|
|
"smalot/pdfparser": "^2.4",
|
|
"twig/twig": "^3.20",
|
|
"wobeto/email-blur": "^1.0"
|
|
},
|
|
"require-dev": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"nextcloud/ocp": "dev-master",
|
|
"roave/security-advisories": "dev-latest"
|
|
},
|
|
"config": {
|
|
"autoloader-suffix": "Libresign",
|
|
"optimize-autoloader": true,
|
|
"classmap-authoritative": true,
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true
|
|
},
|
|
"platform": {
|
|
"php": "8.1"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"bin": "echo 'bin not installed'",
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -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",
|
|
"openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
|
|
"psalm": "psalm --no-cache --threads=$(nproc)",
|
|
"psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi",
|
|
"composer dump-autoload"
|
|
],
|
|
"post-update-cmd": [
|
|
"composer dump-autoload"
|
|
],
|
|
"test:unit": "vendor/bin/phpunit --no-coverage",
|
|
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit"
|
|
},
|
|
"extra": {
|
|
"bamarni-bin": {
|
|
"bin-links": true,
|
|
"forward-command": true
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\Libresign\\": "lib/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"OCP\\": "vendor/nextcloud/ocp/OCP"
|
|
}
|
|
}
|
|
}
|