-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathcomposer.json
More file actions
62 lines (62 loc) · 1.72 KB
/
composer.json
File metadata and controls
62 lines (62 loc) · 1.72 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
{
"name": "wordpress/ai",
"description": "AI features, experiments and capabilities for WordPress.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"ext-json": "*",
"php": ">=7.4"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"phpcompatibility/phpcompatibility-wp": "^3.0.0-alpha",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^2.0.4",
"phpstan/phpstan-phpunit": "^2.0.16",
"phpstan/phpstan": "^2.1.40",
"phpunit/phpunit": "^8.5|^9.6",
"slevomat/coding-standard": "^8.0",
"szepeviktor/phpstan-wordpress": "^2.0.2",
"wp-coding-standards/wpcs": "^3.2.0",
"wp-phpunit/wp-phpunit": "^6.9",
"yoast/phpunit-polyfills": "^4.0"
},
"autoload": {
"psr-4": {
"WordPress\\AI\\": "includes/"
},
"files": [
"includes/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"WordPress\\AI\\Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"platform": {
"php": "7.4"
}
},
"scripts": {
"format": "phpcbf --standard=phpcs.xml.dist",
"lint": "phpcs --standard=phpcs.xml.dist",
"phpstan": "phpstan analyse --memory-limit=1G",
"test": "phpunit --strict-coverage"
},
"scripts-descriptions": {
"format": "Automatically fix coding standards issues",
"lint": "Check coding standards compliance",
"phpstan": "Run static analysis with PHPStan",
"test": "Run PHPUnit tests"
}
}