-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
51 lines (51 loc) · 1.45 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
{
"name": "marcortola/food-data-central",
"type": "library",
"description": "Community API client for the Food Data Central USDA nutrient database",
"homepage": "https://github.com/marcortola/food-data-central",
"license": "MIT",
"authors": [
{
"name": "Marc Ortola",
"email": "15958009+marcortola@users.noreply.github.com"
}
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"php-http/discovery": "^1.7",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.5",
"phpstan/phpstan": "^0.12.14",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpunit/phpunit": "^9.0",
"symplify/easy-coding-standard": "^7.3"
},
"autoload": {
"psr-4": {
"MarcOrtola\\FoodDataCentral\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MarcOrtola\\FoodDataCentral\\Tests\\": "tests/"
}
},
"scripts": {
"cs": [
"composer normalize --dry-run --no-interaction",
"vendor/bin/ecs check src --no-interaction"
],
"cs-fix": [
"composer normalize --no-interaction",
"vendor/bin/ecs check src --fix --no-interaction"
],
"test": [
"vendor/bin/phpstan analyse --no-interaction",
"vendor/bin/phpunit"
]
}
}