From fb4643b062b9d6f4f153f9522e21e063ef7cfe47 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Fri, 15 Jun 2018 16:11:14 +0100 Subject: [PATCH] Move the rsync dependency to the test scripts for now. 1. You only need the fixtures for testing, don't force rsync on people for just building 2. Eventually this will go and be replaced by something broccoli-y --- ui-v2/package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui-v2/package.json b/ui-v2/package.json index 13642f549c..9a81f6f948 100644 --- a/ui-v2/package.json +++ b/ui-v2/package.json @@ -14,10 +14,10 @@ "lint:js": "eslint -c .eslintrc.js --fix ./*.js ./.*.js app config lib server tests", "format:js": "prettier --write \"{app,config,lib,server,tests}/**/*.js\" ./*.js ./.*.js", "start": "ember serve", - "test": "ember test", - "test:view": "ember test --server", - "precommit": "lint-staged", - "postinstall": "rsync -aq ./node_modules/@hashicorp/consul-api-double/ ./public/consul-api-double/" + "test:sync": "rsync -aq ./node_modules/@hashicorp/consul-api-double/ ./public/consul-api-double/", + "test": "yarn run test:sync;ember test", + "test:view": "yarn run test:sync;ember test --server", + "precommit": "lint-staged" }, "lint-staged": { "{app,config,lib,server,tests}/**/*.js": [