-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcomposer.json
61 lines (61 loc) · 1.77 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
{
"name": "mediawiki/semantic-cite",
"type": "mediawiki-extension",
"description": "A Semantic MediaWiki extension to manage citation resources.",
"keywords": [
"smw",
"semantic mediawiki",
"wiki",
"mediawiki",
"citation"
],
"homepage": "https://semantic-mediawiki.org/wiki/Extension:Semantic_Cite",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "James Hong Kong",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"issues": "https://github.com/SemanticMediaWiki/SemanticCite/issues",
"irc": "irc://irc.freenode.net/semantic-mediawiki",
"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/SemanticCite"
},
"require": {
"php": ">=7.4",
"composer/installers": ">=1.0.1",
"onoi/cache": "~1.2",
"mediawiki/http-request": "~2.0|~1.1",
"onoi/remi":"~0.2"
},
"autoload": {
"files" : [
"SemanticCite.php"
],
"psr-4": {
"SCI\\": "src/"
}
},
"config": {
"process-timeout": 0,
"allow-plugins": {
"composer/installers": true
}
},
"scripts":{
"test-coverage": [
"@phpunit-coverage"
],
"phpunit": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist",
"phpunit-coverage": "php ${MW_INSTALL_PATH:-../..}/tests/phpunit/phpunit.php -c phpunit.xml.dist --testdox --coverage-text --coverage-html coverage/php --coverage-clover coverage/php/coverage.xml",
"post-test-coverage": [
"sed -i 's|/var/www/html/extensions/SemanticCite/||g' coverage/php/coverage.xml",
"find coverage/php -type f -name '*.html' -exec sed -i 's|/var/www/html/extensions/||g' {} +"
],
"test": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist"
}
}