-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
95 lines (95 loc) · 2.72 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "coolephp/skeleton",
"description": "This is an official framework application template for Coole. - 这是一个官方提供的 Coole 框架应用模板。",
"license": "MIT",
"type": "project",
"keywords": [
"package",
"template",
"skeleton",
"php",
"framework",
"coole",
"middleware"
],
"authors": [
{
"name": "guanguans",
"email": "[email protected]",
"homepage": "https://www.guanguans.cn",
"role": "developer"
}
],
"homepage": "https://github.com/coolephp/skeleton",
"support": {
"issues": "https://github.com/coolephp/skeleton/issues",
"source": "https://github.com/coolephp/skeleton"
},
"require": {
"php": ">=7.3",
"guanguans/coole": "^2.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.7",
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"vimeo/psalm": "^4.13"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"App\\": "app/",
"Config\\Database\\Factories\\": "config/database/factories/",
"Config\\Database\\Seeders\\": "config/database/seeders/"
},
"files": [
"app/Support/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"hooks": {
"pre-commit": [
"composer checks"
],
"pre-merge": [
"composer checks"
]
}
},
"scripts": {
"post-install-cmd": [
"@cghooks add --ignore-lock",
"@cghooks update"
],
"post-update-cmd": [
"@cghooks update"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"cghooks": "./vendor/bin/cghooks",
"checks": [
"@style-lint",
"@test"
],
"post-merge": [
"composer install"
],
"psalm": "./vendor/bin/psalm",
"psalm-baseline": "@psalm --update-baseline",
"style-fix": "./vendor/bin/php-cs-fixer fix --using-cache=no --config=.php-cs-fixer.php --ansi",
"style-lint": "@style-fix --dry-run",
"test": "./vendor/bin/phpunit --coverage-text --colors=always --verbose",
"test-coverage": "./vendor/bin/phpunit --coverage-html=coverage/ --coverage-clover=clover.xml --color=always --verbose"
}
}