-
Notifications
You must be signed in to change notification settings - Fork 135
Expand file tree
/
Copy pathcomposer.json
More file actions
53 lines (53 loc) · 2.2 KB
/
composer.json
File metadata and controls
53 lines (53 loc) · 2.2 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
{
"name": "automattic/edit-flow",
"description": "WordPress plugin to accelerate your editorial workflow.",
"homepage": "http://editflow.org/",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"support": {
"issues": "https://github.com/Automattic/edit-flow/issues",
"forum": "https://wordpress.org/support/plugin/edit-flow",
"source": "https://github.com/Automattic/edit-flow"
},
"require": {
"composer/installers": "^1 || ^2",
"php": ">=7.4"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"exussum12/coverage-checker": "^1.0.0",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.0",
"yoast/wp-test-utils": "^1.2"
},
"scripts": {
"coverage": "@php ./vendor/bin/phpunit --coverage-html ./build/coverage-html",
"coverage-ci": "@php ./vendor/bin/phpunit",
"cs": "@php ./vendor/bin/phpcs -q",
"cs-fix": "@php ./vendor/bin/phpcbf -q",
"i18n": "wp i18n make-pot . ./languages/edit-flow.pot",
"lint": "@php ./vendor/bin/parallel-lint . -e php --exclude vendor --exclude .git",
"lint-ci": "@php ./vendor/bin/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle",
"test:integration": "wp-env run tests-cli --env-cwd=wp-content/plugins/edit-flow ./vendor/bin/phpunit --testsuite integration",
"test:integration-ms": "wp-env run tests-cli --env-cwd=wp-content/plugins/edit-flow /bin/bash -c 'WP_MULTISITE=1 ./vendor/bin/phpunit --testsuite integration'"
},
"scripts-descriptions": {
"coverage": "Run tests with code coverage reporting",
"coverage-ci": "Run tests with code coverage reporting (no HTML output)",
"cs": "Run PHP Code Sniffer",
"cs-fix": "Run PHP Code Sniffer and fix violations",
"i18n": "Generate a POT file for translation",
"lint": "Run PHP linting",
"lint-ci": "Run PHP linting in checkstyle XML format for CI integration",
"test:integration": "Run integration tests",
"test:integration-ms": "Run integration tests in multisite mode"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"lock": false
}
}