generated from overtrue/php-package
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
66 lines (66 loc) · 1.87 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
{
"name": "justmd5/deeplx",
"description": "deeplx is a simple and fast free deepl library for PHP.",
"license": "MIT",
"authors": [
{
"name": "justmd5",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.2||8.*",
"ext-curl": "*",
"ext-json": "*"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^9.0",
"vimeo/psalm": "^4.10",
"jetbrains/phpstorm-attributes": "^1.0",
"laravel/pint": "^1.10"
},
"autoload": {
"psr-4": {
"Justmd5\\DeeplX\\": "src"
}
},
"extra": {
"hooks": {
"pre-commit": [
"composer pint",
"composer test"
],
"pre-push": [
"composer pint",
"composer test"
]
}
},
"scripts": {
"post-update-cmd": [
"cghooks remove",
"cghooks add --ignore-lock",
"cghooks update"
],
"post-merge": "composer install",
"post-install-cmd": [
"cghooks remove",
"cghooks add --ignore-lock",
"cghooks update"
],
"cghooks": "vendor/bin/cghooks",
"check-style": "vendor/bin/pint ./src ./tests --test",
"pint": "vendor/bin/pint ./src ./tests",
"fix-style": "vendor/bin/pint ./src ./tests",
"test": "phpunit --colors",
"psalm": "psalm --show-info=true --no-cache",
"psalm-fix": "psalm --no-cache --alter --issues=MissingReturnType,MissingParamType"
},
"scripts-descriptions": {
"test": "Run all tests.",
"check-style": "Run style checks (only dry run - no fixing!).",
"fix-style": "Run style checks and fix violations."
}
}