-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
38 lines (38 loc) · 1.12 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
{
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"automattic/jetpack-autoloader": true
},
"wp-slug": "pronamic-cloudflare"
},
"autoload": {
"psr-4": {
"Pronamic\\WordPressCloudflare\\": "php/"
}
},
"require": {
"woocommerce/action-scheduler": "^3.7",
"pronamic/wp-html": "^2.2",
"automattic/jetpack-autoloader": "^3.0"
},
"require-dev": {
"pronamic/wp-coding-standards": "^1.2",
"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=pronamic-cloudflare",
"vendor/bin/wp dist-archive ./build/stage-2/ --plugin-dirname=pronamic-cloudflare"
]
}
}