Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
FBT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Jan 13, 2021
1 parent c32dcca commit 2536eb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"prettier": "prettier --write *.js \"{src,test}/**/*.js\"",
"prettier:check": "prettier -c *.js \"src/**/*.js\"",
"test": "echo \"Error: no test specified\" && exit 1",
"fbt:manifest": "node -r @babel/register ../node_modules/babel-plugin-fbt/bin/manifest --src src",
"fbt:collect": "node -r @babel/register ../node_modules/babel-plugin-fbt/bin/collectFBT --manifest --pretty < .src_manifest.json > .source_strings.json",
"fbt:translate": "node -r @babel/register ../node_modules/babel-plugin-fbt/bin/translate.js --translations translation/fbt/*.json --jenkins --pretty > .translated_fbts.json",
"fbt:manifest": "node -r @babel/register ../node_modules/babel-plugin-fbt/dist/bin/manifest --src src",
"fbt:collect": "node -r @babel/register ../node_modules/babel-plugin-fbt/dist/bin/collectFBT --manifest --pretty < .src_manifest.json > .source_strings.json",
"fbt:translate": "node -r @babel/register ../node_modules/babel-plugin-fbt/dist/bin/translate.js --translations translation/fbt/*.json --jenkins --pretty > .translated_fbts.json",
"fbt:clean": "rm .enum_manifest.json .src_manifest.json .source_strings.json .translated_fbts.json translation/fbt/*.json 2&> /dev/null || exit 0",
"translate": "npm run fbt:manifest && npm run fbt:collect && node scripts/fbtToCrowdin && node scripts/crowdinToFbt && npm run fbt:translate && node scripts/splitTranslations && cp .enum_manifest.json translation/fbt/.enum_manifest.json",
"translate:proof": "npm run fbt:manifest && npm run fbt:collect && node scripts/fbtToCrowdin && node scripts/crowdinToFbt proof && npm run fbt:translate && node scripts/splitTranslations && cp .enum_manifest.json translation/fbt/.enum_manifest.json"
Expand Down

0 comments on commit 2536eb0

Please sign in to comment.