aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-05-06 22:31:34 +0800
committerGitHub <noreply@github.com>2019-05-06 22:31:34 +0800
commit64ae8131de78b2ac9198ced9e573bb4944a1f653 (patch)
tree6c5080fe8036e04b60155aaa45e8ecd897b44428
parent6aa889280dbbb5b01e3e1aa22ecaf54f9033d34f (diff)
downloadtangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.tar
tangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.tar.gz
tangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.tar.bz2
tangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.tar.lz
tangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.tar.xz
tangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.tar.zst
tangerine-wallet-browser-64ae8131de78b2ac9198ced9e573bb4944a1f653.zip
Adds NPM scripts for running a dapp, and dapp + chain, locally. (#6565)
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 7f885512d..21e9b0de8 100644
--- a/package.json
+++ b/package.json
@@ -10,6 +10,8 @@
"start:test": "gulp dev:test",
"build:test": "gulp build:test",
"test": "npm run test:unit && npm run test:integration && npm run lint",
+ "dapp": "static-server test/e2e/beta/contract-test --port 8080",
+ "dapp-chain": "shell-parallel -s 'npm run ganache:start -- -b 2' -x 'sleep 5 && static-server test/e2e/beta/contract-test --port 8080'",
"watch:test:unit": "nodemon --exec \"npm run test:unit\" ./test ./app ./ui",
"test:unit": "cross-env METAMASK_ENV=test mocha --exit --require test/setup.js --recursive \"test/unit/**/*.js\" \"ui/app/**/*.test.js\"",
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",