-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
38 lines (38 loc) · 1.52 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
{
"name": "automattic/vip-workflow",
"description": "WordPress plugin to add additional editorial workflow capabilities to WordPress.",
"type": "wordpress-plugin",
"license": "GPL-3.0+",
"support": {
"issues": "https://github.com/Automattic/vip-workflow-plugin/issues",
"source": "https://github.com/Automattic/vip-workflow-plugin"
},
"require": {
"composer/installers": "~1.0",
"php": ">=8.1"
},
"require-dev": {
"phpcompatibility/phpcompatibility-wp": "2.1.4",
"phpunit/phpunit": "9.6.13",
"yoast/phpunit-polyfills": "^3.0",
"automattic/vipwpcs": "^3.0",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"wp-phpunit/wp-phpunit": "^6.6"
},
"scripts": {
"cs": "@php ./vendor/bin/phpcs -p -s -v -n . --standard=\"phpcs.xml.dist\" --extensions=php --ignore=\"/vendor/*,/node_modules/*\"",
"cbf": "@php ./vendor/bin/phpcbf -p -s -v -n . --standard=\"phpcs.xml.dist\" --extensions=php --ignore=\"/vendor/*,/node_modules/*\"",
"test": "wp-env run tests-cli --env-cwd=wp-content/plugins/vip-workflow-plugin ./vendor/bin/phpunit -c phpunit.xml.dist",
"test-multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/vip-workflow-plugin /bin/bash -c 'WP_MULTISITE=1 ./vendor/bin/phpunit'",
"test-watch": [
"Composer\\Config::disableProcessTimeout",
"nodemon -w ./ --ignore vendor/ -e php --exec 'composer run test'"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}