-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcomposer.json
79 lines (79 loc) · 2.23 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
72
73
74
75
76
77
78
79
{
"name": "trendsoft/laravel-bookmark",
"keywords": [
"bookmark",
"trendsoft",
"laravel"
],
"description": "Laravel bookmark",
"type": "library",
"license": "MIT",
"homepage": "https://www.trendsoft.org",
"authors": [
{
"name": "jabber",
"email": "[email protected]",
"homepage": "https://jabber.oppophp.com",
"role": "Developer"
}
],
"support": {
"wiki": "https://github.com/trendsoft/laravel-bookmark/wiki",
"issues": "https://github.com/trendsoft/laravel-bookmark/issues"
},
"require": {
"laravel/framework": "^5.5||~6.0||~7.0"
},
"require-dev": {
"phpunit/phpunit": "~8.0",
"friendsofphp/php-cs-fixer": "^2.16",
"captainhook/captainhook": "^5.3",
"captainhook/plugin-composer": "^5.2",
"orchestra/testbench": "^5.0",
"ramsey/conventional-commits": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:ramsey/conventional-commits.git"
}
],
"autoload": {
"psr-4": {
"Trendsoft\\LaravelBookmark\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"providers": [
"Trendsoft\\LaravelBookmark\\BookmarkServiceProvider"
]
},
"hooks": {
"pre-commit": [
"composer test",
"composer fix-style"
],
"pre-push": [
"composer test",
"composer check-style"
]
}
},
"scripts": {
"post-autoload-dump": "vendor/bin/captainhook install -f -s",
"check-style": "php-cs-fixer fix --using-cache=no --diff --config=.php_cs --dry-run --ansi",
"fix-style": "php-cs-fixer fix --using-cache=no --config=.php_cs --ansi",
"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."
}
}