-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
55 lines (55 loc) · 1.5 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
{
"name": "finecho/meituan",
"description": "美团开放平台SDK",
"license": "MIT",
"authors": [
{
"name": "finecho",
"email": "liuhao25@foxmail.com"
}
],
"require": {
"php": ">=8.0",
"symfony/http-client": "5.*",
"illuminate/validation": "8.*",
"nyholm/psr7": "1.*",
"nyholm/psr7-server": "1.*",
"symfony/psr-http-message-bridge": "2.*",
"illuminate/support": "8.*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.15",
"brainmaestro/composer-git-hooks": "^2.7",
"mockery/mockery": "^1.2.3",
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
"EasyMeiTuan\\": "src/"
}
},
"extra": {
"hooks": {
"pre-commit": [
"composer test",
"composer fix-style"
],
"pre-push": [
"composer check-style"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks add --ignore-lock",
"cghooks update"
],
"check-style": "vendor/bin/php-cs-fixer fix --using-cache=no --diff --config=.php_cs --dry-run --ansi",
"fix-style": "vendor/bin/php-cs-fixer fix --using-cache=no --config=.php_cs --ansi",
"test": "vendor/bin/phpunit --colors=always --testdox"
}
}