@jshmrtn/vue3-gettext
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@jshmrtn/vue3-gettext", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Translate your Vue.js applications with gettext", | ||
@@ -15,4 +15,4 @@ "author": "Leo Zurbriggen", | ||
"bin": { | ||
"gettext-extract": "./scripts/gettext_extract.js", | ||
"gettext-compile": "./scripts/gettext_compile.js" | ||
"vue-gettext-extract": "./scripts/gettext_extract.js", | ||
"vue-gettext-compile": "./scripts/gettext_compile.js" | ||
}, | ||
@@ -19,0 +19,0 @@ "scripts": { |
@@ -48,2 +48,5 @@ #!/usr/bin/env node | ||
if (!fs.existsSync(outDir)) { | ||
fs.mkdirSync(outDir); | ||
} | ||
const extracted = await execShellCommand( | ||
@@ -50,0 +53,0 @@ `gettext-extract --attribute v-translate --output ${potPath} ${files.split("\n").join(" ")}`, |
119594
1431