aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-28 08:16:23 +0800
committerkumavis <aaron@kumavis.me>2018-03-28 08:17:34 +0800
commit9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a (patch)
treeef24df3601dcefc9e45d8737f578425faac2ac36
parentb26788e9d4be6a85e4dcca0b793a258336f41f46 (diff)
downloadtangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.tar
tangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.tar.gz
tangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.tar.bz2
tangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.tar.lz
tangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.tar.xz
tangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.tar.zst
tangerine-wallet-browser-9e1bdcb09d811e125d8603b4cdaeb94ab04d0d9a.zip
test - integration - add locale build step
-rw-r--r--package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json
index c1ba6e761..f4900c77e 100644
--- a/package.json
+++ b/package.json
@@ -21,13 +21,15 @@
"test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload",
"test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
"test:flat": "npm run test:flat:build && karma start test/flat.conf.js",
- "test:flat:build": "npm run test:flat:build:ui && npm run test:flat:build:tests",
+ "test:flat:build": "npm run test:flat:build:ui && npm run test:flat:build:tests && npm run test:flat:build:locales",
"test:flat:build:tests": "node test/integration/index.js",
"test:flat:build:states": "node development/genStates.js",
+ "test:flat:build:locales": "mkdirp dist/chrome && cp -R app/_locales dist/chrome/_locales",
"test:flat:build:ui": "npm run test:flat:build:states && browserify ./development/mock-dev.js -o ./development/bundle.js",
"test:mascara": "npm run test:mascara:build && karma start test/mascara.conf.js",
- "test:mascara:build": "mkdirp dist/mascara && npm run test:mascara:build:ui && npm run test:mascara:build:background && npm run test:mascara:build:tests",
+ "test:mascara:build": "mkdirp dist/mascara && npm run test:mascara:build:ui && npm run test:mascara:build:background && npm run test:mascara:build:tests && npm run test:mascara:build:locales",
"test:mascara:build:ui": "browserify mascara/test/test-ui.js -o dist/mascara/ui.js",
+ "test:mascara:build:locales": "mkdirp dist/chrome && cp -R app/_locales dist/chrome/_locales",
"test:mascara:build:background": "browserify mascara/src/background.js -o dist/mascara/background.js",
"test:mascara:build:tests": "browserify test/integration/lib/first-time.js -o dist/mascara/tests.js",
"sentry": "export RELEASE=`cat app/manifest.json| jq -r .version` && npm run sentry:release && npm run sentry:upload",