forked from polylang/polylang
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
85 lines (85 loc) · 2.57 KB
/
composer.json
File metadata and controls
85 lines (85 loc) · 2.57 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
{
"name": "wpsyntex/polylang",
"description": "Making WordPress multilingual.",
"license": "GPL-3.0-or-later",
"homepage": "https://polylang.pro",
"type": "wordpress-plugin",
"require": {
"php": ">=7.2"
},
"require-dev": {
"wpsyntex/polylang-phpstan": "^1.2",
"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",
"rector/rector": "^1.1",
"wpsyntex/wp-phpunit": "dev-master"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"admin/",
"frontend/",
"include/",
"integrations/",
"install/",
"modules/",
"settings/"
]
},
"autoload-dev": {
"classmap": [
"tests/phpunit/"
]
},
"scripts": {
"install-suite": "bash vendor/wpsyntex/wp-phpunit/bin/install-wp-suite.sh",
"install-suite-with-db": "bash vendor/wpsyntex/wp-phpunit/bin/install-wp-suite.sh latest true",
"install-plugins": "bash tests/bin/install-plugins.sh",
"install-tests": [
"@install-suite",
"@install-plugins"
],
"install-tests-with-db": [
"@install-suite-with-db",
"@install-plugins"
],
"test":"vendor/bin/phpunit",
"cs":"vendor/bin/phpcs",
"cs-fix": "vendor/bin/phpcbf",
"stan": "vendor/bin/phpstan analyze --memory-limit=1500M",
"rector-dry": "vendor/bin/rector process --dry-run",
"lint": [
"@cs",
"@stan",
"@rector-dry"
],
"rector": "vendor/bin/rector process",
"build": "bin/build.sh",
"dist": "bin/distribute.sh"
},
"scripts-descriptions": {
"install-suite": "Installs the WordPress tests suite (without installing the database).",
"install-suite-with-db": "Installs the WordPress tests suite (with database creation).",
"install-plugins": "Installs dependencies needed for integration tests.",
"install-tests": "Installs both the WordPress tests suite (without installing the database) and the dependencies needed for integration tests.",
"install-tests-with-db": "Installs both the WordPress tests suite (with database creation) and the dependencies needed for integration tests, without creating the database.",
"test":"Runs PHPUnit tests.",
"cs":"Runs PHPCS linter.",
"stan": "Runs PHPStan analysis.",
"rector-dry": "Runs a preview of Rector.",
"lint": "Runs both PHPCS and PHPStan.",
"rector": "Runs Rector.",
"build": "Builds the project.",
"dist": "Make the zip file to distribute the project release."
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}