Update pre-commit hook

This commit is contained in:
Shivam Mathur
2019-11-30 23:34:27 +05:30
parent 0871fbb11b
commit 7ef437ee9d
2 changed files with 14 additions and 28 deletions

View File

@ -7,7 +7,7 @@
"scripts": {
"build": "tsc",
"lint": "eslint **/*.ts --cache",
"format": "prettier --write **/*.ts",
"format": "prettier --write **/*.ts && git add .",
"format-check": "prettier --check **/*.ts",
"release": "ncc build src/install.ts -o dist && git add -f dist/",
"test": "jest"