UNPKG

react-lottie-hook

Version:
102 lines 3.04 kB
{ "name": "react-lottie-hook", "version": "0.4.0", "license": "MIT", "description": "React Lottie written with react hooks", "engines": { "node": ">= 12" }, "keywords": [ "react", "lottie", "reactjs", "react-lottie", "react-component" ], "author": "Noam G Jacobson <noam.jacobson@protonmail.com> (https://github.com/JaysQubeXon)", "homepage": "https://github.com/JaysQubeXon/react-lottie-hook", "repository": "github:JaysQubeXon/react-lottie-hook", "bugs": "https://github.com/JaysQubeXon/react-lottie-hook/issues", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.esm.d.ts", "source": "src/index.ts", "scripts": { "build": "rollup -c rollup.config.js", "dev": "yarn build --watch", "test": "jest", "test:watch": "yarn test --watch --notify", "test:coverage": "yarn test --coverage", "lint": "tsc --noEmit && eslint \"src/**/*.{js,ts,tsx}\" \"*.{js,ts}\"", "lint:fix": "yarn lint --quiet --fix", "clean": "rm -rf ./dist", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook" }, "files": [ "dist" ], "contributors": [ "Arno (H) Welgemoed <arno.welgemoed@outlook.com> (ahwelgemoed.dev)" ], "peerDependencies": { "react": ">= 16.8.0 || >= 17.0.0", "react-dom": ">= 16.8.0 || >= 17.0.0" }, "dependencies": { "lottie-web": "^5.7.13", "tslib": "^2.3.1" }, "devDependencies": { "@babel/core": "^7.15.5", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-json": "^4.1.0", "@storybook/addon-actions": "^6.3.8", "@storybook/addon-essentials": "^6.3.8", "@storybook/addon-links": "^6.3.8", "@storybook/react": "^6.3.8", "@testing-library/dom": "^8.5.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.0", "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^13.2.1", "@types/jest": "^27.0.1", "@types/node": "^15.0.2", "@types/react": "^17.0.21", "@types/react-dom": "^17.0.9", "@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/parser": "^4.31.1", "@wessberg/rollup-plugin-ts": "^1.3.14", "babel-loader": "^8.2.2", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^24.4.2", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.25.2", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^6.0.0", "jest": "^27.2.0", "jest-canvas-mock": "^2.3.1", "lint-staged": "^11.1.2", "node-notifier": "^10.0.0", "prettier": "^2.4.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "rimraf": "^3.0.2", "rollup": "^2.56.3", "rollup-plugin-clear": "^2.0.7", "ts-jest": "^27.0.5", "typescript": "^4.4.3" }, "husky": { "hooks": { "pre-commit": "tsc --noEmit && lint-staged" } }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix" ] } }