-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathcomposer.json
More file actions
95 lines (95 loc) · 2.86 KB
/
Copy pathcomposer.json
File metadata and controls
95 lines (95 loc) · 2.86 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
90
91
92
93
94
95
{
"name": "10up/classifai",
"description": "Enhance your WordPress content with Artificial Intelligence and Machine Learning services.",
"authors": [
{
"name": "10up",
"email": "info@10up.com"
}
],
"type": "wordpress-plugin",
"license": "GPLv2",
"require": {
"aws/aws-sdk-php": "3.337.3",
"php": ">=7.4",
"woocommerce/action-scheduler": "3.9.3",
"yahnis-elsts/plugin-update-checker": "5.7"
},
"autoload": {
"psr-4": {
"Classifai\\": "includes/Classifai/"
},
"files": [
"includes/Classifai/Helpers.php",
"includes/Classifai/Providers/Watson/Helpers.php"
]
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.2.1",
"johnbillion/wp-compat": "^1.4.0",
"php-stubs/wp-cli-stubs": "^2.12",
"phpcompatibility/phpcompatibility-wp": "^3.0@dev",
"phpstan/extension-installer": "^1.3",
"phpstan/php-8-stubs": "^0.4.35",
"phpstan/phpstan-deprecation-rules": "^2.0.4",
"phpstan/phpstan-phpunit": "^2.0.16",
"phpstan/phpstan": "^2.1.55",
"sirbrillig/phpcs-changed": "^2.12.0",
"szepeviktor/phpstan-wordpress": "^2.0.3",
"wp-coding-standards/wpcs": "^3.3.0",
"wp-phpunit/wp-phpunit": "^7.0",
"yoast/phpunit-polyfills": "^4.0"
},
"scripts": {
"lint": "phpcs -s . --runtime-set testVersion 7.4-",
"lint-fix": "phpcbf .",
"phpstan": "phpstan analyse --memory-limit=2048M -v",
"pre-autoload-dump": "Aws\\Script\\Composer\\Composer::removeUnusedServices",
"prefix-namespaces": [
"sh -c 'test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar'",
"php -d memory_limit=2048M -d max_execution_time=300 bin/strauss.phar",
"@composer dump-autoload"
],
"post-install-cmd": [
"@prefix-namespaces"
],
"post-update-cmd": [
"@prefix-namespaces"
]
},
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"audit": {
"ignore": {
"PKSA-dxyf-6n16-t87m": "Latest version of aws/aws-sdk-php that we can use as newer versions drop support for PHP 7.4",
"PKSA-4t1p-xpk2-nsss": "Latest version of php-stubs/wp-cli-stubs that we can use as newer versions drop support for PHP 7.4"
}
}
},
"archive": {
"exclude": [
"!/vendor/",
"!/vendor-prefixed/"
]
},
"extra": {
"aws/aws-sdk-php": [
"Polly"
],
"strauss": {
"target_directory": "vendor-prefixed",
"namespace_prefix": "ClassifaiVendor\\",
"classmap_prefix": "ClassifaiVendor_",
"packages": [
"aws/aws-sdk-php"
],
"delete_vendor_packages": true,
"update_call_sites": false
}
}
}