-
Notifications
You must be signed in to change notification settings - Fork 53
/
composer.json
91 lines (91 loc) · 2.27 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
91
{
"name": "scummvm/web",
"description": "Scummvm.org main site",
"type": "project",
"authors": [
{
"name": "Matan Bareket",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.2.0",
"ext-intl": "*",
"smarty/smarty": "^5.4.1",
"ezyang/htmlpurifier": "^4.10",
"altorouter/altorouter": "^2.0",
"matomo/device-detector": "^6.3.2",
"spatie/yaml-front-matter": "^2.0",
"erusev/parsedown": "^1.7",
"phpfastcache/phpfastcache": "^9.1",
"league/csv": "^9.16",
"symfony/yaml": "^7.1",
"predis/predis": "^2.1",
"guzzlehttp/guzzle": "^7.9",
"propel/propel": "~2.0@dev"
},
"require-dev": {
"phpstan/phpstan": "^1.12.2",
"squizlabs/php_codesniffer": "^3.4"
},
"suggest": {
"ext-redis": "Needed for redis cache driver"
},
"scripts": {
"build-common": [
"@icons",
"@localize",
"@database",
"@update-data"
],
"build": [
"composer install --no-dev",
"@build-common",
"npm ci --omit=dev"
],
"build-dev": [
"composer install",
"@build-common",
"npm install"
],
"start": [
"Composer\\Config::disableProcessTimeout",
"php -S localhost:8000 -t ./public_html ./public_html/index.php"
],
"develop": [
"@build-dev",
"@start"
],
"lint": [
"phpcbf --standard=psr2 --ignore=./include/OrmObjects/Base,./include/OrmObjects/Map ./include"
],
"update-data": [
"php include/DataUtils.php"
],
"database": [
"propel sql:build",
"propel model:build",
"propel config:convert",
"propel sql:insert",
"composer dumpautoload"
],
"localize": [
"php include/LocalizationUtils.php"
],
"icons": [
"glue public_html/images/icons/games/ --img=public_html/images/ --scss=scss/sprites/ --retina",
"glue public_html/images/icons/platforms/ --img=public_html/images/ --scss=scss/sprites/ --retina",
"sed -i'' -e 's#../../public_html#../../#g' ./scss/sprites/*",
"mv scss/sprites/games.scss scss/sprites/_games.scss",
"mv scss/sprites/platforms.scss scss/sprites/_platforms.scss"
]
},
"autoload": {
"psr-4": {
"ScummVM\\": [
"include/",
"public_html/index.php"
]
}
}
}