-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
58 lines (55 loc) · 1.84 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
{
"name": "ragnarok/fenrir",
"description": "Discord API & WS wrapper",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Ragnarok\\Fenrir\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\Ragnarok\\Fenrir\\": "tests/",
"Fakes\\Ragnarok\\Fenrir\\": "fakes/"
}
},
"minimum-stability": "stable",
"require": {
"react/event-loop": "^1.3.0",
"ratchet/pawl": "^0.4.1",
"evenement/evenement": "^3.0.0",
"nesbot/carbon": "^2.64 || ^3.0",
"discord-php/http": "^v10.3.0",
"ralouphie/mimey": "^1.0",
"spatie/regex": "^3.1",
"react/async": "^4.0.0",
"exan/eventer": "^1.0.3",
"exan/reactphp-retrier": "^1.0",
"freezemage0/array_find": "^1.0",
"react/promise": "^2.11.0"
},
"require-dev": {
"monolog/monolog": "^3.2",
"phpunit/phpunit": "^9.5 || ^10.0",
"cboden/ratchet": "^0.4.4",
"phpmd/phpmd": "^2.13",
"symfony/var-dumper": "^6.2",
"mockery/mockery": "^1.6",
"friendsofphp/php-cs-fixer": "^3.20"
},
"scripts": {
"md": "phpmd src text ruleset.xml",
"cs": "php-cs-fixer fix --using-cache=no --diff --dry-run --allow-risky=yes",
"csf": "php-cs-fixer fix --using-cache=no --allow-risky=yes",
"phpunit": "phpunit",
"phpunit-coverage": "@php -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-html .phpunit.cache/cov-html",
"test": "php tests/WebsocketTestServer.php & PID=$!; composer phpunit; kill $PID;",
"test-coverage": "php tests/WebsocketTestServer.php & PID=$!; composer phpunit-coverage; kill $PID;"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}