UNPKG

@lottiefiles/dotlottie-react

Version:

React wrapper around the dotlottie-web library

94 lines 2.42 kB
{ "name": "@lottiefiles/dotlottie-react", "version": "0.19.4", "type": "module", "description": "React wrapper around the dotlottie-web library", "repository": { "type": "git", "url": "git+https://github.com/LottieFiles/dotlottie-web.git", "directory": "packages/react" }, "homepage": "https://github.com/LottieFiles/dotlottie-web#readme", "bugs": "https://github.com/LottieFiles/dotlottie-web/issues", "author": "LottieFiles", "contributors": [ "Abdelrahman Ashraf <a.theashraf@gmail.com>" ], "license": "MIT", "engines": { "node": ">=18.17.0", "npm": ">=9.5.0" }, "main": "dist/index.js", "module": "dist/index.js", "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "default": "./dist/index.js" }, "./webgl": { "types": "./dist/webgl/index.d.ts", "import": "./dist/webgl/index.js", "default": "./dist/webgl/index.js" }, "./webgpu": { "types": "./dist/webgpu/index.d.ts", "import": "./dist/webgpu/index.js", "default": "./dist/webgpu/index.js" } }, "files": [ "dist" ], "keywords": [ "dotlottie", "lottie", "player", "animation", "web", "canvas", "javascript", "react", "thorvg" ], "peerDependencies": { "react": "^17 || ^18 || ^19" }, "dependencies": { "@lottiefiles/dotlottie-web": "0.74.0" }, "devDependencies": { "@testing-library/user-event": "^14.5.2", "@types/react": "^19", "@webgpu/types": "^0.1.69", "@types/react-dom": "^19", "@vitejs/plugin-react": "^5.2.0", "@vitest/browser": "^4.0.18", "@vitest/browser-playwright": "^4.0.18", "@vitest/coverage-istanbul": "^4.0.18", "react": "^19", "react-dom": "^19", "tsdown": "^0.21.10", "typescript": "6.0.3", "vitest": "^4.0.18", "vitest-browser-react": "^2.0.5" }, "publishConfig": { "access": "public", "provenance": true }, "sideEffects": false, "scripts": { "build": "tsdown", "dev": "tsdown --watch", "lint": "biome check --write .", "stats:ts": "tsc -p tsconfig.build.json --extendedDiagnostics", "test": "vitest run --browser.headless", "test:coverage": "vitest run --browser.headless --coverage", "test:watch": "vitest", "type-check": "tsc --noEmit" } }