summaryrefslogtreecommitdiff
path: root/composer.json
blob: 1b6ce8e6e4d983e7b769ff77a9a822ab01011826 (plain)
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
{
	"name": "mediawiki/core",
	"description": "Free software wiki application developed by the Wikimedia Foundation and others",
	"keywords": ["mediawiki", "wiki"],
	"homepage": "https://www.mediawiki.org/",
	"authors": [
		{
			"name": "MediaWiki Community",
			"homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
		}
	],
	"license": "GPL-2.0+",
	"support": {
		"issues": "https://bugs.mediawiki.org/",
		"irc": "irc://irc.freenode.net/mediawiki",
		"wiki": "https://www.mediawiki.org/"
	},
	"require": {
		"cssjanus/cssjanus": "1.1.1",
		"ext-iconv": "*",
		"leafo/lessphp": "0.5.0",
		"liuggio/statsd-php-client": "1.0.12",
		"oojs/oojs-ui": "0.11.3",
		"php": ">=5.3.3",
		"psr/log": "1.0.0",
		"wikimedia/cdb": "1.0.1",
		"wikimedia/composer-merge-plugin": "1.0.0",
		"wikimedia/utfnormal": "1.0.2",
		"zordius/lightncandy": "0.18"
	},
	"require-dev": {
		"jakub-onderka/php-parallel-lint": "~0.8",
		"justinrainbow/json-schema": "~1.3",
		"phpunit/phpunit": "3.7.37",
		"mediawiki/mediawiki-codesniffer": "0.1.0"
	},
	"suggest": {
		"ext-fileinfo": "*",
		"ext-intl": "*",
		"ext-mbstring": "*",
		"ext-wikidiff2": "*",
		"ext-apc": "*",
		"monolog/monolog": "*"
	},
	"autoload": {
		"psr-0": {
			"ComposerHookHandler": "includes/composer"
		}
	},
	"scripts": {
		"lint": "parallel-lint --exclude vendor",
		"phpcs": "phpcs $PHPCS_ARGS -s --standard=vendor/mediawiki/mediawiki-codesniffer/MediaWiki --ignore=vendor --encoding=utf-8 --extensions=php,php5,inc,sample",
		"test": [
			"composer lint",
			"composer phpcs"
		],
		"pre-update-cmd": "ComposerHookHandler::onPreUpdate",
		"pre-install-cmd": "ComposerHookHandler::onPreInstall"
	},
	"config": {
		"prepend-autoloader": false,
		"optimize-autoloader": true
	},
	"extra": {
		"merge-plugin": {
			"include": [
				"composer.local.json"
			]
		}
	}
}