UNPKG

echarts-for-react-fc

Version:

Using ECharts in React, encapsulating it within a functional component, and providing a hook for consumers to consume.

70 lines (69 loc) 1.81 kB
{ "name": "echarts-for-react-fc", "version": "1.0.6", "description": "Using ECharts in React, encapsulating it within a functional component, and providing a hook for consumers to consume.", "license": "MIT", "type": "module", "sideEffects": false, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "README-zh_CN.md" ], "author": "mmmml-zhao", "homepage": "https://github.com/mmmml-zhao/echarts-for-react-fc", "repository": { "type": "git", "url": "https://github.com/mmmml-zhao/echarts-for-react-fc" }, "bugs": { "url": "https://github.com/mmmml-zhao/echarts-for-react-fc/issues" }, "scripts": { "dev": "vite", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "keywords": [ "react", "echarts", "hook", "hooks", "component", "echarts-react", "react-echarts", "chart", "charts", "react-component" ], "dependencies": { "lodash-es": "^4.17.21" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.3", "@types/lodash-es": "^4.17.12", "@types/node": "^20.6.2", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitejs/plugin-react": "^4.3.4", "echarts": "^5.4.3", "eslint": "^8.45.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.3", "path": "^0.12.7", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.0.2", "vite": "^6.2.5", "vite-plugin-dts": "^4.5.3" }, "peerDependencies": { "echarts": "^5.0.0", "react": ">=16.8.0" } }