Merge pull request #4235 from hashicorp/bugfix/move-rsync-to-test

Move the rsync dependency to the test scripts
This commit is contained in:
John Cowen 2018-06-18 19:00:27 +01:00 committed by GitHub
commit e4d71e637a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,10 +14,10 @@
"lint:js": "eslint -c .eslintrc.js --fix ./*.js ./.*.js app config lib server tests", "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", "format:js": "prettier --write \"{app,config,lib,server,tests}/**/*.js\" ./*.js ./.*.js",
"start": "ember serve", "start": "ember serve",
"test": "ember test", "test:sync": "rsync -aq ./node_modules/@hashicorp/consul-api-double/ ./public/consul-api-double/",
"test:view": "ember test --server", "test": "yarn run test:sync;ember test",
"precommit": "lint-staged", "test:view": "yarn run test:sync;ember test --server",
"postinstall": "rsync -aq ./node_modules/@hashicorp/consul-api-double/ ./public/consul-api-double/" "precommit": "lint-staged"
}, },
"lint-staged": { "lint-staged": {
"{app,config,lib,server,tests}/**/*.js": [ "{app,config,lib,server,tests}/**/*.js": [