forked from polylang/polylang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (61 loc) · 1.34 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
{
"name": "wpsyntex/polylang",
"description": "Making WordPress multilingual.",
"license": "GPL-3.0-or-later",
"homepage": "https://polylang.pro",
"type": "wordpress-plugin",
"require": {
"php": ">=7.0"
},
"require-dev": {
"wpsyntex/polylang-phpstan": "^1.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"wp-coding-standards/wpcs": "*",
"automattic/vipwpcs": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"behat/behat": "^3.7|^3.8",
"yoast/wp-test-utils": "^1.0.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"admin/",
"frontend/",
"include/",
"integrations/",
"install/",
"modules/",
"settings/"
]
},
"autoload-dev": {
"classmap": [
"tests/phpunit/"
]
},
"scripts": {
"test":"vendor/bin/phpunit",
"cs":"vendor/bin/phpcs",
"stan": "vendor/bin/phpstan analyze --memory-limit=1500M",
"lint": [
"@cs",
"@stan"
],
"build": "bin/build.sh",
"dist": "bin/distribute.sh"
},
"scripts-descriptions": {
"test":"Runs PHPUnit tests.",
"cs":"Runs PHPCS linter.",
"stan": "Runs PHPStan analysis.",
"lint": "Runs both PHPCS and PHPStan.",
"build": "Builds the project.",
"dist": "Make the zip file to distibute the project release."
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}