-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathcomposer.json
More file actions
57 lines (57 loc) · 2.13 KB
/
Copy pathcomposer.json
File metadata and controls
57 lines (57 loc) · 2.13 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
{
"name": "automattic/custom-metadata",
"description": "An easy way to add custom fields to your object types (posts, pages, custom post types, users, comments).",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"custom fields",
"metadata",
"meta boxes"
],
"authors": [
{
"name": "Automattic",
"homepage": "https://automattic.com/"
},
{
"name": "Contributors",
"homepage": "https://github.com/Automattic/custom-metadata/graphs/contributors"
}
],
"homepage": "https://github.com/Automattic/custom-metadata/",
"support": {
"issues": "https://github.com/Automattic/custom-metadata/issues",
"source": "https://github.com/Automattic/custom-metadata"
},
"require": {
"php": ">=7.4",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"yoast/wp-test-utils": "^1.2"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"scripts": {
"coverage": "wp-env run tests-cli --env-cwd=wp-content/plugins/custom-metadata ./vendor/bin/phpunit --testsuite integration --coverage-html coverage",
"cs": "@php ./vendor/bin/phpcs",
"cs-fix": "@php ./vendor/bin/phpcbf",
"i18n": "wp i18n make-pot . languages/custom-metadata.pot --slug=custom-metadata --domain=custom-metadata --exclude=vendor,node_modules,tests",
"lint": "@php ./vendor/bin/parallel-lint --exclude vendor --exclude node_modules .",
"lint-ci": "@php ./vendor/bin/parallel-lint --exclude vendor --exclude node_modules --checkstyle .",
"test:integration": "wp-env run tests-cli --env-cwd=wp-content/plugins/custom-metadata ./vendor/bin/phpunit --testsuite integration",
"test:integration-ms": "wp-env run tests-cli --env-cwd=wp-content/plugins/custom-metadata /bin/bash -c 'WP_MULTISITE=1 ./vendor/bin/phpunit --testsuite integration'",
"test:unit": "@php ./vendor/bin/phpunit --testsuite unit"
}
}