加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
composer.json 3.03 KB
一键复制 编辑 原始数据 按行查看 历史
{
"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.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/semver": "3.3.2",
"liuggio/statsd-php-client": "^1.0.18",
"php": ">=7.2.0",
"psr/container": "1.1.1",
"psr/log": "^1.1.4",
"symfony/polyfill-php80": "^1.23.1",
"wikimedia/assert": "^0.5.0",
"wikimedia/dodo": "0.4.0",
"wikimedia/ip-utils": "^4.0.0",
"wikimedia/object-factory": "^4.0.0",
"wikimedia/remex-html": "^3.0.0",
"wikimedia/scoped-callback": "^3.0.0 || ^4.0.0",
"wikimedia/wikipeg": "^2.0.6",
"wikimedia/zest-css": "^2.0.2",
"ext-dom": "*",
"ext-json": "*"
},
"require-dev": {
"composer/composer": "^2.1.9",
"ext-curl": "*",
"mediawiki/mediawiki-codesniffer": "38.0.0",
"mediawiki/mediawiki-phan-config": "0.11.1",
"mediawiki/minus-x": "1.1.1",
"monolog/monolog": "^2.2.0",
"ockcyp/covers-validator": "1.4.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.3.1",
"phpunit/phpunit": "^8.5",
"sebastian/diff": "^3.0.2",
"wikimedia/alea": "^0.9.3",
"wikimedia/langconv": "^0.4.2",
"wikimedia/testing-access-wrapper": "~1.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"
],
"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 -- --header-comment-file ./bin/grammarheader-composer.txt",
"regen-tests-tokenizer": "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": "bin/toolcheck.php.sh",
"nodeNameCheck": "bin/nodenamecheck.sh",
"phpcs": "phpcs -sp --cache"
},
"config": {
"process-timeout": 0,
"optimize-autoloader": true
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化