@lottiefiles/dotlottie-web
Version:
Lottie and DotLottie player for the web
96 lines • 2.59 kB
JSON
{
"name": "@lottiefiles/dotlottie-web",
"version": "0.67.0",
"type": "module",
"description": "Lottie and DotLottie player for the web",
"repository": {
"type": "git",
"url": "git+https://github.com/LottieFiles/dotlottie-web.git",
"directory": "packages/web"
},
"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",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./webgl": {
"import": {
"types": "./dist/webgl/index.d.ts",
"default": "./dist/webgl/index.js"
},
"require": {
"types": "./dist/webgl/index.d.cts",
"default": "./dist/webgl/index.cjs"
}
},
"./webgpu": {
"import": {
"types": "./dist/webgpu/index.d.ts",
"default": "./dist/webgpu/index.js"
},
"require": {
"types": "./dist/webgpu/index.d.cts",
"default": "./dist/webgpu/index.cjs"
}
},
"./dotlottie-player.wasm": "./dist/dotlottie-player.wasm",
"./webgl/dotlottie-player.wasm": "./dist/webgl/dotlottie-player.wasm",
"./webgpu/dotlottie-player.wasm": "./dist/webgpu/dotlottie-player.wasm"
},
"files": [
"dist"
],
"keywords": [
"dotlottie",
"lottie",
"player",
"animation",
"web",
"canvas",
"javascript",
"thorvg"
],
"devDependencies": {
"@types/node": "^22.15.0",
"@vitest/browser": "^4.0.18",
"@vitest/browser-playwright": "^4.0.18",
"@vitest/coverage-istanbul": "^4.0.18",
"@webgpu/types": "^0.1.69",
"esbuild": "^0.23.0",
"tsdown": "^0.20.3",
"typescript": "5.9.3",
"vitest": "^4.0.18"
},
"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:node": "vitest run --config ./vitest.config.node.ts",
"test:watch": "vitest",
"type-check": "tsc --noEmit"
}
}