-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
46 lines (46 loc) · 1.61 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
{
"name": "industrialdev/wicket-wp-account-centre",
"description": "Wicket's Account Centre for WordPress",
"version": "1.5.123",
"keywords": [
"wordpress",
"wicket",
"account",
"centre"
],
"license": "GPL-2.0-or-later",
"homepage": "https://wicket.io",
"authors": [
{
"name": "Wicket Inc.",
"homepage": "https://wicket.io"
}
],
"type": "wordpress-plugin",
"require": {
"php": ">=8.1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64"
},
"scripts": {
"post-install-cmd": [
"@php -r \"if (getenv('COMPOSER_DEV_MODE') === '0') { system('rm -rf ./.ci'); }\"",
"@php -r \"if (PHP_OS_FAMILY === 'Darwin' || PHP_OS_FAMILY === 'Linux') { system('./.ci/install-hooks.sh'); } else { system('./.ci/install-hooks.bat'); }\""
],
"post-update-cmd": [
"@php -r \"if (getenv('COMPOSER_DEV_MODE') === '0') { system('rm -rf ./.ci'); }\"",
"@php -r \"if (PHP_OS_FAMILY === 'Darwin' || PHP_OS_FAMILY === 'Linux') { system('./.ci/install-hooks.sh'); } else { system('./.ci/install-hooks.bat'); }\""
],
"version-bump": [
"@php ./.ci/version-bump.php",
"@cs:fix"
],
"cs:fix": "@php -r \"system(PHP_OS_FAMILY === 'Windows' ? './.ci/php.exe ./.ci/php-cs-fixer.phar fix' : (PHP_OS_FAMILY === 'Darwin' ? './.ci/php-macos ./.ci/php-cs-fixer.phar fix' : './.ci/php-linux ./.ci/php-cs-fixer.phar fix'));\""
},
"config": {
"platform": {
"php": "8.1.0"
}
}
}