From d4648cb853a42a1e31ffbe8d538ee3546ba95ec6 Mon Sep 17 00:00:00 2001 From: boryslevytskyi Date: Sat, 13 May 2017 19:29:46 +0300 Subject: [PATCH] add e2e tests for remote deployment --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0186657..eca0b92 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,11 @@ "description": "Bitwise Operations Console", "main": "index.js", "scripts": { - "build": "rm -rf ./build/* && cp ./src/index.html ./build && cp ./src/bundle.js ./build && cp ./src/bundle.js.map ./build && cp -r ./src/css ./build && cp -r ./src/img ./build", + "build": "rm -rf ./BitwiseCmdPages/* && cp ./src/index.html ./BitwiseCmdPages && cp ./src/bundle.js ./BitwiseCmdPages && cp ./src/bundle.js.map ./BitwiseCmdPages && cp -r ./src/css ./BitwiseCmdPages && cp -r ./src/img ./BitwiseCmdPages", "serv": "webpack-dev-server --content-base ./src", "e2e": "protractor ./tests/e2e.chrome.js --params.appUrl='http://localhost:8080/#clear'", "e2e_build": "protractor ./tests/e2e.chrome.js --params.appUrl='http://localhost:3000/#clear'", - "deploy": "rm -rf ./BitwiseCmdPages/* && cp -r ./build/* ./BitwiseCmdPages" - + "e2e_remote": "protractor ./tests/e2e.chrome.js --params.appUrl='http://bitwisecmd.com/react/#clear'" }, "repository": { "type": "git",