summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/composer.json
blob: 7723c6147d39a407757ec76968324548febf4389 (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
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
{
	"name": "mediawiki/semantic-media-wiki",
	"type": "mediawiki-extension",
	"description": "An extension to MediaWiki that lets you store and query structured data within wiki pages",
	"keywords": [
		"SMW",
		"Semantic MediaWiki",
		"Wiki",
		"MediaWiki"
	],
	"homepage": "https://www.semantic-mediawiki.org/wiki/",
	"license": "GPL-2.0-or-later",
	"authors": [
		{
			"name": "Markus Krötzsch",
			"homepage": "http://korrekt.org/",
			"role": "Original author"
		},
		{
			"name": "Jeroen De Dauw",
			"email": "jeroendedauw@gmail.com",
			"homepage": "https://www.entropywins.wtf/",
			"role": "Core developer"
		},
		{
			"name": "James Hong Kong",
			"homepage": "https://www.semantic-mediawiki.org/wiki/User:MWJames",
			"role": "Core developer"
		}
	],
	"support": {
		"email": "semediawiki-user@lists.sourceforge.net",
		"issues": "https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues",
		"forum": "https://www.semantic-mediawiki.org/wiki/semantic-mediawiki.org_talk:Community_portal",
		"wiki": "https://www.semantic-mediawiki.org/wiki/",
		"source": "https://github.com/SemanticMediaWiki/SemanticMediaWiki"
	},
	"require": {
		"php": ">=5.6.0",
		"ext-mbstring": "*",
		"composer/installers": "1.*,>=1.0.1",
		"psr/log": "~1.0",
		"mediawiki/parser-hooks": "~1.4",
		"param-processor/param-processor": "~1.2",
		"serialization/serialization": "~3.2",
		"onoi/message-reporter": "~1.0",
		"onoi/cache": "~1.2",
		"onoi/event-dispatcher": "~1.0",
		"onoi/blob-store": "~1.2",
		"onoi/http-request": "~1.1",
		"onoi/callback-container": "~2.0",
		"onoi/tesa": "~0.1",
		"onoi/shared-resources": "~0.3",
		"symfony/css-selector": "^3.3",
		"elasticsearch/elasticsearch": "^5.3|^6.0"
	},
	"require-dev": {
		"squizlabs/php_codesniffer": "~2.1",
		"phpmd/phpmd": "~2.1"
	},
	"replace": {
		"mediawiki/semantic-mediawiki": "*"
	},
	"suggest": {
		"mediawiki/semantic-result-formats": "Provides additional result formats for queries of structured data"
	},
	"extra": {
		"branch-alias": {
			"dev-master": "3.0.x-dev"
		}
	},
	"autoload": {
		"psr-4": {
			"SMW\\": "src/",
			"SMW\\Maintenance\\": "maintenance/"
		},
		"files" : [
			"SemanticMediaWiki.php"
		],
		"classmap" : [
			"includes/"
		]
	},
	"config": {
		"process-timeout": 0
	},
	"scripts": {
		"test": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist",
		"phpunit": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist",
		"phpdbg": "phpdbg -qrr ../../tests/phpunit/phpunit.php -c phpunit.xml.dist",
		"unit": [
			"composer dump-autoload",
			"composer phpunit -- --testsuite=semantic-mediawiki-unit"
		],
		"integration": "composer phpunit -- --testsuite=semantic-mediawiki-integration",
		"benchmark": "composer phpunit  -- --group semantic-mediawiki-benchmark",
		"quick-benchmark": "php ../../tests/phpunit/phpunit.php -c ./tests/phpunit/Benchmark/phpunit.quick.xml.dist --group semantic-mediawiki-benchmark",
		"cs-standalone": [
			"composer validate --no-interaction",
			"vendor/bin/phpcs src/* includes/* tests/* --standard=phpcs.xml --extensions=php -sp"
		],
		"cs": [
			"composer cs-standalone",
			"vendor/bin/phpmd src/,includes/,tests/ text phpmd.xml"
		],
		"ci": [
			"composer phpunit",
			"composer cs"
		]
	}
}