From af1f6a1af493bb885f6e92f21fc751db4b8c22d0 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Thu, 2 Jul 2020 22:56:09 -0300 Subject: [PATCH] Fix `dapp` script in `package.json` (#8900) This script is relied upon by our e2e tests. It was broken in #8888, because `@metamask/test-dapp` was updated to a version with a different directory structure. The website is now in the `dist` directory instead of the `website` directory. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 48bf624c7..1680de795 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "benchmark:firefox": "SELENIUM_BROWSER=firefox node test/e2e/benchmark.js", "build:test": "yarn build test", "test": "yarn test:unit && yarn lint", - "dapp": "node development/static-server.js node_modules/@metamask/test-dapp/website --port 8080", + "dapp": "node development/static-server.js node_modules/@metamask/test-dapp/dist --port 8080", "dapp-chain": "GANACHE_ARGS='-b 2' concurrently -k -n ganache,dapp -p '[{time}][{name}]' 'yarn ganache:start' 'sleep 5 && yarn dapp'", "forwarder": "node ./development/static-server.js ./node_modules/@metamask/forwarder/dist/ --port 9010", "dapp-forwarder": "concurrently -k -n forwarder,dapp -p '[{time}][{name}]' 'yarn forwarder' 'yarn dapp'",