forked from johnbillion/extended-cpts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
76 lines (76 loc) · 1.98 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
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
{
"name": "johnbillion/extended-cpts",
"description": "A library which provides extended functionality to WordPress custom post types and taxonomies.",
"homepage": "https://github.com/johnbillion/extended-cpts/",
"license": "GPL-2.0+",
"authors": [
{
"name": "John Blackbourn",
"homepage": "https://johnblackbourn.com/"
}
],
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"wordpress-install-dir": "tests/wordpress"
},
"require": {
"php": ">= 7.4.0",
"johnbillion/args": "^1.4.1"
},
"require-dev": {
"automattic/phpcs-neutron-standard": "1.7.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"johnbillion/falsey-assertequals-detector": "*",
"lucatume/wp-browser": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9",
"roots/wordpress-core-installer": "^1.0.0",
"roots/wordpress-full": "~6.1.0",
"szepeviktor/phpstan-wordpress": "1.1.6",
"vlucas/phpdotenv": "^3",
"wp-cli/core-command": "^2",
"wp-cli/db-command": "^2",
"wp-coding-standards/wpcs": "2.3.0"
},
"scripts": {
"post-update-cmd": [
"@php -r \"! file_exists( 'tests/.env' ) && copy( 'tests/.env.dist', 'tests/.env' );\""
],
"test:cs": [
"phpcs -nps --colors --report-code --report-summary --report-width=80 --cache=tests/cache/phpcs --basepath='./' ."
],
"test:analyze": [
"phpstan analyze --memory-limit=1024M"
],
"test:integration": [
"codecept run integration"
],
"test": [
"@test:cs",
"@test:analyze",
"@test:integration"
]
},
"autoload": {
"psr-4": {
"ExtCPTs\\": "src",
"ExtCPTs\\Tests\\": "tests/integration"
},
"files": [
"functions.php"
]
},
"suggest": {
"seravo/wp-custom-bulk-actions": "Custom Bulk Actions",
"wpackagist-plugin/rewrite-testing": "Rewrite Rule Testing"
}
}