forked from RetroAchievements/RAWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
63 lines (63 loc) · 1.74 KB
/
composer.json
File metadata and controls
63 lines (63 loc) · 1.74 KB
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
{
"name": "retroachievements/retroachievements-web",
"description": "RetroAchievements.org's site and server backend",
"type": "project",
"require": {
"php": "^7.4|^8.0",
"ext-curl": "*",
"ext-dom": "*",
"ext-mysqli": "*",
"ext-gd": "*",
"ext-json": "*",
"asika/autolink": "1.*",
"vlucas/phpdotenv": "^5.0",
"aws/aws-sdk-php": "^3.52",
"thunderer/shortcode": "^0.7.4"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^9.0",
"phpstan/phpstan": "^1.0"
},
"autoload": {
"psr-4": {
"RA\\": "src/",
"Test\\": "tests/src"
},
"files": [
"lib/constants.php",
"lib/functions.php"
]
},
"config": {
"platform": {
"php": "7.4.0"
}
},
"extra": {
"hooks": {
"pre-commit": [
"vendor/bin/php-cs-fixer fix --verbose --dry-run"
],
"pre-push": [
],
"post-merge": "composer install"
}
},
"scripts": {
"analyse": "@stan",
"stan": "vendor/bin/phpstan analyse --memory-limit 512M --ansi",
"taint": "vendor/bin/psalm --taint-analysis",
"lint": "vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run",
"fix": "vendor/bin/php-cs-fixer fix --verbose --ansi",
"post-install-cmd": [
"RA\\Utility\\ComposerScripts::devModeOnly",
"cghooks add --ignore-lock"
],
"post-update-cmd": [
"RA\\Utility\\ComposerScripts::devModeOnly",
"cghooks update"
]
}
}