aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-03-31 02:51:51 +0800
committerThomas <tmashuang@gmail.com>2018-03-31 02:51:51 +0800
commit43c402227d470a201125f4f4e2613a6a00bafbd9 (patch)
treef075c5e41e7967b9c0362f8c6a2ba9d5b21f40b5
parentb014133fdc14ca4fe83b9cb59d181a7745af8de7 (diff)
downloadtangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.tar
tangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.tar.gz
tangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.tar.bz2
tangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.tar.lz
tangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.tar.xz
tangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.tar.zst
tangerine-wallet-browser-43c402227d470a201125f4f4e2613a6a00bafbd9.zip
Ganache:start script with seed phrase
-rw-r--r--package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json
index 5b24a0fd6..4e618f563 100644
--- a/package.json
+++ b/package.json
@@ -17,8 +17,8 @@
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "npm run test:integration:build && npm run test:flat && npm run test:mascara",
"test:integration:build": "gulp build:scss",
- "test:e2e": "METAMASK_ENV=test mocha test/e2e/metamask.spec --recursive",
- "test:screens": "METAMASK_ENV=test mocha test/screens/new.spec --recursive",
+ "test:e2e": "cross-env METAMASK_ENV=test mocha test/e2e/metamask.spec --recursive",
+ "test:screens": "cross-env METAMASK_ENV=test npm run ganache:start & mocha test/screens/new.spec --recursive || kill $!",
"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",
@@ -33,6 +33,7 @@
"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",
+ "ganache:start": "ganache-cli -m 'phrase upgrade clock rough situate wedding elder clever doctor stamp excess tent'",
"sentry": "export RELEASE=`cat app/manifest.json| jq -r .version` && npm run sentry:release && npm run sentry:upload",
"sentry:release": "npm run sentry:release:new && npm run sentry:release:clean",
"sentry:release:new": "sentry-cli releases --org 'metamask' --project 'metamask' new $RELEASE",
@@ -220,6 +221,7 @@
"eslint-plugin-react": "^7.4.0",
"eth-json-rpc-middleware": "^1.2.7",
"fs-promise": "^2.0.3",
+ "ganache-cli": "^6.1.0",
"gifencoder": "^1.1.0",
"gulp": "github:gulpjs/gulp#6d71a658c61edb3090221579d8f97dbe086ba2ed",
"gulp-babel": "^7.0.0",