-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
83 lines (83 loc) · 3 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
{
"name": "publishpress/publishpress-permissions",
"type": "wordpress-plugin",
"description": "WordPress plugin: control permissions for publishing workflow and presentation",
"homepage": "https://publishpress.com/",
"license": "GPL-2",
"authors": [
{
"name": "PublishPress",
"email": "[email protected]",
"homepage": "https://publishpress.com",
"role": "Developer"
},
{
"name": "Kevin Behrens",
"email": "[email protected]",
"homepage": "https://agapetry.net",
"role": "Lead 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",
"get:version": "ppbuild version",
"gen:mo": "wp i18n make-mo ./languages ./languages --allow-root",
"gen:pot": "wp i18n make-pot . languages/press-permit-core.pot --domain=press-permit-core --exclude=dev-workspace,.wordpress-org,.github,dist,tests,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 ./press-permit-core.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",
"term": "cd dev-workspace && ./run"
},
"extra": {
"plugin-slug": "press-permit-core",
"plugin-name": "publishpress-permissions",
"plugin-folder": "press-permit-core"
}
}