-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcomposer.json
More file actions
82 lines (82 loc) · 1.9 KB
/
composer.json
File metadata and controls
82 lines (82 loc) · 1.9 KB
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
{
"name": "mediawiki/semantic-forms-select",
"type": "mediawiki-extension",
"description": "Allows to generate a select field in a form whose values are retrieved from a query",
"keywords": [
"MediaWiki",
"SMW",
"Semantic MediaWiki",
"Page Forms"
],
"homepage": "https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Jason Zhang",
"role": "Creator"
},
{
"name": "Toni Hermoso Pulido",
"role": "Developer"
},
{
"name": "James Hong Kong",
"role": "Developer"
},
{
"name": "Thomas Mulhall",
"role": "Developer"
},
{
"name": "Alexander Gesinn",
"role": "Developer"
},
{
"name": "Felix Ashu",
"role": "Developer"
}
],
"require": {
"php": ">=7.4",
"composer/installers": ">=1.0.1"
},
"require-dev": {
"mediawiki/semantic-media-wiki": "@dev",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0"
},
"extra": {
"branch-alias": {
"dev-master": "4.0.x-dev"
}
},
"autoload": {
"psr-4": {
"SFS\\": "src/"
}
},
"config": {
"process-timeout": 0,
"allow-plugins": {
"composer/installers": true
}
},
"scripts":{
"test": [
"@lint",
"minus-x check .",
"@phpunit"
],
"test-coverage": [
"@phpunit-coverage"
],
"lint": "parallel-lint . --exclude vendor --exclude node_modules --exclude extensions",
"phpunit": "php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist",
"phpunit-coverage": "php ../../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/SemanticFormsSelect/||g' coverage/php/coverage.xml",
"find coverage/php -type f -name '*.html' -exec sed -i 's|/var/www/html/extensions/||g' {} +"
]
}
}