update package.json
Showing
... | ... | @@ -92,10 +92,15 @@ |
"url": "https://git.psu.edu/ais-swe/ux/utils" | ||
}, | ||
"lint-staged": { | ||
"*.{json,ts}": [ | ||
"*.json": [ | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.ts": [ | ||
"prettier --write", | ||
"tslint --project tsconfig.json", | ||
"git add" | ||
], | ||
"*.html": [ | ||
"html-beautify -qr", | ||
"git add" | ||
... | ... | @@ -107,7 +112,7 @@ |
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged && yarn lint", | ||
"pre-commit": "lint-staged", | ||
"pre-push": "yarn test" | ||
} | ||
}, | ||
... | ... |
Please register or sign in to comment