-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
46 lines (46 loc) · 1.3 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
{
"name": "pgrimaud/lametric-app-starter",
"description": "Starter for creating LaMetric apps easily",
"type": "template",
"license": "MIT",
"authors": [
{
"name": "Pierre Grimaud",
"email": "[email protected]"
},
{
"name": "Julien Cousin-Alliot",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"LaMetric\\": "src/LaMetric"
}
},
"autoload-dev": {
"psr-4": {
"LaMetric\\tests\\": "tests"
}
},
"require": {
"php": "^8.0",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.5"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^0.12.88",
"friendsofphp/php-cs-fixer": "^3.0"
},
"scripts": {
"cs-fix": "@php ./vendor/bin/php-cs-fixer fix src --rules=@PSR12,-single_import_per_statement,group_import",
"phpstan": "@php ./vendor/bin/phpstan analyse src --level max -c phpstan.neon",
"test": "@php ./vendor/bin/phpunit tests --whitelist src"
},
"scripts-descriptions": {
"cs-fix": "Check and fix coding styles using PHP CS Fixer",
"phpstan": "Execute PHPStan analysis",
"test": "Launch PHPUnit test suite"
}
}