UNPKG

@lottiefiles/lottie-player

Version:

Lottie animation and Telegram Sticker player web components.

126 lines (125 loc) 4.2 kB
{ "name": "@lottiefiles/lottie-player", "version": "2.0.12", "description": "Lottie animation and Telegram Sticker player web components.", "main": "dist/lottie-player.js", "module": "dist/lottie-player.esm.js", "types": "dist/lottie-player.d.ts", "homepage": "https://lottiefiles.com/web-player", "repository": "https://github.com/LottieFiles/lottie-player.git", "bugs": "https://github.com/LottieFiles/lottie-player/issues", "author": "Jawish Hameed <jawish@lottiefiles.com>", "license": "MIT", "scripts": { "start": "npm run cleanup && rollup -c --watch", "build": "npm run cleanup && npm run build-lottie && npm run build-tgs", "build-with-coverage": "npm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs", "build-lottie": "rollup -c ", "build-tgs": "rollup -c rollup-tgs.config.js", "watch-lottie": "npm run cleanup && rollup -c --watch", "watch-tgs": "npm run cleanup && rollup -c rollup-tgs.config.js --watch", "cleanup": "shx rm -rf dist && shx mkdir dist", "release": "semantic-release", "lint": "eslint . --ext .ts,.tsx,.js", "lint:fix": "eslint . --ext .ts,.tsx,.js --fix", "serve": "node ./cypress/pages/server.js -p 8000 &", "start-cypress": "yarn run cypress run && npx nyc report --reporter=text-summary", "run-tests": "yarn run build-with-coverage && yarn run serve && yarn run start-cypress", "postrun-tests": "kill $(lsof -t -i:8000)" }, "dependencies": { "@types/pako": "^1.0.1", "lit": "^2.1.2", "lottie-web": "^5.12.2", "pako": "^2.0.4", "resize-observer-polyfill": "^1.5.1" }, "devDependencies": { "@babel/core": "^7.11.0", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-decorators": "^7.10.5", "@babel/preset-env": "^7.11.0", "@babel/preset-typescript": "^7.10.4", "@commitlint/cli": "^16.1.0", "@commitlint/config-conventional": "^16.0.0", "@cypress/code-coverage": "^3.9.12", "@istanbuljs/nyc-config-typescript": "^1.0.2", "@rollup/plugin-babel": "^5.1.0", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^13.1.3", "@semantic-release/changelog": "^6.0.1", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^8.0.2", "@semantic-release/npm": "^9.0.0", "@semantic-release/release-notes-generator": "^10.0.3", "babel-eslint": "^10.1.0", "babel-plugin-istanbul": "^6.1.1", "cypress": "^9.2.1", "cypress-real-events": "^1.6.0", "eslint": "^7.27.0", "eslint-plugin-only-warn": "^1.0.2", "fastify": "^3.25.3", "fastify-static": "^4.5.0", "husky": ">=4", "lerna": "^4.0.0", "lint-staged": "^12.3.2", "parcel-bundler": "^1.12.4", "prettier": "^2.3.0", "rollup": "^2.23.0", "rollup-plugin-copy": "^3.3.0", "rollup-plugin-filesize": "^9.0.2", "rollup-plugin-serve": "^1.0.3", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.31.1", "rollup-plugin-uglify": "^6.0.4", "rollup-plugin-visualizer": "^5.5.4", "semantic-release": "^19.0.2", "shx": "^0.3.4", "source-map-support": "^0.5.21", "ts-node": "^10.4.0", "typescript": "^4.5.5", "unicode-canonical-property-names-ecmascript": "^2.0.0" }, "files": [ "dist/" ], "keywords": [ "lottie", "animation", "lottiefiles", "web component", "component", "lit-element", "player", "telegram sticker", "tgs" ], "browserslist": [ "> 3%" ], "publishConfig": { "access": "public", "provenance": true }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{css,scss,md}": [ "prettier --write" ], "src/**/*.{js,jsx,ts,tsx,json}": [ "eslint . --ext .ts,.tsx,.js --fix" ] }, "nyc": { "extends": "@istanbuljs/nyc-config-typescript", "all": true }, "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447" }