generated from romainnorberg/package-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
60 lines (60 loc) · 1.6 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
{
"name": "romainnorberg/residue",
"description": "Divide a float into several parts, with distribution of any remainder",
"keywords": [
"php",
"split",
"residue"
],
"license": "MIT",
"autoload": {
"psr-4": {
"Romainnorberg\\Residue\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Romainnorberg\\Residue\\Tests\\": "tests"
}
},
"type": "library",
"require": {
"php": "^8.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.0",
"spatie/phpunit-watcher": "^1.22"
},
"authors": [
{
"name": "Romain Norberg",
"email": "romainnorberg@gmail.com",
"role": "Maintainer, Owner, Developer"
},
{
"name": "Mocking Magician",
"email": "moreau.marc.web@gmail.com",
"homepage": "https://github.com/MockingMagician",
"role": "Developer"
}
],
"scripts": {
"test": "vendor/bin/phpunit",
"testv": "vendor/bin/phpunit --testdox",
"testch": "vendor/bin/phpunit --coverage-html .coverage",
"phpstan": "vendor/bin/phpstan analyse --level=max src",
"phpcs-fix": "vendor/bin/php-cs-fixer fix",
"phpcs-dry-run": "vendor/bin/php-cs-fixer fix --dry-run",
"test-pipe": [
"@phpcs-dry-run",
"@phpstan",
"@test"
]
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
}
}