forked from tectalic/CopyCraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
40 lines (40 loc) · 1.1 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
{
"name": "om4/copycraft",
"require": {
"php": ">=7.4",
"league/container": "^4.2",
"tectalic/openai": "^1.3.0",
"art4/requests-psr18-adapter": "^1.0"
},
"autoload": {
"psr-4": {
"OM4\\CopyCraft\\": "includes/"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.1",
"szepeviktor/phpstan-wordpress": "^1.1",
"phpstan/extension-installer": "^1.2",
"php-stubs/woocommerce-stubs": "^7.2"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"makepot": "wp i18n make-pot . languages/copycraft.pot",
"test:static": "vendor/bin/phpstan analyse --memory-limit=1G",
"test:style": "vendor/bin/phpcs -p -s .",
"test:style:fix": [
"vendor/bin/phpcbf -p -s . || true",
"@test:style"
]
}
}