-
Notifications
You must be signed in to change notification settings - Fork 54
/
composer.json
114 lines (114 loc) · 3.3 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"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 Content Transform Team and the broader MediaWiki community",
"homepage": "https://www.mediawiki.org/wiki/Parsoid"
}
],
"license": "GPL-2.0-or-later",
"support": {
"irc": "irc://irc.libera.chat/mediawiki-parsoid",
"wiki": "https://www.mediawiki.org/wiki/Parsoid"
},
"suggest": {
"wikimedia/langconv": "Provides script conversion support"
},
"conflict": {
"wikimedia/langconv": "<0.4.2"
},
"require": {
"composer-runtime-api": "^2.0",
"composer/semver": "^3.4.0",
"liuggio/statsd-php-client": "^1.0.18",
"php": ">=7.4.0",
"psr/container": "~1.1.2 || ~2.0.2",
"psr/log": "^1.1.4",
"symfony/polyfill-php80": "^1.23.1",
"wikimedia/assert": "^0.5.1",
"wikimedia/bcp-47-code": "^2.0.0",
"wikimedia/idle-dom": "2.0.1",
"wikimedia/ip-utils": "^5.0.0",
"wikimedia/json-codec": "^3.0.2",
"wikimedia/object-factory": "^5.0.1",
"wikimedia/remex-html": "^4.0.1",
"wikimedia/scoped-callback": "^4.0.0 || ^5.0.0",
"wikimedia/wikipeg": "^4.0.0",
"wikimedia/zest-css": "^3.0.1",
"ext-dom": "*",
"ext-json": "*"
},
"require-dev": {
"ext-curl": "*",
"mediawiki/mediawiki-codesniffer": "45.0.0",
"mediawiki/mediawiki-phan-config": "0.14.0",
"mediawiki/minus-x": "1.1.3",
"monolog/monolog": "^2.2.0",
"nikic/php-parser": "^4.10.2",
"ockcyp/covers-validator": "1.6.0",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpunit/phpunit": "9.6.16",
"sebastian/diff": "^4.0.3",
"wikimedia/alea": "^1.0.0",
"wikimedia/langconv": "^0.4.2",
"wikimedia/testing-access-wrapper": "~3.0"
},
"autoload": {
"psr-4": {
"Wikimedia\\Parsoid\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Wikimedia\\Parsoid\\Tools\\": "tools/",
"Test\\": "tests/phpunit/"
}
},
"scripts": {
"test": [
"@lint",
"@phan",
"@phpunit",
"@toolcheck",
"@parserTests"
],
"lint": [
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"minus-x check .",
"covers-validator",
"@nodeNameCheck",
"@getAttributeCheck"
],
"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": "fresh-node -- npm run regen-php-tokenizer",
"regen-tests-tokenizer": "fresh-node -- npm run regen-php-tests-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": "bash bin/toolcheck.sh",
"nodeNameCheck": "bash bin/nodenamecheck.sh",
"getAttributeCheck": "bash bin/getattributecheck.sh",
"phpcs": "phpcs -sp --cache"
},
"config": {
"process-timeout": 0,
"optimize-autoloader": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}