-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
33 lines (33 loc) · 1008 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
29
30
31
32
33
{
"name": "amnestywebsite/humanity-petitions",
"type": "project",
"license": "none",
"minimum-stability": "stable",
"require-dev": {
"bigbite/phpcs-config": "v2.0.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lang": [
"@makePot",
"@updatePoMo"
],
"lint": "./vendor/bin/phpcs .",
"makePot": "wp i18n make-pot . ./languages/aip.pot --domain=aip --exclude=private,vendor",
"updatePoMo": [
"wp i18n update-po ./languages/aip.pot",
"wp i18n make-mo ./languages",
"wp i18n make-json ./languages --no-purge"
]
},
"scripts-descriptions": {
"lang": "Updates the POT file; updates PO files; recompiles MO files; extracts JS strings to JSON files",
"lint": "Runs PHP coding standard checks",
"makePot": "Updates the POT file",
"updatePoMo": "Updates the PO files from the POT file; recompiles MO files; extracts JS strings to JSON files"
}
}