-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
86 lines (86 loc) · 2.67 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
77
78
79
80
81
82
83
84
85
86
{
"name": "cookiex-io/wp-client",
"description": "Cookie consent management platform (CMP) designed to simplify compliance with privacy regulations",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Manoj Kumar",
"email": "[email protected]",
"homepage": "https://cookiex.io"
}
],
"require-dev": {
"composer/installers": "^v2",
"phpstan/phpstan": "^1.11.9",
"php-stubs/acf-pro-stubs": "^6",
"szepeviktor/phpstan-wordpress": "^1.1",
"phpstan/extension-installer": "^1.1",
"yoast/phpunit-polyfills": "^1.0",
"php-stubs/wp-cli-stubs": "^2",
"wp-cli/wp-cli": "^2",
"wp-coding-standards/wpcs": "^3.1"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Cookiex_CMP\\": "src/"
}
},
"scripts": {
"post-create-project-cmd": [
"composer exec -- wp setup"
],
"strauss": [
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/latest/download/strauss.phar",
"@php bin/strauss.phar"
],
"post-install-cmd": [
"@strauss"
],
"post-update-cmd": [
"@strauss"
],
"phpstan": "@php ./vendor/bin/phpstan analyse",
"phpstan:ci": "@php ./vendor/bin/phpstan analyse --error-format=checkstyle | cs2pr",
"phpcs": "@php ./vendor/bin/phpcs --report-full",
"phpcs:ci": "@phpcs --report-checkstyle=./phpcs-report.xml",
"phpcbf": "@php ./vendor/bin/phpcbf"
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}/": [
"type:wordpress-plugin"
]
},
"strauss": {
"target_directory": "vendor/vendor-prefixed",
"namespace_prefix": "Cookiex_CMP\\Dependencies\\",
"classmap_prefix": "Cookiex_CMP",
"constant_prefix": "COOKIEX_CMP",
"exclude_from_copy": {
"packages": [
"timber/timber",
"twig/twig"
]
},
"exclude_from_prefix": {
"packages": [
"timber/timber",
"twig/twig"
]
},
"delete_vendor_files": true
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=8.0"
}
}