UNPKG

sveltekit-embed

Version:

A collection of embed components for SvelteKit. Easily embed content from YouTube, Spotify, Vimeo, CodePen, and many more with performant, lazy-loaded components.

111 lines 3.05 kB
{ "name": "sveltekit-embed", "version": "0.0.22", "author": { "name": "Scott Spence", "email": "yo@scottspence.dev", "url": "https://scottspence.com" }, "description": "A collection of embed components for SvelteKit. Easily embed content from YouTube, Spotify, Vimeo, CodePen, and many more with performant, lazy-loaded components.", "keywords": [ "svelte", "sveltekit", "embed", "components", "youtube", "spotify", "vimeo", "codepen", "deezer", "soundcloud", "twitter", "mastodon", "github", "gist", "iframe", "lazy-loading", "intersection-observer", "performance", "responsive", "typescript", "ui-components" ], "license": "MIT", "homepage": "https://github.com/spences10/sveltekit-embed#readme", "repository": { "type": "git", "url": "https://github.com/spences10/sveltekit-embed.git", "directory": "packages/sveltekit-embed" }, "bugs": { "url": "https://github.com/spences10/sveltekit-embed/issues" }, "funding": { "type": "github", "url": "https://github.com/sponsors/spences10" }, "engines": { "node": ">=18.0.0" }, "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js" } }, "files": [ "dist", "!dist/**/*.test.*", "!dist/**/*.spec.*" ], "peerDependencies": { "svelte": "^4.0.0 || ^5.0.0" }, "devDependencies": { "@eslint/compat": "^1.2.9", "@eslint/js": "^9.27.0", "@playwright/test": "^1.52.0", "@sveltejs/adapter-auto": "^6.0.1", "@sveltejs/kit": "^2.21.1", "@sveltejs/package": "^2.3.11", "@sveltejs/vite-plugin-svelte": "^5.0.3", "@vitest/browser": "^3.1.4", "@vitest/coverage-v8": "3.1.4", "eslint": "^9.27.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-svelte": "^3.9.0", "fathom-client": "^3.7.2", "globals": "^16.1.0", "jsdom": "^26.1.0", "playwright": "^1.52.0", "prettier": "^3.5.3", "prettier-plugin-svelte": "^3.4.0", "prettier-plugin-tailwindcss": "^0.6.11", "publint": "^0.3.12", "svelte": "5.33.1", "svelte-check": "^4.2.1", "typescript": "^5.8.3", "typescript-eslint": "^8.32.1", "vite": "^6.3.5", "vitest": "^3.1.4", "vitest-browser-svelte": "^0.1.0" }, "svelte": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "scripts": { "dev": "vite dev", "build": "vite build && npm run package", "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", "test": "npm run test:integration && npm run test:unit", "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 .", "coverage": "pnpm exec vitest run --coverage", "test:integration": "playwright test", "test:unit": "vitest", "test:ci": "vitest run" } }