From 64ae8131de78b2ac9198ced9e573bb4944a1f653 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Mon, 6 May 2019 12:01:34 -0230 Subject: [PATCH] Adds NPM scripts for running a dapp, and dapp + chain, locally. (#6565) --- package.json | 2 ++ 1 file changed, 2 insertions(+) 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",