-
Notifications
You must be signed in to change notification settings - Fork 25
/
composer.json
58 lines (58 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
{
"name": "christophwurst/suspicious_login",
"description": "Detect and warn about suspicious IPs logging into Nextcloud",
"type": "library",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/nextcloud-deps/RubixML"
}
],
"require": {
"amphp/amp": "^2.6.4",
"amphp/parallel": "^1.4.3",
"bamarni/composer-bin-plugin": "^1.8.2",
"rubix/ml": "dev-chore/bump-flysystem-v2.1.1"
},
"license": "AGPLv3",
"authors": [
{
"name": "Christoph Wurst",
"email": "[email protected]"
}
],
"scripts": {
"cs:check": "vendor-bin/php-cs-fixer/vendor/php-cs-fixer/shim/php-cs-fixer fix --dry-run --diff",
"cs:fix": "vendor-bin/php-cs-fixer/vendor/php-cs-fixer/shim/php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"test": "phpunit -c tests/phpunit.xml",
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit",
"test:unit:dev": "phpunit -c tests/phpunit.xml tests/Unit --no-coverage",
"post-install-cmd": ["@composer bin all install --ansi"],
"post-update-cmd": ["@composer bin all update --ansi"],
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline",
"psalm:update-baseline:force": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache"
},
"require-dev": {
"christophwurst/nextcloud_testing": "^1.0.0"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"classmap-authoritative": true,
"autoloader-suffix": "SuspiciousLogin",
"platform": {
"php": "8.1"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"autoload" : {
"psr-4": {
"OCA\\SuspiciousLogin\\": "./lib/"
}
}
}