@aarsteinmedia/dotlottie-player
Version:
Web Component for playing Lottie animations in your web app.
152 lines (151 loc) • 4.4 kB
JSON
{
"name": "@aarsteinmedia/dotlottie-player",
"version": "6.3.5",
"description": "Web Component for playing Lottie animations in your web app.",
"type": "module",
"exports": {
".": {
"default": "./dist/full.js",
"unpkg": "./dist/unpkg-full.js",
"types": "./dist/full.d.ts"
},
"./light": {
"default": "./dist/light.js",
"unpkg": "./dist/unpkg-light.js",
"types": "./dist/light.d.ts"
},
"./svg": {
"default": "./dist/svg.js",
"unpkg": "./dist/unpkg-svg.js",
"types": "./dist/svg.d.ts"
},
"./canvas": {
"default": "./dist/canvas.js",
"unpkg": "./dist/unpkg-canvas.js",
"types": "./dist/canvas.d.ts"
}
},
"main": "./dist/full.js",
"unpkg": "./dist/unpkg-full.js",
"types": "./dist/full.d.ts",
"homepage": "https://www.aarstein.media/en/dotlottie-player",
"repository": {
"url": "git+https://github.com/aarsteinmedia/dotlottie-player.git",
"type": "git"
},
"bugs": "https://github.com/aarsteinmedia/dotlottie-player/issues",
"author": {
"name": "Johan Martin Aarstein",
"email": "johan@aarstein.media",
"url": "https://www.aarstein.media",
"organization": "Aarstein Media"
},
"contributors": [
{
"name": "Anthony Colpron",
"email": "anthonycolpron@gmail.com",
"url": "https://github.com/anthony-colpron"
}
],
"license": "GPL-2.0-or-later",
"scripts": {
"test": "wtr",
"prebuild": "rimraf ./dist",
"build": "rollup -c --configPlugin typescript",
"prebuild:types": "rimraf ./types ",
"build:types": "tsc -p ./tsconfig.build.json && tsc-alias",
"build:cem": "npx cem analyze --config 'cem.config.ts'",
"prod": "pnpm build:types && pnpm build && pnpm build:cem",
"dev": "rollup -cw --configPlugin typescript --environment NODE_ENV:development --environment VER:full",
"dev:light": "rollup -cw --configPlugin typescript --environment NODE_ENV:development --environment VER:light",
"dev:iife": "rollup -cw --configPlugin typescript --environment NODE_ENV:development --environment TYPE:iife",
"lint:js": "eslint src",
"lint:js:fix": "eslint src --fix",
"lint:css": "npx stylelint **/*.css",
"lint:css:fix": "npx stylelint **/*.css --fix",
"deploy": "npm login && npm publish"
},
"dependencies": {
"@aarsteinmedia/lottie-web": "^1.3.12",
"fflate": "^0.8.2"
},
"peerDependencies": {
"@types/react": ">= 16.0.0"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.11.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@swc/core": "^1.15.30",
"@types/node": "^25.6.0",
"@types/postcss-flexbugs-fixes": "^5.0.3",
"@types/react": "^19.2.14",
"autoprefixer": "^10.5.0",
"eslint": "^9.39.4",
"eslint-config-sheriff": "^31.3.0",
"eslint-plugin-perfectionist": "^5.9.0",
"globals": "^17.5.0",
"jiti": "^2.6.1",
"postcss-flexbugs-fixes": "^5.0.2",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"rollup": "^4.60.2",
"rollup-plugin-dts": "^6.4.1",
"rollup-plugin-html-literals": "^2.0.1",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-opener": "^0.2.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-summary": "^3.0.1",
"rollup-plugin-swc3": "^0.12.1",
"rollup-plugin-typescript-paths": "^1.5.0",
"stylelint": "^17.9.0",
"stylelint-config-recommended": "^18.0.0",
"tsc-alias": "^1.8.16",
"tslib": "^2.8.1",
"typescript": "^6.0.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core",
"rs-module-lexer",
"unrs-resolver"
]
},
"browserslist": {
"production": [
">0.3%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"customElements": "custom-elements.json",
"files": [
"CHANGELOG.md",
"custom-elements.json",
"dist",
"README.md"
],
"keywords": [
"lottie",
"dotlottie",
"bodymovin",
"web component",
"player"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">= 12.17.0"
},
"funding": {
"type": "paypal",
"url": "https://www.paypal.com/donate/?hosted_button_id=E7C7DMN8KSQ6A"
}
}