Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
89 lines (89 loc) · 2.87 KB
/
Copy pathcomposer.json
File metadata and controls
89 lines (89 loc) · 2.87 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
83
84
85
86
87
88
89
{
"name": "godaddy-wordpress/airo-wp",
"description": "Airo WordPress plugin",
"type": "wordpress-plugin",
"license": "proprietary",
"authors": [
{
"name": "GoDaddy",
"homepage": "https://www.godaddy.com"
}
],
"require": {
"php": ">=7.4",
"ext-json": "*",
"psr/container": "^2.0",
"wordpress/abilities-api": "^0.4.0",
"wordpress/mcp-adapter": "^0.4.1"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"brain/monkey": "^2.6",
"dealerdirect/phpcodesniffer-composer-installer": "^1.2.0",
"mockery/mockery": "^1.5",
"php-stubs/wordpress-stubs": "^6.8",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"wp-coding-standards/wpcs": "^3.0"
},
"autoload": {
"psr-4": {
"GoDaddy\\WordPress\\Plugins\\AiroWp\\": "includes/",
"GoDaddy\\WordPress\\Plugins\\AiroWp\\Dependencies\\Psr\\Container\\": "dependencies/psr/container/src",
"GoDaddy\\WordPress\\Plugins\\AiroWp\\Dependencies\\": "dependencies/"
},
"files": [
"functions/index.php"
]
},
"autoload-dev": {
"psr-4": {
"GoDaddy\\WordPress\\Plugins\\AiroWp\\Tests\\": "tests/"
}
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true,
"platform-check": false
},
"extra": {
"strauss": {
"target_directory": "dependencies",
"namespace_prefix": "GoDaddy\\WordPress\\Plugins\\AiroWp\\Dependencies\\",
"classmap_prefix": "AIRO_WP_",
"update_call_sites": [
"includes",
"functions",
"airo-wp.php"
],
"delete_vendor_packages": true
}
},
"scripts": {
"lint": "phpcs --standard=phpcs.xml",
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
"test": "php -d auto_prepend_file=tests/constants.php vendor/bin/phpunit --colors=always",
"prefix-namespaces": [
"sh -c 'test -f ./bin/strauss.phar || (mkdir -p bin && curl -fsSL -o bin/strauss.phar https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar)'",
"@php bin/strauss.phar",
"@composer dump-autoload"
],
"post-install-cmd": [
"@prefix-namespaces"
],
"post-update-cmd": [
"@prefix-namespaces"
],
"post-autoload-dump": [
"@php -r \"if (file_exists('bin/strauss.phar')) { passthru('php bin/strauss.phar include-autoloader'); }\""
],
"build": [
"@prefix-namespaces"
]
}
}