UNPKG

micro-lottie-react

Version:

The smallest React Lottie player. 15KB. Zero deps. Supports .lottie files.

95 lines (94 loc) 2.68 kB
{ "name": "micro-lottie-react", "version": "1.0.1", "type": "module", "description": "The smallest React Lottie player. 15KB. Zero deps. Supports .lottie files.", "keywords": [ "lottie", "animation", "react", "typescript", "lightweight", "performance", "canvas", "svg", "micro", "lottie-files" ], "author": "Mucahit Gurbuz <mucahitgurbuz@example.com>", "license": "MIT", "homepage": "https://github.com/mucahitgurbuz/micro-lottie-react#readme", "repository": { "type": "git", "url": "https://github.com/mucahitgurbuz/micro-lottie-react.git" }, "bugs": { "url": "https://github.com/mucahitgurbuz/micro-lottie-react/issues" }, "main": "dist/index.umd.min.js", "module": "dist/index.umd.min.js", "types": "dist/index.d.ts", "files": [ "dist/index.d.ts", "dist/index.umd.min.js", "README.md" ], "sideEffects": false, "scripts": { "build": "rollup -c", "build:watch": "rollup -c -w", "dev": "rollup -c -w", "test": "jest --passWithNoTests", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "type-check": "tsc --noEmit", "benchmark": "node benchmarks/bundle-size.js && node benchmarks/performance.js", "size": "bundlesize", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:serve": "vitepress serve docs", "examples:dev": "cd examples && npm run dev", "prepare": "npm run build", "prepublishOnly": "npm run test && npm run type-check && npm run build" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/jest": "^29.5.8", "@types/react": "^18.2.38", "@types/react-dom": "^18.2.17", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", "bundlesize": "^0.18.1", "eslint": "^8.54.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "gzip-size": "^7.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^4.5.0", "ts-jest": "^29.1.1", "tslib": "^2.8.1", "typescript": "^5.3.2", "vitepress": "^1.0.0-rc.31" }, "bundlesize": [ { "path": "./dist/index.esm.js", "maxSize": "15kb" } ], "engines": { "node": ">=14.0.0" } }