-
Notifications
You must be signed in to change notification settings - Fork 32
/
composer.json
71 lines (71 loc) · 2.76 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
66
67
68
69
70
71
{
"name": "nextcloud/fulltextsearch_elasticsearch",
"description": "fulltextsearch_elasticsearch",
"minimum-stability": "stable",
"license": "agpl",
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"autoloader-suffix": "FullTextSearch_Elasticsearch",
"platform": {
"php": "8.0"
},
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true,
"bamarni/composer-bin-plugin": true
}
},
"authors": [
{
"name": "Maxence Lange",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"OCA\\FullTextSearch_Elasticsearch\\": "lib/"
}
},
"scripts": {
"cs:check": "./vendor-bin/csfixer/vendor/bin/php-cs-fixer fix --dry-run --diff",
"cs:fix": "./vendor-bin/csfixer/vendor/bin/php-cs-fixer fix",
"psalm": "./vendor-bin/psalm/vendor/bin/psalm --threads=1",
"psalm:update-baseline": "./vendor-bin/psalm/vendor/bin/psalm --threads=1 --update-baseline",
"psalm:clear": "./vendor-bin/psalm/vendor/bin/psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "./vendor-bin/psalm/vendor/bin/psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test": [
"@test:unit"
],
"test:unit": "./vendor-bin/phpunit/vendor/bin/phpunit -c tests/unit/phpunit.xml",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './lib/Vendor/*' -print0 | xargs -0 -n1 php -l",
"post-install-cmd": [
"@composer bin all install --ignore-platform-reqs # unfortunately the flag is required for 8.0",
"vendor/bin/php-scoper add-prefix --force # Scope our dependencies",
"rm -Rf lib/Vendor && mv build lib/Vendor",
"find lib/Vendor/ -maxdepth 1 -mindepth 1 -type d | cut -d '/' -f3 | xargs -I {} rm -Rf vendor/{} # Remove origins",
"@php lib-vendor-organizer.php lib/Vendor/ OCA\\\\FullTextSearch_Elasticsearch\\\\Vendor",
"composer dump-autoload -o"
],
"post-update-cmd": [
"@composer bin all install --ignore-platform-reqs # unfortunately the flag is required for 8.0",
"vendor/bin/php-scoper add-prefix --force # Scope our dependencies",
"rm -Rf lib/Vendor && mv build lib/Vendor",
"find lib/Vendor/ -maxdepth 1 -mindepth 1 -type d | cut -d '/' -f3 | xargs -I {} rm -Rf vendor/{} # Remove origins",
"@php lib-vendor-organizer.php lib/Vendor/ OCA\\\\FullTextSearch_Elasticsearch\\\\Vendor",
"composer dump-autoload -o"
]
},
"require": {
"bamarni/composer-bin-plugin": "^1.8",
"elasticsearch/elasticsearch": "^8.11"
},
"require-dev": {
"nextcloud/ocp": "dev-master"
},
"autoload-dev": {
"psr-4": {
"OCP\\": "vendor/nextcloud/ocp/OCP"
}
}
}