-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
30 lines (30 loc) · 799 Bytes
/
composer.json
File metadata and controls
30 lines (30 loc) · 799 Bytes
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
{
"name": "troychaplin/validation-api",
"description": "A framework for registering block, meta, and editor validation checks in the WordPress block editor.",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"autoload": {
"psr-4": {
"ValidationAPI\\": "includes/"
}
},
"require-dev": {
"wp-coding-standards/wpcs": "3.3.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"format": "phpcbf",
"lint": "phpcs",
"post-install-cmd": [
"@fix-vendor-test-files"
],
"post-update-cmd": [
"@fix-vendor-test-files"
],
"fix-vendor-test-files": "find vendor/squizlabs/php_codesniffer/tests -name '*.php' -exec sed -i '' 's/namespace \\([^.]*\\)\\\\.\\([^;]*\\);/namespace \\1.\\2;/g' {} \\;"
}
}