1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 12:18:09 +00:00

add translations scripts to package.json

This commit is contained in:
slowbackspace 2019-02-26 16:38:55 +01:00
parent 263263bf72
commit d514a25220

View File

@ -15,7 +15,8 @@
"build:beta": "rimraf build/beta && cross-env BUILD=beta npx webpack --config webpack/production.babel.js --output-path build/beta --progress --bail",
"build:dev": "rimraf build.dev && cross-env BUILD=development npx webpack --config webpack/production.babel.js --output-path build/dev --progress --bail",
"translations:extract": "rimraf translations/extractedMessages && cross-env NODE_ENV=translations babel src",
"translations:sync": "yarn ttm merge-msgs && yarn ttm build-csv && yarn ttm upload && yarn ttm build-translations && yarn ttm export-translations",
"translations:upload": "yarn ttm merge-msgs && yarn ttm build-csv && yarn ttm upload",
"translations:download": "yarn ttm build-translations && sleep 5 && yarn ttm export-translations",
"flow": "flow check src",
"lint": "run-s lint:*",
"lint:js": "npx eslint ./src ./webpack",