-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
52 lines (52 loc) · 1.5 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
{
"name": "wppedia/wppedia",
"description": "The most advanced Glossary solution for WordPress!",
"type": "wordpress-plugin",
"license": "GPLv3",
"authors": [
{
"name": "Bastian Fießinger",
"email": "[email protected]"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.3|^8.0"
},
"require-dev": {
"mythemeshop/wordpress-helpers": "^1.1",
"phpunit/phpunit": "^11.3",
"yoast/phpunit-polyfills": "^3.0",
"squizlabs/php_codesniffer": "^3.10",
"wp-coding-standards/wpcs": "^3.1",
"phpcompatibility/phpcompatibility-wp": "^2.1"
},
"autoload": {},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"post-install-cmd": [
"@prefix-dependencies"
],
"post-update-cmd": [
"@prefix-dependencies"
],
"prefix-dependencies": [
"@composer --working-dir=php-scoper install",
"@composer prefix-vendor-mythemeshop",
"@composer dump-autoload -a --no-dev",
"@composer --working-dir=vendor-prefixed dump-autoload -a"
],
"prefix-vendor-mythemeshop": [
"@php ./php-scoper/vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=\"WPPedia_Vendor\" --output-dir=\"./vendor-prefixed/mythemeshop/wordpress-helpers\" --config=\"./config/php-scoper/mythemeshop.inc.php\" --force --quiet"
]
}
}