-
Notifications
You must be signed in to change notification settings - Fork 11
/
composer.json
28 lines (28 loc) · 988 Bytes
/
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
{
"name": "amnestywebsite/humanity-theme",
"type": "project",
"license": "none",
"minimum-stability": "stable",
"require-dev": {
"bigbite/phpcs-config": "v2.0.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint": "./vendor/bin/phpcs wp-content/themes/humanity-theme",
"makePot": "wp i18n make-pot wp-content/themes/humanity-theme wp-content/themes/humanity-theme/languages/amnesty.pot --domain=amnesty --exclude=private",
"updatePoMo": [
"wp i18n update-po wp-content/themes/humanity-theme/languages/amnesty.pot",
"wp i18n make-mo wp-content/themes/humanity-theme/languages",
"wp i18n make-json wp-content/themes/humanity-theme/languages --no-purge"
]
},
"scripts-descriptions": {
"lint": "Runs PHP coding standard checks",
"makePot": "Re-generates the POT language file",
"UpdatePoMo": "Updates PO, MO, and JSON translation files"
}
}