-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
composer.json
64 lines (64 loc) · 1.69 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
{
"name": "overtrue/laravel-like",
"description": "👍 User-like features for Laravel Application.",
"license": "MIT",
"authors": [
{
"name": "overtrue",
"email": "[email protected]"
}
],
"require": {
"laravel/framework": "^9.0|^10.0|^11.0"
},
"autoload": {
"psr-4": {
"Overtrue\\LaravelLike\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"require-dev": {
"mockery/mockery": "^1.4",
"phpunit/phpunit": "^10.0.7",
"orchestra/testbench": "^8.0|^9.0",
"friendsofphp/php-cs-fixer": "^3.0.0",
"brainmaestro/composer-git-hooks": "dev-master",
"laravel/pint": "^1.2"
},
"extra": {
"laravel": {
"providers": [
"Overtrue\\LaravelLike\\LikeServiceProvider"
]
},
"hooks": {
"pre-commit": [
"composer fix-style",
"composer test"
],
"post-merge": "composer install"
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"cghooks": "vendor/bin/cghooks",
"check-style": "vendor/bin/pint --test",
"fix-style": "vendor/bin/pint",
"test": "vendor/bin/phpunit --colors=always"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
}
}