-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
74 lines (74 loc) · 2.82 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
{
"name": "artisansdk/bench",
"description": "A set of testing and package development tools for the Artisan's work bench.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Daniel LaBarge",
"email": "[email protected]"
}
],
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"process-timeout": 0,
"sort-packages": true
},
"require": {
"php": ">=7.0|>= 8.0",
"brianium/paratest": "~6.2|~7.0",
"friendsofphp/php-cs-fixer": "~2.10|~3.0",
"illuminate/console": "~5.5|~6.0|~7.0|~8.0|~9.0|~10.0",
"illuminate/support": "~5.5|~6.0|~7.0|~8.0|~9.0|~10.0",
"laravel-zero/framework": "~5.5|~6.0|~7.0|~8.0|~9.0|~10.0",
"pdepend/pdepend": "~2.5",
"phploc/phploc": "~7.0",
"phpmd/phpmd": "~2.6",
"phpunit/phpunit": "~7.5|~8.0|~9.0|~10.0",
"sebastian/phpcpd": "~6.0",
"symfony/console": "~4.2|~5.0|~6.0",
"symfony/event-dispatcher": "~4.2|~5.0|~6.0",
"symfony/stopwatch": "~4.2|~5.0|~6.0"
},
"autoload": {
"psr-4": {
"ArtisanSdk\\Bench\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ArtisanSdk\\Bench\\Tests\\": "tests/"
}
},
"bin": [
"bin/bench"
],
"scripts": {
"fix": "@php bin/bench fix bin/ src/ config/ tests/ --cache=\".php-cs-fixer.cache\" --ansi",
"test": "@php bin/bench test bin/ src/ config/ tests/ --cache=\".php-cs-fixer.cache\" --no-coverage --ansi",
"watch": "watchman-make -p 'src/**/*.php' 'tests/**/*.php' --run=\"clear && printf '\\e[3J' && bin/bench test --no-coverage --ansi\"",
"coverage": "[[ -f reports/coverage.txt ]] || exit 0 && coverage=`cat reports/coverage.txt | grep -m 1 \"Lines:\" | grep -E -o \"([0-9]{1,3})\" | head -1`; min=80; if [[ $coverage -lt $min ]]; then exit 2; fi",
"dependencies": "vendor/bin/pdepend --summary-xml=reports/stats.xml src/",
"duplicates": "vendor/bin/phpcpd src/ --log-pmd=reports/duplications.xml --min-lines=3 --min-tokens=35",
"lines": "vendor/bin/phploc --log-xml=reports/summary.xml src/",
"messes": "vendor/bin/phpmd src/ html codesize,cleancode,unusedcode,naming --reportfile reports/messes.html --ignore-violations-on-exit",
"report": [
"[[ -d reports ]] || mkdir reports",
"@composer test",
"@composer coverage",
"@composer messes",
"@composer dependencies",
"@composer lines",
"@composer duplicates"
]
},
"extra": {
"laravel": {
"providers": [
"ArtisanSdk\\Bench\\Providers\\Commands",
"ArtisanSdk\\Bench\\Providers\\Configs"
]
}
}
}