-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
66 lines (66 loc) · 1.47 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
{
"name": "preseto/block-context",
"description": "WordPress plugin for showing or hiding Gutenberg blocks depending on context.",
"homepage": "https://blockcontext.com",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Kaspars Dambis",
"homepage": "https://preseto.com"
}
],
"support": {
"issues": "https://github.com/preseto/block-context/issues",
"source": "https://github.com/preseto/block-context"
},
"require": {
},
"require-dev": {
"wp-coding-standards/wpcs": "^1.2",
"10up/wp_mock": "^0.3.0",
"wpsh/local": "^0.1.1",
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"Preseto\\BlockContext\\": "php/"
}
},
"autoload-dev": {
"psr-4": {
"Preseto\\BlockContextTests\\": "php/Tests/"
}
},
"config": {
"autoloader-suffix": "PresetoBlockContext"
},
"scripts": {
"build": [
"@composer validate --no-check-publish --strict",
"@composer install --no-dev --prefer-dist --optimize-autoloader --no-scripts"
],
"lint-php": [
"./vendor/bin/phpcs ."
],
"lint": [
"@lint-php"
],
"test-php": [
"./vendor/bin/phpunit"
],
"test": [
"@test-php"
],
"test-report": [
"vendor/bin/php-coveralls -v"
],
"post-install-cmd": [
"npm install"
],
"post-update-cmd": [
"npm install"
]
}
}