-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
68 lines (68 loc) · 1.59 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
{
"name": "tnapf/env",
"description": "A environment package for PHP",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Robert Snedeker",
"email": "[email protected]"
},
{
"name": "Mark Magyar",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.31",
"fakerphp/faker": "^1.21",
"friendsofphp/php-cs-fixer": "^3.16",
"jetbrains/phpstorm-attributes": "^1.0",
"phpunit/phpunit": "^10.1",
"roave/security-advisories": "dev-latest",
"xheaven/composer-git-hooks": "^3.0"
},
"autoload": {
"psr-4": {
"Tnapf\\Env\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tnapf\\Env\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"extra": {
"composer-normalize": {
"indent-size": 2,
"indent-style": "space"
},
"hooks": {
"pre-commit": "composer fix:dry",
"pre-push": "composer test"
}
},
"scripts": {
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"post-autoload-dump": "composer normalize",
"post-create-project-cmd": [
"Tnapf\\Package\\Setup::setup",
"Tnapf\\Package\\Setup::unlink",
"@composer update"
],
"fix": "php-cs-fixer fix --using-cache=no",
"fix:dry": "php-cs-fixer fix --using-cache=no --diff --dry-run",
"test": "phpunit",
"test:coverage": "phpunit --coverage-html .phpunit.cache/cov-html"
}
}