Fix prettier function

This commit is contained in:
Dmitry Yankowski
2020-02-24 13:44:14 -05:00
parent b0f5ab9776
commit 1543c990ca
3 changed files with 2 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "yarn prettier"
}
}

View File

@@ -1,5 +0,0 @@
{
"*.+(html|js|json|ts|tsx|vue)": [
"yarn prettier"
]
}

View File

@@ -15,6 +15,7 @@
"e2e": "cypress run",
"e2e:open": "cypress open",
"dev:e2e": "server-test dev :3000 e2e:open",
"prettier": "prettier --write **/*.{html,js,json,ts,tsx, vue}",
"test": "start-server-and-test start http-get://localhost:3000 e2e"
},
"dependencies": {