-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 1.58 KB
/
composer.json
File metadata and controls
64 lines (64 loc) · 1.58 KB
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
{
"name": "commandstring/dphp-bot",
"description": "An unofficial way to structure a DPHP Bot",
"license": "MIT",
"type": "project",
"authors": [
{
"name": "Robert Snedeker",
"email": "rsnedeker20@gmail.com"
}
],
"require": {
"php": "^8.1",
"commandstring/utils": "^1.7",
"react/async": "^4.1",
"team-reflex/discord-php": "dev-master",
"tnapf/env": "^1.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": {
"Commands\\": "Commands/",
"Core\\": "Core/",
"Events\\": "Events/",
"Tests\\": "Tests/"
},
"files": [
"Core/functions.php"
]
},
"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",
"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"
}
}