-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 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
49
50
{
"name": "pronamic/wp-pronamic-post-expiration",
"description": "Easily manage and automate post expiration in WordPress.",
"type": "wordpress-plugin",
"license": "proprietary",
"autoload": {
"psr-4": {
"Pronamic\\WordPressPostExpiration\\": "php/"
}
},
"authors": [
{
"name": "Pronamic",
"email": "[email protected]"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"wp-slug": "pronamic-post-expiration"
},
"require": {
"woocommerce/action-scheduler": "^3.8"
},
"require-dev": {
"pronamic/wp-coding-standards": "^2.2",
"pronamic/pronamic-cli": "^1.1",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.4"
},
"scripts": {
"build": [
"rm -rf ./build",
"mkdir ./build",
"mkdir ./build/stage-1",
"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/",
"vendor/bin/wp i18n make-pot ./build/stage-1/ --slug=pronamic-post-expiration",
"vendor/bin/wp dist-archive ./build/stage-1/ --plugin-dirname=pronamic-post-expiration"
],
"dist-archive": "wp dist-archive . --plugin-dirname=pronamic-post-expiration",
"make-pot": [
"@build",
"rsync --recursive --delete --verbose ./build/stage-1/languages/ ./languages/"
],
"phpstan": "vendor/bin/phpstan analyse --memory-limit=-1"
}
}