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
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
npx lint-staged

View File

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