run build checks only when relevant FE changes (#1664)

This commit is contained in:
Lucy C
2022-07-20 20:22:26 -06:00
committed by GitHub
parent 40d446ba32
commit 97bdb2dd64
2 changed files with 9 additions and 5 deletions

View File

@@ -84,11 +84,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run check"
"pre-commit": "lint-staged --concurrent false"
}
},
"lint-staged": {
"**/*.{js,ts,html,md,less,json}": "prettier --write",
"*.ts": "tslint --fix"
}
}