-
Notifications
You must be signed in to change notification settings - Fork 16
/
composer.json
90 lines (90 loc) · 2.06 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
84
85
86
87
88
89
90
{
"name": "smr/smr",
"description": "SMR",
"license": "AGPL-3.0",
"require": {
"abraham/twitteroauth": "7.0.0",
"doctrine/dbal": "4.2.1",
"ext-curl": "*",
"ext-json": "*",
"ext-pdo_mysql": "*",
"google/recaptcha": "1.3.0",
"league/oauth2-facebook": "2.2.0",
"league/oauth2-google": "4.0.1",
"php": "^8.2",
"php-di/php-di": "7.0.7",
"phpmailer/phpmailer": "6.9.3",
"team-reflex/discord-php": "10.1.1",
"vanilla/nbbc": "2.6.0"
},
"autoload": {
"psr-4": {
"Smr\\": "src/lib/Smr/",
"Smr\\Irc\\": "src/tools/irc/",
"Smr\\Npc\\": "src/tools/npc/",
"Smr\\Pages\\": "src/pages/"
}
},
"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": [
"@phpstan",
"@phpunit",
"@phpcs"
],
"phpunit": [
"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": "2.1.1",
"overtrue/phplint": "9.5.4",
"phpstan/phpstan": "1.12.5",
"phpunit/phpunit": "11.4.4",
"phpunit/php-code-coverage": "11.0.7",
"rector/rector": "0.15.13",
"squizlabs/php_codesniffer": "3.11.1"
}
}