This repository was archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
83 lines (83 loc) · 2.07 KB
/
composer.json
File metadata and controls
83 lines (83 loc) · 2.07 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"authors": [
{
"email": "james@jamesrobb.co.uk",
"name": "James Robb"
}
],
"autoload": {
"psr-4": {
"CodewarsApiClient\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/Helpers/Regex.php"
],
"psr-4": {
"Tests\\": "tests/"
}
},
"description": "A client for the Codewars API",
"homepage": "https://jamesrweb.github.io/codewars-api-client",
"keywords": [
"codewars",
"api-client"
],
"license": "MIT",
"minimum-stability": "stable",
"name": "jamesrweb/codewars-api-client",
"readme": "README.md",
"repositories": [
{
"type": "composer",
"url": "https://repo.packagist.org"
},
{
"type": "vcs",
"url": "https://github.com/jamesrweb/codewars-api-client"
}
],
"require": {
"nyholm/psr7": "^1.4",
"php": ">=8.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"symfony/http-client": "^5.2",
"thecodingmachine/safe": "^1.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"infection/infection": "^0.21.5",
"madewithlove/php-cs-fixer-config": "^2.0",
"nette/schema": "^1.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.76",
"phpstan/phpstan-strict-rules": "^0.12.9",
"phpunit/phpunit": "^9",
"spatie/phpunit-watcher": "^1.23",
"thecodingmachine/phpstan-safe-rule": "^1.0"
},
"scripts": {
"ci": [
"composer run lint",
"composer run format",
"composer run test"
],
"format": "php-cs-fixer fix --config ./config/php-cs-fixer/config.php",
"lint": "phpstan analyse -c ./config/phpstan/phpstan.neon",
"test": [
"composer run test:unit",
"composer run test:mutation"
],
"test:mutation": [
"@putenv XDEBUG_MODE=coverage",
"infection --no-interaction --threads=4 --coverage=../../var/coverage/xml --configuration=./config/infection/config.json"
],
"test:unit": [
"@putenv XDEBUG_MODE=coverage",
"phpunit tests --configuration ./config/php-unit/phpunit.xml"
]
},
"type": "library"
}