-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
48 lines (48 loc) · 1.48 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
{
"name": "pronamic/wp-orbis-subscriptions",
"description": "The Orbis Subscriptions plugin extends your Orbis environment with the option to add subscription products and subscriptions.",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"autoload": {
"psr-4": {
"Pronamic\\Orbis\\Subscriptions\\": "classes/"
}
},
"config": {
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"wp-slug": "orbis-subscriptions"
},
"require": {
"automattic/jetpack-autoloader": "^3.0",
"pronamic/wp-money": "^2.4",
"woocommerce/action-scheduler": "^3.7"
},
"require-dev": {
"pronamic/wp-coding-standards": "^2.1",
"pronamic/pronamic-cli": "^1.1"
},
"scripts": {
"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/wp i18n make-pot ./build/stage-2/ --slug=orbis-subscriptions",
"vendor/bin/wp dist-archive ./build/stage-2/ --plugin-dirname=orbis-subscriptions"
],
"translate": [
"@build",
"rsync --recursive --delete --verbose ./build/stage-2/languages/ ./languages/"
],
"phpcs": "vendor/bin/phpcs",
"qa": [
"@phpcs"
]
}
}