diff --git a/packages/svelte-components/package.json b/packages/svelte-components/package.json index 801b34de..02e5098d 100644 --- a/packages/svelte-components/package.json +++ b/packages/svelte-components/package.json @@ -7,8 +7,8 @@ "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", "prepublishOnly": "npm run package", - "lint": "run -T eslint . --ext .ts,.tsx,.svelte", - "test": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "lint": "yarn build && run -T eslint . --ext .ts,.tsx,.svelte", + "test": "yarn build && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" }, "description": "GIPHY components for Svelte",