-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
77 lines (77 loc) · 1.83 KB
/
Copy pathcomposer.json
File metadata and controls
77 lines (77 loc) · 1.83 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "wpify/custom-fields",
"description": "WPify Custom Fields",
"type": "library",
"license": "GPL-3.0-or-later",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"autoload": {
"psr-4": {
"Wpify\\CustomFields\\": "src/"
},
"files": [
"custom-fields.php"
]
},
"autoload-dev": {
"psr-4": {
"Wpify\\CustomFields\\Tests\\": "tests/php/"
}
},
"config": {
"platform": {
"php": "8.1"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"composer/installers": true
}
},
"extra": {
"wordpress-install-dir": "vendor/wordpress",
"installer-paths": {
"vendor/wordpress/wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
]
}
},
"scripts": {
"phpcs": "phpcs -ps .",
"phpcbf": "phpcbf -ps .",
"test": "WP_MULTISITE=1 phpunit --testsuite core",
"test:wc": "WPCF_WITH_WOOCOMMERCE=1 phpunit --testsuite woocommerce",
"test:all": [
"@test",
"@test:wc"
],
"post-autoload-dump": [
"cp -f .githooks/* .git/hooks/ 2>/dev/null || true"
]
},
"require": {
"php": "^8.1",
"ext-json": "*"
},
"require-dev": {
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"phpcompatibility/phpcompatibility-wp": "*",
"squizlabs/php_codesniffer": "^3.10",
"phpunit/phpunit": "^9.6",
"yoast/phpunit-polyfills": "^2.0",
"wp-phpunit/wp-phpunit": "^6.7",
"roots/wordpress-no-content": "^6.7",
"roots/wordpress-core-installer": "^1.100",
"composer/installers": "^2.2",
"wpackagist-plugin/woocommerce": "^9.0"
}
}