forked from nlemoine/page-for-custom-post-type
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
106 lines (106 loc) · 3.81 KB
/
Copy pathcomposer.json
File metadata and controls
106 lines (106 loc) · 3.81 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "n5s/page-for-custom-post-type",
"description": "Page for custom post types, just like page for posts",
"license": "GPL-3.0-or-later",
"type": "wordpress-plugin",
"keywords": [
"wordpress",
"custom post type",
"custom post type archive",
"page for custom post type"
],
"authors": [
{
"name": "Nicolas Lemoine",
"email": "nico@n5s.dev",
"homepage": "https://n5s.dev/"
}
],
"homepage": "https://github.com/nlemoine/page-for-custom-post-type",
"support": {
"issues": "https://github.com/nlemoine/page-for-custom-post-type/issues",
"source": "https://github.com/nlemoine/page-for-custom-post-type",
"changelog": "https://github.com/nlemoine/page-for-custom-post-type/releases"
},
"require": {
"php": "^8.2",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.48",
"mantle-framework/testkit": "^1.17",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"slevomat/coding-standard": "^8.22",
"syde/phpcs": "^1.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"wp-plugin/advanced-custom-fields": "^6",
"wp-plugin/autodescription": "^5.1",
"wp-plugin/polylang": "^3.4",
"wp-plugin/wordpress-seo": "^26 || ^27",
"wp-cli/wp-cli": "^2.12",
"wp-cli/i18n-command": "^2.7"
},
"repositories": [
{
"name": "wp-packages",
"type": "composer",
"url": "https://repo.wp-packages.org",
"only": [
"wp-plugin/*",
"wp-theme/*"
]
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"n5s\\PageForCustomPostType\\": "src/"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"n5s\\PageForCustomPostType\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"alleyinteractive/composer-wordpress-autoloader": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true,
"roots/wordpress-core-installer": true
}
},
"scripts": {
"analyse": [
"phpstan analyse"
],
"cs": "phpcs",
"cs:fix": "phpcbf",
"i18n:json": "wp i18n make-json languages --no-purge --pretty-print",
"i18n:pot": "wp i18n make-pot . languages/pfcpt.pot --domain=pfcpt --slug=pfcpt --exclude=tests,vendor,node_modules,build,tmp,wp-content,docs",
"test": [
"@test:core",
"@test:wordpress-seo",
"@test:polylang",
"@test:wpml",
"@test:autodescription",
"@test:advanced-custom-fields"
],
"test:advanced-custom-fields": "PLUGINS=advanced-custom-fields phpunit --testsuite=unit,integration,plugin-integration",
"test:autodescription": "PLUGINS=autodescription phpunit --testsuite=unit,integration,plugin-integration",
"test:core": "phpunit --testsuite=unit,integration",
"test:coverage": "php -d pcov.enabled=1 phpunit --testsuite=unit,integration --coverage-text",
"test:polylang": "PLUGINS=polylang phpunit --testsuite=unit,integration,plugin-integration",
"test:unit": "phpunit --testsuite=unit",
"test:wordpress-seo": "PLUGINS=wordpress-seo phpunit --testsuite=unit,integration,plugin-integration",
"test:wpml": "PLUGINS=wpml phpunit --testsuite=unit,integration,plugin-integration"
}
}