-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
88 lines (88 loc) · 2.92 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "camille\u002Dhdl\/lazy\u002Dlists",
"description": "Lazy list processing and transducers",
"type": "library",
"keywords": ["filter", "map", "reduce", "lazy", "iteration", "array", "iterator", "transducers"],
"homepage": "https://github.com/camille\u002Dhdl/lazy\u002Dlists",
"license": "MIT",
"authors": [
{
"name": "Camille\u0020Hodoul",
"email": "camilleh\u0040hey.com",
"homepage": "https\u003A\/\/camillehdl.dev"
}
],
"support": {
"docs": "https://github.com/camille\u002Dhdl/lazy\u002Dlists/",
"issues": "https://github.com/camille\u002Dhdl/lazy\u002Dlists/issues",
"rss": "https://github.com/camille\u002Dhdl/lazy\u002Dlists/releases.atom",
"source": "https://github.com/camille\u002Dhdl/lazy\u002Dlists.git"
},
"require": {
"php": "^8.1"
},
"autoload": {
"psr-4": {
"LazyLists\\": "src/"
},
"files": [
"src/isAssociativeArray.php",
"src/map.php",
"src/pipe.php",
"src/iterate.php",
"src/filter.php",
"src/reduce.php",
"src/take.php",
"src/flatten.php",
"src/each.php",
"src/until.php"
]
},
"autoload-dev": {
"psr-4": {
"LazyLists\\Test\\": "tests/"
}
},
"scripts": {
"lint": "parallel-lint src tests",
"phpcs": "phpcs src tests --standard=psr12 -sp --colors",
"phpcbf": "phpcbf src tests --standard=psr12",
"phpstan": [
"phpstan analyse src -c phpstan.neon --level max --no-progress --memory-limit=256M",
"phpstan analyse tests -c phpstan.neon --level 4 --no-progress --memory-limit=256M"
],
"phpbench": [
"phpbench run benchmarks/MapBench.php --report=aggregate",
"phpbench run benchmarks/PipeFilterMapReduceBench.php --report=aggregate",
"phpbench run benchmarks/PipeMapFilterTakeBench.php --report=aggregate"
],
"phpunit": "phpunit --colors=always",
"phpunit-migrate": "phpunit --migrate-configuration",
"phpunit-ci": "phpunit --coverage-clover build/logs/clover.xml",
"phpunit-coverage": "phpunit --colors=always --coverage-html build/coverage",
"test": [
"@lint",
"@phpcs",
"@phpstan",
"@phpunit"
],
"test-ci": [
"@lint",
"@phpcs",
"@phpstan",
"@phpunit-ci"
]
},
"config": {
"sort-packages": true
},
"require-dev": {
"mockery/mockery": "^1.6",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^10.2",
"squizlabs/php_codesniffer": "^3.7"
}
}