-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
18 lines (16 loc) · 1.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"name": "@warren-bank/Android-WebMonkey",
"private": true,
"license": "GPL-2.0",
"devDependencies": {
"@warren-bank/translate-android-strings": "^1.8.1"
},
"scripts": {
"translate:app": "translate-android-strings -i \"en\" -f \"android-studio-project/WebMonkey/src/main/res/values/strings.xml\" -d \"android-studio-project/WebMonkey/src/withAllLanguageTranslations/res\" -m --na --nc --nw -b \"(?:WebMonkey|URL|url|HTTPS|Toast|glob|regex|API|window\\.WebViewWM\\.getUserscriptJS|JS|mitmproxy|iframe)\" -b \"@(?:include|exclude|match)\"",
"translate:app:debug": "npm run translate:app -- -o \"en\" --debug",
"translate:lib": "translate-android-strings -i \"en\" -f \"android-studio-project/libs/webview-gm-ui/src/main/res/values/strings.xml\" -d \"android-studio-project/libs/webview-gm-ui/src/withAllLanguageTranslations/res\" -m --na --nc --nw",
"translate:lib:debug": "npm run translate:lib -- -o \"en\" --debug",
"translate": "npm run translate:lib && npm run translate:app",
"translate:debug": "npm run translate:lib:debug && npm run translate:app:debug"
}
}