-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcomposer.json
63 lines (63 loc) · 1.45 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
{
"name": "wikimedia/css-sanitizer",
"description": "Classes to parse and sanitize CSS",
"license": "Apache-2.0",
"homepage": "https://www.mediawiki.org/wiki/Css-sanitizer",
"authors": [
{
"name": "Brad Jorsch",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Wikimedia\\CSS\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Wikimedia\\CSS\\": "tests/"
}
},
"require": {
"php": ">=7.4.0",
"ext-mbstring": "*",
"ext-iconv": "*",
"wikimedia/utfnormal": "^3.0.1 || ^4.0.0",
"wikimedia/scoped-callback": "3.0.0 || 4.0.0 || 5.0.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "45.0.0",
"mediawiki/mediawiki-phan-config": "0.15.1",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpunit/phpunit": "9.6.21",
"wikimedia/testing-access-wrapper": "~2.0.0 || ~3.0.0",
"wikimedia/update-history": "^1.0.1"
},
"scripts": {
"lint": "parallel-lint . --exclude vendor",
"phpcs": "phpcs -p -s",
"phan": "phan -d . --long-progress-bar --allow-polyfill-parser",
"fix": [
"minus-x fix .",
"phpcbf"
],
"update-history": "update-history patch",
"phpunit": "phpunit",
"coverage": "phpunit --coverage-html coverage",
"test": [
"@lint",
"@phpcs",
"@phpunit",
"minus-x check .",
"@phan"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}