-
Notifications
You must be signed in to change notification settings - Fork 35
/
composer.json
117 lines (117 loc) · 3.67 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "yoast/duplicate-post",
"description": "The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"post",
"copy",
"clone"
],
"authors": [
{
"name": "Enrico Battocchi & Team Yoast",
"email": "support@yoast.com",
"homepage": "https://yoast.com"
}
],
"homepage": "https://wordpress.org/plugins/duplicate-post/",
"support": {
"issues": "https://github.com/Yoast/duplicate-post/issues",
"forum": "https://wordpress.org/support/plugin/duplicate-post",
"source": "https://github.com/Yoast/duplicate-post",
"security": "https://yoast.com/security-program/"
},
"require": {
"php": "^7.2.5 || ^8.0",
"composer/installers": "^1.12.0 || ^2.0"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"yoast/wp-test-utils": "^1.2.0",
"yoast/yoastcs": "^3.1.0"
},
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"classmap": [
"config/"
],
"psr-4": {
"Yoast\\WP\\Duplicate_Post\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
},
"classmap-authoritative": true
},
"scripts": {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
],
"cs": [
"Yoast\\WP\\Duplicate_Post\\Config\\Composer\\Actions::check_coding_standards"
],
"check-cs-thresholds": [
"@putenv YOASTCS_THRESHOLD_ERRORS=65",
"@putenv YOASTCS_THRESHOLD_WARNINGS=0",
"Yoast\\WP\\Duplicate_Post\\Config\\Composer\\Actions::check_cs_thresholds"
],
"check-cs": [
"@check-cs-warnings -n"
],
"check-cs-warnings": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
],
"check-staged-cs": [
"@check-cs-warnings --filter=GitStaged"
],
"check-branch-cs": [
"Yoast\\WP\\Duplicate_Post\\Config\\Composer\\Actions::check_branch_cs"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit --no-coverage"
],
"coverage": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"test-wp": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit-wp.xml.dist --no-coverage"
],
"coverage-wp": [
"@php ./vendor/phpunit/phpunit/phpunit -c phpunit-wp.xml.dist"
],
"integration-test": [
"@test-wp"
],
"integration-coverage": [
"@coverage-wp"
]
},
"scripts-descriptions": {
"lint": "Check the PHP files for parse errors.",
"cs": "See a menu with the code style checking script options.",
"check-cs-thresholds": "Check the PHP files for code style violations and best practices and verify the number of issues does not exceed predefined thresholds.",
"check-cs": "Check the PHP files for code style violations and best practices, ignoring warnings.",
"check-cs-warnings": "Check the PHP files for code style violations and best practices, including warnings.",
"check-staged-cs": "Check the staged PHP files for code style violations and best practices.",
"check-branch-cs": "Check the PHP files changed in the current branch for code style violations and best practices.",
"fix-cs": "Auto-fix code style violations in the PHP files.",
"test": "Run the unit tests without code coverage.",
"coverage": "Run the unit tests with code coverage.",
"test-wp": "Run the WP unit tests without code coverage.",
"coverage-wp": "Run the WP unit tests with code coverage.",
"integration-test": "Deprecated. Alias for the \"test-wp\" script.",
"integration-coverage": "Deprecated. Alias for the \"coverage-wp\" script."
}
}