-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
86 lines (86 loc) · 3.44 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "publishpress/publishpress-statuses",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"description": "",
"authors": [
{
"name": "PublishPress",
"email": "[email protected]",
"homepage": "https://publishpress.com",
"role": "Developer"
}
],
"config": {
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"prefer-stable": true,
"minimum-stability": "stable",
"require": {
"php": ">=7.2.5",
"ext-json": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"phpcompatibility/php-compatibility": "^9.3",
"wp-coding-standards/wpcs": "^2.3",
"squizlabs/php_codesniffer": "^3.5",
"overtrue/phplint": "^2.1",
"wp-cli/i18n-command": "^2.2",
"friendsofphp/php-cs-fixer": "^3.4",
"automattic/vipwpcs": "^2.3",
"publishpress/publishpress-phpcs-standards": "dev-main",
"szepeviktor/phpstan-wordpress": "^1.1",
"phpstan/extension-installer": "^1.2"
},
"scripts": {
"build": "ppbuild build",
"build:dir": "ppbuild build-dir",
"build:clean": "ppbuild clean",
"build:web": [
"@build:dir",
"rsync -av --delete /project/dist/publishpress-statuses/ /project/dev-workspace/cache/html/wp-content/plugins/publishpress-statuses/"
],
"get:version": "ppbuild version",
"gen:mo": "wp i18n make-mo ./languages ./languages --allow-root",
"gen:pot": "wp i18n make-pot . languages/publishpress-statuses.pot --domain=publishpress-statuses --exclude=dev-workspace,.wordpress-org,.github,dist,tests,lib,language,vendor --allow-root",
"check:longpath": "longpath .",
"check:lint": "phplint",
"check:phpcs": "phpcs",
"check:php": [
"@check:php56",
"@check:php72",
"@check:php74",
"@check:php80",
"@check:php81",
"@check:php82"
],
"check:php56": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 5.6 ./publishpress-statuses.php",
"check:php72": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 7.2",
"check:php74": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 7.4",
"check:php80": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 8.0",
"check:php81": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 8.1",
"check:php82": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 8.2",
"-pre-autoload-dump": "composer dumpautoload --working-dir=./lib",
"-pre-update-cmd": "composer update --working-dir=./lib",
"-pre-install-cmd": "composer install --working-dir=./lib",
"web:start": "cd dev-workspace && ./web",
"web:stop": "cd dev-workspace/docker && docker compose down web db",
"web:restart": [
"@web:stop",
"@web:start"
],
"term": "cd dev-workspace && ./run"
},
"extra": {
"plugin-slug": "publishpress-statuses",
"plugin-name": "publishpress-statuses",
"plugin-folder": "publishpress-statuses"
}
}