Fix package.json

This commit is contained in:
Vinicius Fortuna 2022-03-09 23:27:09 +00:00
parent 737b6255b8
commit 094562252f

View file

@ -20,7 +20,7 @@
"action:help": "npm run action",
"action:list": "npm run action",
"clean": "rm -rf src/*/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts src/server_manager/install_scripts/gcp_install_script.ts third_party/shellcheck/download/",
"format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --write",
"format": "pretty-quick --staged --pattern \"**/*.{cjs,html,js,json,md,ts}\"",
"lint": "npm run lint:sh && npm run lint:ts",
"lint:sh": "bash ./scripts/shellcheck.sh",
"lint:ts": "npx tslint 'src/**/*.ts' -e '**/node_modules/**'",
@ -31,7 +31,7 @@
],
"husky": {
"hooks": {
"pre-commit": "npm run lint && npx git-clang-format && npx pretty-quick --staged --pattern \"**/*.{cjs,html,js,json,md,ts}\""
"pre-commit": "npm run lint && npm run format"
}
}
}