forked from 10up/ElasticPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
73 lines (73 loc) · 1.91 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
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "10up/elasticpress",
"description": "Supercharge WordPress with Elasticsearch.",
"type": "wordpress-plugin",
"keywords": ["wordpress", "plugin", "elasticsearch", "elasticpress", "search"],
"license": ["GPL-2.0-only"],
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Taylor Lovett",
"email": "[email protected]"
},
{
"name": "10up",
"homepage": "https://10up.com"
},
{
"name": "Aaron Holbrook",
"email": "[email protected]",
"homepage": "https://aaronjholbrook.com"
}
],
"repositories": [
{
"type":"composer",
"url":"https://wpackagist.org"
}
],
"require": {
"php": ">=7.4",
"composer/installers": "^1.0 || ^2.0",
"psr/container": "1.0.0"
},
"require-dev": {
"10up/phpcs-composer": "dev-master",
"wpackagist-plugin/woocommerce":"*",
"phpcompatibility/phpcompatibility-wp": "*",
"yoast/phpunit-polyfills": "^1.0",
"brianhenryie/strauss": "^0.14.0"
},
"scripts": {
"lint": "phpcs . -s --runtime-set testVersion 7.4-",
"lint-fix": "phpcbf .",
"test": "phpunit",
"test-single-site": "phpunit -c single-site.xml.dist",
"setup-local-tests": "bash bin/install-wp-tests.sh ep_wp_test root password 127.0.0.1 latest true",
"strauss": [ "vendor/bin/strauss" ],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
]
},
"extra": {
"installer-paths": {
"vendor/{$name}/": ["type:wordpress-plugin", "type:wordpress-theme"]
},
"strauss": {
"target_directory": "vendor-prefixed",
"namespace_prefix": "ElasticPress\\Vendor_Prefixed\\",
"classmap_prefix": "ElasticPress_Vendor_Prefixed_",
"constant_prefix": "EP_VENDOR_"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}