-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
64 lines (64 loc) · 1.55 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
{
"name": "tnapf/spotify",
"description": "A Spotify API Wrapper",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Robert Snedeker",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"guzzlehttp/guzzle": "^7.7",
"httpsoft/http-server-request": "^1.1.0",
"psr/http-client": "^1.0",
"tnapf/jsonmapper": "^v1.0.0"
},
"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",
"tnapf/env": "^1.0",
"xheaven/composer-git-hooks": "^3.0"
},
"autoload": {
"psr-4": {
"Tnapf\\Spotify\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tnapf\\Spotify\\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",
"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"
}
}