-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
52 lines (52 loc) · 1.41 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
{
"name": "darkalchemy/torrent-rw",
"description": "torrent reader/writer",
"type": "project",
"license": "GPL-3.0-only",
"authors": [
{
"name": "Adrien Gibrat",
"email": "adrien.gibrat@gmail.com"
},
{
"name": "darkalchemy"
}
],
"require": {
"php": "^7.4|^8.0",
"ext-curl": "*",
"darkalchemy/scrapeer": "^0.6.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"overtrue/phplint": "^4.1.0",
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^1.6.7",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.5",
"symfony/var-dumper": "^6.0.8"
},
"autoload": {
"psr-4": {
"App\\": "src"
}
},
"config": {
"sort-packages": true
},
"scripts": {
"cleanup": [
"vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --show-progress=dots -vvv",
"phplint ./ --exclude=vendor --exclude=public/resources --no-cache --jobs=10 --ansi",
"phpcs -s",
"phpmd . ansi phpmd.xml --exclude */vendor/*",
"phpstan analyse -c phpstan.neon"
],
"fix": "phpcbf",
"post-update-cmd": "composer dump-autoload -o",
"phplint": "phplint ./ --exclude=vendor --no-cache --jobs=10 --ansi",
"phpcs": "phpcs -s",
"phpmd": "phpmd . ansi phpmd.xml --exclude */vendor/*",
"phpstan": "phpstan analyse src/ -l8"
}
}