Skip to content

Commit

Permalink
chore(husky): fix husky
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornWalli committed Jul 2, 2024
1 parent 6de7097 commit 9cd86fd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Expand Down
1 change: 0 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Expand Down
17 changes: 13 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"license": "MIT",
"private": true,
"scripts": {
"postinstall": "husky install",
"test": "npm run lint && npm run generate",
"build": "nuxt build",
"dev": "nuxt dev",
Expand All @@ -27,7 +26,7 @@
"lint:es": "eslint .",
"lint:css": "stylelint \"src/**/*.vue\"",
"semantic-release": "semantic-release",
"prepare": "npm run snyk-protect && nuxt prepare",
"prepare": "husky && npm run snyk-protect && nuxt prepare",
"snyk-protect": "snyk-protect"
},
"devDependencies": {
Expand Down Expand Up @@ -76,4 +75,4 @@
"vite-svg-loader": "5.1.0"
},
"snyk": true
}
}

0 comments on commit 9cd86fd

Please sign in to comment.