@humanspeak/svelte-motion
Version:
A lightweight animation library for Svelte 5 that provides smooth, hardware-accelerated animations. Features include spring physics, custom easing, and fluid transitions. Built on top of the motion library, it offers a simple API for creating complex anim
137 lines (136 loc) • 4.44 kB
JSON
{
"name": "@humanspeak/svelte-motion",
"version": "0.0.11",
"description": "A lightweight animation library for Svelte 5 that provides smooth, hardware-accelerated animations. Features include spring physics, custom easing, and fluid transitions. Built on top of the motion library, it offers a simple API for creating complex animations with minimal code. Perfect for interactive UIs, micro-interactions, and engaging user experiences.",
"keywords": [
"svelte",
"animation",
"motion",
"transitions",
"spring-physics",
"ui-animation",
"svelte5",
"hardware-accelerated",
"micro-interactions",
"performance"
],
"bugs": {
"url": "https://github.com/humanspeak/svelte-motion/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanspeak/svelte-motion.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/humanspeak"
},
"license": "MIT",
"author": "Humanspeak, Inc.",
"sideEffects": [
"**/*.css"
],
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*",
"!dist/lib/html/*.template"
],
"scripts": {
"build": "vite build && npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "vite dev",
"format": "prettier --write .",
"generate": "tsx scripts/generate-html.ts",
"lint": "prettier --check . && eslint .",
"lint:fix": "npm run format && eslint . --fix",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"preview": "vite preview",
"test": "vitest run --coverage",
"test:all": "npm run test && npm run test:e2e",
"test:e2e": "playwright test",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"test:e2e:ui": "playwright test --ui",
"test:only": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"motion": "^12.4.10"
},
"devDependencies": {
"@eslint/compat": "^1.2.7",
"@eslint/js": "^9.21.0",
"@playwright/test": "^1.50.1",
"@sveltejs/adapter-auto": "^4.0.0",
"@sveltejs/kit": "^2.17.3",
"@sveltejs/package": "^2.3.10",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.0.9",
"@tailwindcss/typography": "^0.5.16",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/svelte": "^5.2.7",
"@types/node": "^22.13.9",
"@vitest/coverage-v8": "^3.0.7",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.2",
"eslint-plugin-svelte": "^3.0.2",
"globals": "^16.0.0",
"jsdom": "^26.0.0",
"prettier": "^3.5.3",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.11",
"publint": "^0.3.8",
"svelte": "^5.21.0",
"svelte-check": "^4.1.4",
"tailwind-merge": "^3.0.2",
"tailwind-variants": "^0.3.1",
"tailwindcss": "^4.0.9",
"tailwindcss-animate": "^1.0.7",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0",
"vite": "^6.2.0",
"vitest": "^3.0.7"
},
"peerDependencies": {
"svelte": "^5.0.0"
},
"volta": {
"node": "22.14.0"
},
"publishConfig": {
"access": "public"
},
"overrides": {
"@sveltejs/kit": {
"cookie": "^0.7.0"
}
},
"tags": [
"svelte",
"animation",
"motion",
"transitions",
"spring-physics",
"performance",
"ui-animation",
"micro-interactions",
"svelte5"
]
}