-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
56 lines (56 loc) · 2.05 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
{
"name": "publishpress/publishpress-capabilities",
"type": "wordpress-plugin",
"description": "",
"license": "GPL-2",
"authors": [
{
"name": "PublishPress",
"email": "[email protected]"
}
],
"config": {
"preferred-install": {
"*": "dist"
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=7.2.5"
},
"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/capability-manager-enhanced.pot --domain=capability-manager-enhanced --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 ./capability-manager-enhanced.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-name": "publishpress-capabilities",
"plugin-slug": "capsman-enhanced",
"plugin-folder": "capability-manager-enhanced"
}
}