-
Notifications
You must be signed in to change notification settings - Fork 9
/
composer.json
60 lines (60 loc) · 1.52 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
{
"name": "wikisource/ia-upload",
"description": "Tool to upload DjVu files from the Internet Archive files to Wikimedia Commons",
"license": "GPL-2.0-or-later",
"homepage": "https://wikitech.wikimedia.org/wiki/Tool:IA_Upload",
"minimum-stability": "stable",
"config": {
"platform": { "php": "8.2" }
},
"require": {
"php": ">=8.2",
"ext-zip": "*",
"ext-intl": "*",
"addwiki/mediawiki-api": "^2.8",
"bryanjhv/slim-session": "~4.0",
"firebase/php-jwt": "^6.0",
"guzzlehttp/oauth-subscriber": "~0.3",
"guzzlehttp/psr7": "^1.6",
"http-interop/http-factory-guzzle": "^1.0",
"monolog/monolog": "^2.1.0",
"pastuhov/php-exec-command": "^1.1",
"php-di/php-di": "^6.2",
"slim/slim": "^4.0",
"twig/twig": "^3.0",
"slim/twig-view": "^3.0",
"symfony/console": "^5.0",
"slim/http": "^1.4",
"slim/psr7": "^1.7",
"krinkle/intuition": "^2.3"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "^35.0",
"mediawiki/minus-x": "^1.1",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"symfony/var-dumper": "^5.2"
},
"autoload": {
"psr-4": {
"Wikisource\\IaUpload\\": "src/"
}
},
"scripts": {
"test": [
"composer validate",
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"minus-x check ."
],
"configini": [
"php -r \"file_exists('config.ini') || copy('config_example.ini', 'config.ini');\""
],
"post-install-cmd": [
"composer configini"
],
"post-update-cmd": [
"composer configini"
]
}
}