-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
71 lines (71 loc) · 2.17 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": "grixu/query-builder-filters",
"description": "Set of filters for laravel-query-builder (made by Spatie)",
"keywords": [
"grixu",
"query-builder-filters"
],
"homepage": "https://github.com/grixu/query-builder-filters",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Mateusz Gostański",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "^7.3 || ^8.0",
"illuminate/database": "^8.0",
"spatie/laravel-query-builder": "^3.3.4 || ^4.0.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^3.1",
"nunomaduro/larastan": "^0.7.12 || ^1.0.0",
"nunomaduro/phpinsights": "^2.0",
"orchestra/testbench": "^6.0",
"phpunit/phpunit": "^9.3",
"spatie/x-ray": "^1.1"
},
"autoload": {
"psr-4": {
"Grixu\\QueryBuilderFilters\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Grixu\\QueryBuilderFilters\\Tests\\": "tests"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
"cs": "vendor/bin/php-cs-fixer fix",
"insights": "vendor/bin/phpinsights",
"stan": "vendor/bin/phpstan analyse",
"cghooks": "vendor/bin/cghooks",
"xray": "vendor/bin/x-ray src"
},
"config": {
"sort-packages": true
},
"extra": {
"hooks": {
"config": {
"stop-on-failure": ["pre-commit", "commit-msg"]
},
"pre-commit": [
"export PATH=\"/usr/local/homebrew/bin:$PATH\"",
"./vendor/bin/x-ray src",
"./vendor/bin/php-cs-fixer fix"
],
"commit-msg": "grep -E '^(((feat|chore|docs|refactor|fix){1}\\:{1}\\s{1}[a-z]{1})|(Merge\\s?(remote\\-tracking)?\\s?branch)).*' $1",
"post-merge": [
"export PATH=\"/usr/local/homebrew/bin:$PATH\"",
"composer install"
]
}
}
}