This repository was archived by the owner on Jan 13, 2021. It is now read-only.
forked from wikimedia/css-sanitizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
56 lines (56 loc) · 1.26 KB
/
composer.json
File metadata and controls
56 lines (56 loc) · 1.26 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
{
"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.2.0",
"ext-mbstring": "*",
"ext-iconv": "*",
"wikimedia/at-ease": "2.0.0",
"wikimedia/utfnormal": "2.0.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-phan-config": "0.10.3",
"mediawiki/minus-x": "1.1.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0",
"phpunit/phpunit": "^8.5",
"wikimedia/testing-access-wrapper": "1.0.0"
},
"scripts": {
"lint": "parallel-lint . --exclude vendor",
"phpcs": "phpcs -p -s",
"phan": "phan -d . -p --allow-polyfill-parser",
"fix": [
"minus-x fix .",
"phpcbf"
],
"phpunit": "phpunit $PHPUNIT_ARGS",
"coverage": "phpunit --coverage-html coverage $PHPUNIT_ARGS",
"test": [
"composer lint",
"composer phpcs",
"composer phpunit",
"minus-x check .",
"composer phan"
]
}
}