forked from wikimedia/mediawiki-services-parsoid
/
composer.json
94 lines (94 loc) · 2.67 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
90
91
92
93
94
{
"name": "wikimedia/parsoid",
"description": "Parsoid, a bidirectional parser between wikitext and HTML5",
"keywords": [
"mediawiki",
"parsoid"
],
"homepage": "https://www.mediawiki.org/wiki/Parsoid",
"authors": [
{
"name": "Wikimedia Parsing Team and the broader MediaWiki community",
"homepage": "https://www.mediawiki.org/wiki/Parsoid"
}
],
"license": "GPL-2.0-or-later",
"support": {
"irc": "irc://irc.freenode.net/mediawiki-parsoid",
"wiki": "https://www.mediawiki.org/wiki/Parsoid"
},
"require": {
"composer/semver": "^1.5.1|^2.0.0",
"liuggio/statsd-php-client": "^1.0.18",
"php": ">=7.2.0",
"psr/log": "^1.1.2",
"wikimedia/assert": "0.4.0|^0.5.0",
"wikimedia/ip-utils": "^1.0.0|^2.0.0",
"wikimedia/langconv": "^0.3.5",
"wikimedia/object-factory": "^2.1",
"wikimedia/remex-html": "^2.2.0",
"wikimedia/scoped-callback": "^3.0.0",
"wikimedia/wikipeg": "^2.0.4",
"wikimedia/zest-css": "^1.1.3",
"ext-dom": "*",
"ext-json": "*"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0",
"monolog/monolog": "~1.25.2",
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-phan-config": "0.10.2",
"mediawiki/minus-x": "1.1.0",
"phpunit/phpunit": "^8.5",
"sebastian/diff": "^3.0.2",
"wikimedia/alea": "^0.9.2",
"wikimedia/testing-access-wrapper": "~1.0",
"ext-curl": "*",
"ockcyp/covers-validator": "1.1.1",
"composer/composer": "^1.10@RC"
},
"autoload": {
"psr-4": {
"Wikimedia\\Parsoid\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Wikimedia\\Parsoid\\ParserTests\\": "tests/ParserTests",
"Wikimedia\\Parsoid\\Tools\\": "tools/",
"Test\\": "tests/phpunit/"
}
},
"scripts": {
"test": [
"@lint",
"@phpunit",
"@phan",
"@toolcheck",
"@parserTests"
],
"lint": [
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"minus-x check .",
"covers-validator"
],
"fix": [
"minus-x fix .",
"phpcbf"
],
"cover": "phpunit --coverage-html coverage",
"phan": "phan -p --allow-polyfill-parser --config-file=.phan/standalone.php --long-progress-bar",
"phan-integrated": "phan -p --allow-polyfill-parser --long-progress-bar",
"regen-tokenizer": "npm run regen-php-tokenizer",
"parserTests": "php bin/parserTests.php --wt2html --wt2wt --html2wt --html2html --selser true --quiet --knownFailures true",
"parserTests-ucs2": "php bin/parserTests.php --wt2html --wt2wt --html2wt --html2html --selser true --quiet --knownFailures true --offsetType ucs2",
"phpunit": "phpunit",
"toolcheck": "bin/toolcheck.php.sh"
},
"config": {
"process-timeout": 0,
"optimize-autoloader": true
}
}