-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
40 lines (40 loc) · 1.18 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
{
"name": "prinsfrank/measurement-unit",
"type": "library",
"license": "MIT",
"description": "A collection of measurement units for easy conversion",
"autoload": {
"psr-4": {
"PrinsFrank\\MeasurementUnit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PrinsFrank\\MeasurementUnit\\Tests\\": "tests/"
}
},
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"prinsfrank/arithmetic-operations-implementation": "^0.1",
"prinsfrank/arithmetic-operations-floating-point": "^0.1.2",
"prinsfrank/arithmetic-operations": "^0.1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^3.12",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-phpunit": "^1.2"
},
"scripts": {
"cs": "php-cs-fixer fix --allow-risky=yes --dry-run",
"cs:fix": "php-cs-fixer fix --allow-risky=yes",
"stan": "phpstan analyse",
"unit": "phpunit --testsuite=Unit",
"integration": "phpunit --testsuite=Integration",
"test": [
"@unit",
"@integration",
"@cs"
]
}
}