mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-05-13 13:58:57 +00:00
Fix package.json
This commit is contained in:
parent
737b6255b8
commit
094562252f
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue