Fixed and add husky for prettier

This commit is contained in:
Sambo Chea 2021-09-13 20:32:14 +07:00
parent c42964407e
commit 07a3867fcb
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/_/husky.sh"
npx lint-staged npx lint-staged

View File

@ -5,7 +5,8 @@
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"start": "tsc -w", "start": "tsc -w",
"build": "rm -rf dist && tsc" "build": "rm -rf dist && tsc",
"prepare": "husky install"
}, },
"repository": { "repository": {
"type": "git", "type": "git",