Skip to content

Commit

Permalink
fix: scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Dec 31, 2023
1 parent 68e7e17 commit 501fce4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
"repository": "github:huntabyte/vaul-svelte",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
"build": "vite build && pnpm run package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"test": "npm run test:integration && npm run test:unit",
"prepublishOnly": "pnpm run package",
"test": "vitest",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test:integration": "playwright test",
"test:unit": "vitest",
"release": "changeset publish",
"changeset": "changeset"
},
Expand Down
3 changes: 0 additions & 3 deletions src/lib/vaul/components/root.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
const {
states: { keyboardIsOpen },
methods: { closeDrawer, openDrawer },
refs: { drawerRef },
options: { dismissible },
updateOption
} = setCtx({
Expand All @@ -42,8 +41,6 @@
shouldScaleBackground
});
$: drawerEl = $drawerRef as HTMLElement;
$: updateOption('modal', modal);
$: updateOption('closeThreshold', closeThreshold);
$: updateOption('scrollLockTimeout', scrollLockTimeout);
Expand Down
6 changes: 0 additions & 6 deletions tests/test.ts

This file was deleted.

0 comments on commit 501fce4

Please sign in to comment.