-
Notifications
You must be signed in to change notification settings - Fork 58
/
composer.json
89 lines (89 loc) · 2.56 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
{
"name": "wikibase/wikibase",
"type": "mediawiki-extension",
"description": "Structured data repository for MediaWiki",
"keywords": [
"wikibase",
"wikidata",
"wikibaselib",
"wikibaseclient",
"wikibaserepo"
],
"homepage": "https://wikiba.se",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "The Wikidata team"
}
],
"support": {
"issues": "https://phabricator.wikimedia.org/",
"irc": "irc://irc.libera.chat/wikidata"
},
"require": {
"php": ">=7.4.3",
"composer/installers": "^1.0.1",
"data-values/data-values": "^3.1.0",
"data-values/common": "^1.1.0",
"data-values/geo": "^4.4.0",
"data-values/interfaces": "^1.0.0",
"data-values/number": "^0.12.3",
"data-values/time": "^1.1.2",
"data-values/serialization": "^1.2.5",
"monolog/monolog": "^2.0.0",
"diff/diff": "^3.2.0",
"wikimedia/at-ease": "^2.0.0 || ^3.0.0",
"wikimedia/purtle": "^2.0.0",
"wikimedia/timestamp": "^4.1.0",
"psr/simple-cache": "^1.0.1",
"psr/log": "^1.1.3",
"psr/http-message": "^1.0.1",
"onoi/message-reporter": "~1.4",
"swaggest/json-diff": "^3.11.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "45.0.0",
"mediawiki/mediawiki-phan-config": "0.14.0",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpat/phpat": "^0.10.14",
"phpstan/phpstan": "^1.9",
"slevomat/coding-standard": "^6.4"
},
"suggest": {
"ext-calendar": "Needed for dumpRdf script"
},
"scripts": {
"lint": "parallel-lint . --exclude vendor --exclude node_modules --exclude .git --exclude lib/packages/*/*/vendor",
"phpcs": "phpcs -p -s --cache",
"phpcs:rest-api": "phpcs -p -s --standard=./repo/rest-api/ruleset.xml repo/rest-api/",
"phpcs-modified": "bash build/phpcsGitModified.sh",
"phpcs-committed": "bash build/phpcsGitCommitted.sh",
"fix": [
"minus-x fix .",
"phpcbf --standard=./repo/rest-api/ruleset.xml repo/rest-api/",
"phpcbf"
],
"fix-modified": "bash build/phpcbfGitModified.sh",
"fix-committed": "bash build/phpcbfGitCommitted.sh",
"phan": "phan -d . --long-progress-bar --allow-polyfill-parser",
"phpstan": "bash build/runPhpstanUnlessMissingDeps.sh",
"test": [
"composer validate --no-interaction",
"composer lint",
"composer phpcs",
"composer phpcs:rest-api",
"composer phpstan",
"minus-x check ."
],
"doxygen-docker": "bash build/doxygen-docker.sh"
},
"config": {
"process-timeout": 600,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": false
}
}
}