@jurneyx2/react-lottie-hooks
Version:
🎯 Simple and powerful React hooks for DotLottie animations with GSAP ScrollTrigger integration and automatic SSR/CSR detection
95 lines (94 loc) • 2.23 kB
JSON
{
"name": "@jurneyx2/react-lottie-hooks",
"version": "1.2.7",
"description": "🎯 Simple and powerful React hooks for DotLottie animations with GSAP ScrollTrigger integration and automatic SSR/CSR detection",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src --ext .ts,.tsx",
"lint:fix": "eslint src --ext .ts,.tsx --fix"
},
"keywords": [
"react",
"hooks",
"lottie",
"dotlottie",
"animation",
"scroll",
"gsap",
"scrolltrigger",
"ssr",
"csr",
"nextjs",
"nuxt",
"hydration",
"typescript",
"simple",
"modern"
],
"author": "Imjurney",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Imjurney/react-dotLottie-hooks.git",
"directory": "packages/react-lottie-hooks"
},
"homepage": "https://github.com/Imjurney/react-dotLottie-hooks#readme",
"bugs": {
"url": "https://github.com/Imjurney/react-dotLottie-hooks/issues"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Imjurney"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"@lottiefiles/dotlottie-react": ">=0.8.0"
},
"dependencies": {
"@gsap/react": "^2.1.1",
"gsap": "^3.12.5"
},
"devDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"jest": "^29.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/jest-dom": "^6.0.0",
"eslint": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0"
},
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
}
}