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
This commit is contained in:
John Cowen 2018-06-15 16:11:14 +01:00
parent e762d6fd82
commit fb4643b062
1 changed files with 4 additions and 4 deletions

View File

@ -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": [