-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
63 lines (63 loc) · 1.79 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
{
"name": "sebastian-kennedy\/laravel-follow",
"description": "User follow feature for laravel application.",
"license": "MIT",
"authors": [
{
"name": "SebastianKennedy",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"SebastianKennedy\\LaravelFollow\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"SebastianKennedy\\LaravelFollow\\Tests\\": "tests"
}
},
"require": {
"php": "^7.3",
"laravel/framework": "6.x"
},
"require-dev": {
"phpunit/phpunit": "^9.2",
"mockery/mockery": "^1.4",
"orchestra/testbench": "4.x",
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.16"
},
"extra": {
"laravel": {
"providers": [
"SebastianKennedy\\LaravelFollow\\FollowServiceProvider"
]
},
"hooks": {
"pre-commit": [
"composer test",
"composer fix-code-style"
],
"pre-push": [
"composer test",
"composer check-code-style"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"test": "vendor/bin/phpunit --verbose --coverage-text --coverage-clover=coverage.clover",
"cghooks": "vendor/bin/cghooks",
"fix-code-style": "php-cs-fixer fix --using-cache=no --config=.php_cs --ansi",
"check-code-style": "php-cs-fixer fix --using-cache=no --diff --config=.php_cs --dry-run --ansi"
}
}