Skip to content

Instantly share code, notes, and snippets.

@majirosstefan
Created September 19, 2021 16:18
Show Gist options
  • Save majirosstefan/8bdaf4561d58ee7f359e421900edd2ee to your computer and use it in GitHub Desktop.
Save majirosstefan/8bdaf4561d58ee7f359e421900edd2ee to your computer and use it in GitHub Desktop.
node makeTranslations.js
// ๐Ÿ’– or if you used global installation of translate-json-object library, you would need to use
NODE_PATH=$(npm root -g) node ./scripts/makeTranslations.js
// ๐Ÿ’– or add it as npm script into package.json, so you would run it w/ npm run checkTranslations command
"checkTranslations": "NODE_PATH=$(npm root -g) node ./scripts/makeTranslations.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment