Skip to content

Commit

Permalink
chore: update husky deprecated command
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyoptimist committed Aug 22, 2024
1 parent c4e6e74 commit 21990b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"migration:generate": "npm run typeorm migration:generate src/migrations/$npm_config_name",
"migration:run": "npm run typeorm migration:run",
"migration:revert": "npm run typeorm migration:revert",
"prepare": "husky install",
"seed": "ts-node -r tsconfig-paths/register src/scripts/seed.ts"
"seed": "ts-node -r tsconfig-paths/register src/scripts/seed.ts",
"prepare": "husky"
},
"dependencies": {
"@casl/ability": "^6.7.1",
Expand Down

0 comments on commit 21990b1

Please sign in to comment.