lottie-react-component
Version:
Render your lottie animations in React, with full typescript support
73 lines (72 loc) • 2.05 kB
JSON
{
"name": "lottie-react-component",
"version": "1.0.0",
"license": "MIT",
"author": "Jonluca DeCaro <lottie@jonlu.ca>",
"description": "Render your lottie animations in React, with full typescript support",
"types": "dist/mjs/index.d.ts",
"files": [
"/dist"
],
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
}
},
"keywords": [
"lottie",
"animation",
"react lottie",
"typescript lottie"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jonluca/lottie-react-component.git"
},
"bugs": {
"url": "https://github.com/jonluca/lottie-react-component/issues"
},
"homepage": "https://github.com/jonluca/lottie-react-component",
"scripts": {
"lint": "eslint src",
"build": "rm -fr dist/* && tsc -p tsconfig-mjs.json && tsc -p tsconfig-cjs.json && node scripts/fixup.js",
"typecheck": "tsc --noEmit",
"prettier": "prettier --write \"**/*.+(js|jsx|json|css|md)\""
},
"dependencies": {
"@types/react": "^18.0.15",
"lottie-api": "^1.0.3",
"lottie-web": "^5.9.6",
"react": "^18.2.0",
"typescript": "4.7.4"
},
"devDependencies": {
"@types/eslint": "8.4.5",
"@types/node": "^18.6.1",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unused-imports": "^2.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1"
},
"lint-staged": {
"**/*.{js,ts,jsx,tsx}": [
"eslint --cache --fix"
],
"**/*.{js,ts,jsx,tsx,json,md}": [
"prettier --write"
]
}
}