-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
87 lines (87 loc) · 3.01 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "felixarntz/ai-services",
"description": "Makes AI centrally available in WordPress, whether via PHP, REST API, JavaScript, or WP-CLI - for any provider.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"plugin",
"ai",
"text generation",
"image generation",
"function calling",
"multimodal"
],
"homepage": "https://wordpress.org/plugins/ai-services/",
"require": {
"composer/installers": "~1.0",
"felixarntz/wp-oop-plugin-lib": "dev-main",
"guzzlehttp/guzzle": "^7.9",
"psr/http-message": "^2.0",
"php": ">=7.2"
},
"config": {
"platform": {
"php": "7.2.34"
},
"allow-plugins": {
"composer/installers": true
}
},
"autoload": {
"psr-4": {
"Felix_Arntz\\AI_Services\\": "includes/"
}
},
"autoload-dev": {
"psr-4": {
"Felix_Arntz\\AI_Services\\PHPUnit\\Includes\\": "tests/phpunit/includes"
}
},
"scripts": {
"autoload-includes": [
"echo '{ \"autoload\": { \"classmap\": [\"\"] } }' > includes/composer.json",
"@composer --working-dir=includes dump-autoload --classmap-authoritative --no-interaction",
"cp includes/vendor/composer/autoload_classmap.php includes/",
"rm -rf includes/vendor && rm includes/composer.json",
"mkdir -p includes/vendor/composer && mv includes/autoload_classmap.php includes/vendor/composer/"
],
"autoload-third-party": [
"echo '{ \"autoload\": { \"classmap\": [\"\"] } }' > third-party/composer.json",
"@composer --working-dir=third-party dump-autoload --classmap-authoritative --no-interaction",
"cp third-party/vendor/composer/autoload_classmap.php third-party/",
"rm -rf third-party/vendor && rm third-party/composer.json",
"mkdir -p third-party/vendor/composer && mv third-party/autoload_classmap.php third-party/vendor/composer/"
],
"format": [
"composer --working-dir=php-tools/lint update",
"php-tools/lint/vendor/bin/phpcbf --standard=phpcs.xml.dist"
],
"lint": [
"composer --working-dir=php-tools/lint update",
"php-tools/lint/vendor/bin/phpcs --standard=phpcs.xml.dist"
],
"phpmd": [
"composer --working-dir=php-tools/lint update",
"php-tools/lint/vendor/bin/phpmd . text phpmd.xml"
],
"phpstan": [
"composer --working-dir=php-tools/lint update",
"php-tools/lint/vendor/bin/phpstan analyse --memory-limit=2048M"
],
"prefix-dependencies": [
"composer --working-dir=php-tools/prefix update",
"php-tools/prefix/vendor/bin/php-scoper add --output-dir=./third-party --force --quiet",
"@autoload-includes",
"@autoload-third-party"
],
"test": [
"composer --working-dir=php-tools/test update",
"php-tools/test/vendor/bin/phpunit -c phpunit.xml.dist --verbose"
],
"test-multisite": [
"composer --working-dir=php-tools/test update",
"WP_MULTISITE=1 php-tools/test/vendor/bin/phpunit -c phpunit.xml.dist --exclude-group=ms-excluded --verbose"
]
}
}