micro-lottie-react
Version:
The smallest React Lottie player. 15KB. Zero deps. Supports .lottie files.
106 lines (105 loc) • 2.94 kB
JSON
{
"name": "micro-lottie-react",
"version": "1.1.0",
"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.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"default": "./dist/index.esm.js"
}
},
"files": [
"dist/index.d.ts",
"dist/index.esm.js",
"dist/index.cjs.js",
"dist/index.umd.js",
"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": "17kb"
}
],
"engines": {
"node": ">=14.0.0"
}
}