-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
composer.json
65 lines (65 loc) · 1.75 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"require": {
"endroid/qr-code": "^5.0",
"jsignpdf/jsignpdf-php": "^1.2",
"league/plates": "^3.5",
"libresign/whatosami": "^0.0.2",
"mikehaertl/php-pdftk": "^0.13.0",
"mpdf/mpdf": "^8.2",
"pagerfanta/pagerfanta": "^4.5",
"smalot/pdfparser": "^2.4",
"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/*' -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 --threads=$(nproc)",
"psalm:update-baseline": "psalm --threads=$(nproc) --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 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"
}
}
}