-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
37 lines (37 loc) · 1.03 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
{
"name": "aivec/response-handler",
"description": "Utilities for creating error object stores, generating error API responses, etc.",
"license": "GPL-2.0",
"authors": [
{
"name": "Evan Shaw",
"email": "[email protected]"
}
],
"require": {
"psr/log": "^1.1"
},
"autoload": {
"psr-4": {
"Aivec\\ResponseHandler\\": "src"
}
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"aivec/phpcs-wp": "^2.0",
"wp-cli/i18n-command": "^2.2"
},
"scripts": {
"lint": "phpcs -ps --standard=AivecWP-8 .",
"lint:fix": "phpcbf -ps --standard=AivecWP-8 .",
"i18n:create-pot": "wp i18n make-pot --domain=aivec-err . src/languages/messages.pot",
"i18n:update-pos": "composer i18n:create-pot && find ./src/languages -name \"*.po\" | xargs -I % msgmerge -o % % src/languages/messages.pot",
"i18n:make-mo": "wp i18n make-mo ./src/languages",
"test": "phpunit tests"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}