-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 1.83 KB
/
composer.json
File metadata and controls
78 lines (78 loc) · 1.83 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "wikimedia/codex",
"description": "A PHP library for building HTML and CSS UI components using Codex, the Wikimedia design system.",
"type": "library",
"keywords": [
"wikimedia",
"codex"
],
"homepage": "https://doc.wikimedia.org/codex/",
"authors": [
{
"name": "Doğu Abaris",
"email": "abaris@null.net"
}
],
"license": "GPL-2.0-or-later",
"support": {
"issues": "https://phabricator.wikimedia.org/tag/codex/"
},
"require": {
"php": ">=8.2.0",
"ext-intl": "*",
"krinkle/intuition": "^2.3",
"wikimedia/services": "^4.0",
"guzzlehttp/psr7": "^2.7",
"zordius/lightncandy": "1.2.6"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "50.0.0",
"mediawiki/mediawiki-phan-config": "0.20.0",
"mediawiki/minus-x": "2.0.1",
"ockcyp/covers-validator": "1.7.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpunit/phpunit": "10.5.63"
},
"autoload": {
"psr-4": {
"Wikimedia\\Codex\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Wikimedia\\Codex\\Tests\\": "tests/",
"Wikimedia\\Codex\\Sandbox\\": ".sandbox/src/"
}
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor",
"php -d 'extension=pcov.so' vendor/bin/phpunit",
"covers-validator",
"@phpcs",
"phan --allow-polyfill-parser --long-progress-bar",
"@phpcs",
"minus-x check ."
],
"fix": [
"minus-x fix .",
"phpcbf"
],
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache",
"start-sandbox": [
"cd .sandbox && npm install",
"php -S localhost:8000 -t .sandbox"
],
"update-snapshots": "php build/updateSnapshots.php"
},
"config": {
"prepend-autoloader": false,
"optimize-autoloader": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"symfony/flex": true
}
}
}