-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
54 lines (54 loc) · 1.77 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
{
"name": "abordage/html-min-benchmark",
"description": "Benchmark",
"license": "MIT",
"authors": [
{
"name": "Pavel Bychko",
"email": "[email protected]",
"role": "Developer"
}
],
"homepage": "https://github.com/abordage/html-min-benchmark",
"require": {
"php": ">=7.4",
"abordage/html-min": "^0.2.0",
"voku/html-min": "^4.5"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"phpbench/phpbench": "^1.2"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"Abordage\\HtmlMinBenchmark\\Tests\\": "tests"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"phpcsf": "vendor/bin/php-cs-fixer fix --diff",
"test:all": [
"@test:phpcsf",
"@test:phpbench",
"@test:phpbench:generate-html-report",
"@test:run-all-minifiers"
],
"test:phpbench": "vendor/bin/phpbench run --report=consumption-of-time --progress=classdots",
"test:phpbench:generate-html-report": "vendor/bin/phpbench run --report=consumption-of-time --progress=classdots --output=consumption-of-time",
"test:phpcsf": "vendor/bin/php-cs-fixer fix --dry-run",
"test:run-all-minifiers": "@php src/RunAllMinifiers.php"
},
"scripts-descriptions": {
"phpcsf": "Run PHP-CS-Fixer fix",
"test:phpbench": "Run PHPBench",
"test:phpbench:generate-html-report": "Run PHPBench (generate html report)",
"test:phpcsf": "Run PHP-CS-Fixer test",
"test:run-all-minifiers": "See results in ./assets/results/"
}
}