forked from smrealms/smr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
83 lines (83 loc) · 1.93 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
75
76
77
78
79
80
81
82
83
{
"name": "smr/smr",
"description": "SMR",
"license": "AGPL-3.0",
"require": {
"abraham/twitteroauth": "4.0.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mysqli": "*",
"google/recaptcha": "1.2.4",
"league/oauth2-facebook": "2.2.0",
"league/oauth2-google": "4.0.0",
"php": "^8.1",
"php-di/php-di": "6.4.0",
"phpmailer/phpmailer": "6.6.4",
"team-reflex/discord-php": "7.3.0",
"vanilla/nbbc": "2.3.1",
"vlucas/phpdotenv": "5.4.1"
},
"autoload": {
"psr-4": {
"Smr\\": "src/lib/Smr/",
"Smr\\Irc\\": "src/tools/irc/",
"Smr\\Npc\\": "src/tools/npc/"
}
},
"scripts": {
"start:dev": [
"docker compose up -d traefik smr-dev"
],
"rebuild:dev": [
"docker compose up --build -d smr-dev"
],
"start:test-services": [
"docker compose --env-file test/env up -d mysql-test",
"@rebuild:test-services"
],
"reset:test-services": [
"docker compose --env-file test/env stop mysql-test",
"docker compose --env-file test/env rm -f -v mysql-test",
"@start:test-services"
],
"rebuild:test-services": [
"docker compose --env-file test/env build phpunit",
"docker compose --env-file test/env run --rm flyway-test"
],
"test": [
"docker compose --env-file test/env run --rm phpunit"
],
"phpcs": [
"docker compose --env-file test/env run --rm phpcs"
],
"phpcbf": [
"docker compose --env-file test/env run --rm phpcbf"
],
"phpstan": [
"docker compose --env-file test/env run --rm phpstan"
],
"stop": [
"docker compose stop",
"docker compose rm --force"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false
},
"process-timeout": 0
},
"autoload-dev": {
"psr-4": {
"SmrTest\\": "test/SmrTest/"
}
},
"require-dev": {
"fig-r/psr2r-sniffer": "1.4.0",
"overtrue/phplint": "5.3.0",
"phpstan/phpstan": "1.8.5",
"phpunit/phpunit": "9.5.24",
"phpunit/php-code-coverage": "9.2.17",
"squizlabs/php_codesniffer": "3.7.1"
}
}