mirror of https://github.com/status-im/consul.git
Merge pull request #4235 from hashicorp/bugfix/move-rsync-to-test
Move the rsync dependency to the test scripts
This commit is contained in:
commit
31b6e10391
|
@ -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": [
|
||||||
|
|
Loading…
Reference in New Issue