-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
48 lines (48 loc) · 1.22 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
{
"name": "lvzhao1995/code-generate",
"description": "适用于ThinkPHP的代码生成工具",
"license": "MIT",
"authors": [
{
"name": "lvzhao1995",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.1.0",
"ext-json": "*",
"ext-mbstring": "*",
"topthink/framework": "6.0.*",
"guzzlehttp/guzzle": "^6.3"
},
"autoload": {
"psr-4": {
"Generate\\": "src/"
}
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.15"
},
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"phpcs-fix": "php-cs-fixer fix",
"phpcs-dry": "php-cs-fixer fix --dry-run"
},
"extra": {
"hooks": {
"pre-commit": [
"composer phpcs-fix",
"git add $(git diff --cached --name-only --diff-filter=ACM -- '*.php')"
],
"post-merge": "composer update"
},
"think": {
"services": [
"Generate\\Service"
]
}
}
}