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 31b6e10391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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": [