-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
composer.json
45 lines (45 loc) · 1.24 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
{
"name": "mbolli/nfsen-ng",
"description": "Responsive NetFlow visualizer built on top of nfdump tools",
"license": "Apache-2.0",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.1",
"ext-mbstring": "*",
"ext-rrd": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3.x",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/phpstan": "^1.9",
"rector/rector": "^0.19.0",
"vimeo/psalm": "^5.4"
},
"autoload": {
"psr-4": {
"mbolli\\nfsen_ng\\": "backend/"
}
},
"scripts": {
"before-commit": [
"@fix",
"@test-phpstan",
"@test-psalm"
],
"lint": "@fix --dry-run",
"lint-diff": "@fix --dry-run --diff",
"fix": "php-cs-fixer fix backend --ansi --allow-risky=yes -v --config=./.php-cs-fixer.php",
"test-phpstan": "phpstan analyse backend -l 5 -a backend/settings/settings.php",
"test-psalm": "psalm --php-version=8.2 --threads=1 --no-diff"
},
"authors": [
{
"name": "Michael Bolli",
"email": "[email protected]"
}
],
"config": {
"sort-packages": true
}
}