Skip to content

Commit

Permalink
chore: update husky to latest config
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Aug 27, 2024
1 parent 3cf89f5 commit 8966490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm -r exec lint-staged
pnpm -r exec lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Transform any plain HTML page into an enterprise-grade static commerce website, with almost no coding required.",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"prepare": "husky",
"build": "pnpm -r build && cp -r packages/drop-in/www/drop-in.js/demo packages/docs/storybook-static",
"build:drop-in": "pnpm --filter drop-in.js build",
"start:drop-in": "pnpm --filter drop-in.js start",
Expand Down

0 comments on commit 8966490

Please sign in to comment.