This repository has been archived by the owner on Jan 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
48 lines (48 loc) · 1.79 KB
/
package.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
{
"name": "genesis-translations",
"version": "3.2.2",
"description": "Genesis Translations",
"bugs": {
"url": "https://github.com/remkus/genesis-translations/issues"
},
"homepage": "https://thememix.com/plugins/genesis-translations/",
"repository": {
"type": "git",
"url": "git+https://github.com/remkus/genesis-translations"
},
"author": "ThemeMix",
"license": "GPL-2.0-or-later",
"genesisTranslations": {
"genesisBranchOrTag": "3.2.1"
},
"glotpress": {
"url": "https://translate.studiopress.com/global/",
"slug": "genesis-framework/genesis",
"textdomain": "genesis",
"fileFormat": "genesis-temp/lib/languages/%wpLocale%.%format%",
"formats": [
"po",
"mo"
],
"filters": {
"minimumPercentage": 30
}
},
"devDependencies": {
"axios": "^0.21.1",
"copyfiles": "^2.1.1",
"npm-run-all": "^4.1.5",
"renamer": "^1.1.2",
"rimraf": "^3.0.0"
},
"scripts": {
"start": "run-s translate-plugin download-genesis download-translations make-json-lang-files copy-lang-files prefix-json-lang-files tidy",
"translate-plugin": "wp i18n make-pot . languages/genesis-translations.pot",
"download-genesis": "rimraf ./genesis-temp/ && git clone https://github.com/studiopress/genesis.git genesis-temp && cd genesis-temp && git checkout $npm_package_genesisTranslations_genesisBranchOrTag",
"download-translations": "rimraf ./genesis-temp/lib/languages/*.{mo,po} && node ./bin/download-translations.js",
"make-json-lang-files": "rimraf ./genesis-temp/lib/languages/*.json && wp i18n make-json genesis-temp/lib/languages",
"copy-lang-files": "rimraf ./translations/* && copyfiles -u 3 genesis-temp/lib/languages/* translations",
"prefix-json-lang-files": "renamer --find \"/^/\" --replace \"genesis-\" \"translations/*.json\"",
"tidy": "rimraf ./genesis-temp && echo Done!"
}
}