-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathcomposer.json
More file actions
72 lines (72 loc) · 2.78 KB
/
Copy pathcomposer.json
File metadata and controls
72 lines (72 loc) · 2.78 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
{
"name": "professional-wiki/neowiki",
"type": "mediawiki-extension",
"license": "GPL-2.0-or-later",
"description": "TODO",
"authors": [
{
"name": "Professional.Wiki",
"email": "info@professional.wiki",
"homepage": "https://Professional.Wiki"
},
{
"name": "Jeroen De Dauw",
"email": "jeroendedauw@gmail.com",
"homepage": "https://www.EntropyWins.wtf/mediawiki"
}
],
"require": {
"php": "^8.3",
"composer/installers": "^2|^1.0.1",
"opis/json-schema": "^2.3.0",
"laudis/neo4j-php-client": "^3.1.2",
"pietercolpaert/hardf": "0.6.2",
"jeroen/psr-log-test-doubles": "^3.0.0",
"jeroen/file-fetcher": "^6.1.0",
"ext-json": "*",
"wmde/clock": "^1"
},
"require-dev": {
"vimeo/psalm": "^5.25.0",
"phpstan/phpstan": "^1.12.2",
"mediawiki/mediawiki-codesniffer": "52.0.0",
"slevomat/coding-standard": "^v8.15.0"
},
"autoload": {
"psr-4": {
"ProfessionalWiki\\NeoWiki\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ProfessionalWiki\\NeoWiki\\Tests\\": "tests/phpunit/"
}
},
"scripts": {
"phpunit": [
"Composer\\Config::disableProcessTimeout",
"cd ${MW_INSTALL_PATH:-../..} && if [ -f phpunit.xml.template ]; then composer phpunit:config; fi && vendor/bin/phpunit -c extensions/NeoWiki/phpunit.xml.dist --bootstrap tests/phpunit/bootstrap.php"
],
"dbschema": [
"php ../../maintenance/generateSchemaSql.php --json sql/neowiki_rebuild_runs.json --sql sql/mysql/neowiki_rebuild_runs.sql --type mysql",
"php ../../maintenance/generateSchemaSql.php --json sql/neowiki_rebuild_runs.json --sql sql/sqlite/neowiki_rebuild_runs.sql --type sqlite",
"php ../../maintenance/generateSchemaSql.php --json sql/neowiki_rebuild_runs.json --sql sql/postgres/neowiki_rebuild_runs.sql --type postgres",
"php ../../maintenance/generateSchemaChangeSql.php --json sql/abstractSchemaChanges/patch-neowiki_rebuild_runs-nwrr_phase.json --sql sql/mysql/patch-neowiki_rebuild_runs-nwrr_phase.sql --type mysql",
"php ../../maintenance/generateSchemaChangeSql.php --json sql/abstractSchemaChanges/patch-neowiki_rebuild_runs-nwrr_phase.json --sql sql/sqlite/patch-neowiki_rebuild_runs-nwrr_phase.sql --type sqlite",
"php ../../maintenance/generateSchemaChangeSql.php --json sql/abstractSchemaChanges/patch-neowiki_rebuild_runs-nwrr_phase.json --sql sql/postgres/patch-neowiki_rebuild_runs-nwrr_phase.sql --type postgres"
]
},
"scripts-descriptions": {
"phpunit": "Runs the test suite against the surrounding MediaWiki. Generates core's phpunit.xml first where core ships the generator, because from MediaWiki 1.46 core's bootstrap refuses to run without it."
},
"config": {
"allow-plugins": {
"composer/installers": true,
"php-http/discovery": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"installer-name": "NeoWiki"
}
}