-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
71 lines (71 loc) · 2.16 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
{
"name": "pronamic/pronamic-pay-doneren-met-mollie",
"description": "Pronamic Pay plugin with Mollie.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"config": {
"allow-plugins": {
"composer/installers": true,
"automattic/jetpack-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
},
"platform": {
"php": "8.1"
},
"platform-check": false,
"sort-packages": true,
"wp-slug": "pronamic-pay-doneren-met-mollie"
},
"extra": {
"installer-paths": {
"packages/{$vendor}/{$name}": [
"vendor:pronamic",
"vendor:wp-pay",
"vendor:wp-pay-extensions",
"vendor:wp-pay-gateways",
"woocommerce/action-scheduler"
]
}
},
"require": {
"php": ">=8.1",
"automattic/jetpack-autoloader": "^3.0",
"composer/installers": "^2.2",
"woocommerce/action-scheduler": "^3.8",
"wp-pay-gateways/mollie": "^4.12",
"wp-pay/core": "^4.20"
},
"require-dev": {
"pronamic/pronamic-cli": "^1.1",
"pronamic/wp-coding-standards": "^2.2",
"roots/wordpress-no-content": "^6.4",
"wp-cli/wp-cli": "dev-main",
"wp-cli/wp-cli-bundle": "dev-main"
},
"scripts": {
"phpcs": "vendor/bin/phpcs -s -v --ignore=packages,build",
"build": [
"rm -rf ./build",
"mkdir ./build",
"mkdir ./build/stage-1",
"mkdir ./build/stage-2",
"rsync --recursive --verbose --exclude-from=.distignore --exclude-from=.gitignore ./ ./build/stage-1/",
"composer install --no-dev --prefer-dist --optimize-autoloader --working-dir=./build/stage-1/",
"rsync --recursive --verbose --exclude-from=.distignore ./build/stage-1/ ./build/stage-2/",
"vendor/bin/phpcbf -s -v --standard=phpcs-text-domain-fixer.xml ./build/stage-2/ || true",
"vendor/bin/wp i18n make-pot ./build/stage-2/ --slug=pronamic-pay-doneren-met-mollie",
"vendor/bin/wp dist-archive ./build/stage-2/ --plugin-dirname=pronamic-pay-doneren-met-mollie"
],
"translate": [
"@build",
"rsync --recursive --delete --verbose ./build/stage-2/languages/ ./languages/"
],
"version": "@build",
"release": [
"@build",
"vendor/bin/pronamic release-to-github",
"vendor/bin/pronamic release-to-pronamic"
]
}
}