-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
37 lines (37 loc) · 1.2 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
{
"name": "automattic/vip-block-data-api",
"description": "A WordPress plugin that provides an API to retrieve Gutenberg content as structured JSON",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"scripts": {
"phpcs": "phpcs",
"phpcs-fix": "phpcbf",
"test": "wp-env run tests-cli --env-cwd=wp-content/plugins/vip-block-data-api ./vendor/bin/phpunit",
"test-multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/vip-block-data-api /bin/bash -c 'WP_MULTISITE=1 ./vendor/bin/phpunit'",
"test-watch": [
"Composer\\Config::disableProcessTimeout",
"nodemon -w ./ --ignore vendor/ -e php --exec 'composer run test'"
]
},
"require": {
"php": ">=8.0",
"masterminds/html5": "^2.8",
"symfony/dom-crawler": "^6.0",
"symfony/css-selector": "^6.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"wp-phpunit/wp-phpunit": "^6.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"automattic/vipwpcs": "^3.0",
"yoast/phpunit-polyfills": "^2.0",
"dms/phpunit-arraysubset-asserts": "^0.5.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"mnsami/composer-custom-directory-installer": false
},
"sort-packages": true
}
}