{"_id":"@bedscales/recharts","_rev":"1-0708ffea31ca0c3ab214c07890d9af58","name":"@bedscales/recharts","dist-tags":{"latest":"1.8.5"},"versions":{"1.8.5":{"name":"@bedscales/recharts","version":"1.8.5","description":"React charts","main":"lib/index","module":"es6/index","jsnext:main":"es6/index","sideEffects":["./*/index.js","./*/polyfill.js"],"keywords":["react","reactjs","chart","react-component"],"scripts":{"build":"npm run build-cjs && npm run build-es6 && rimraf umd && npm run build-umd && npm run build-min","build-cjs":"rimraf lib && cross-env NODE_ENV=commonjs babel ./src -d lib","build-es6":"rimraf es6 && cross-env NODE_ENV=es6 babel ./src -d es6","build-umd":"cross-env NODE_ENV=development webpack src/index.js -o umd/Recharts.js","build-min":"cross-env NODE_ENV=production webpack src/index.js -o umd/Recharts.min.js","demo":"webpack-dev-server --progress --port 3000 --host 127.0.0.1 --content-base demo --inline --config demo/webpack.config.js","test":"cross-env NODE_ENV=test karma start test/karma.conf.js","lint":"eslint src","autofix":"eslint src --fix","analyse":"cross-env NODE_ENV=analyse webpack src/index.js -o umd/Recharts.js"},"pre-commit":[],"pre-push":["test","lint"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"homepage":"https://github.com/recharts/recharts","peerDependencies":{"react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"dependencies":{"classnames":"^2.2.5","core-js":"^2.6.10","d3-interpolate":"^1.3.0","d3-scale":"^2.1.0","d3-shape":"^1.2.0","lodash":"^4.17.5","prop-types":"^15.6.0","react-resize-detector":"^2.3.0","react-smooth":"^1.0.5","recharts-scale":"^0.4.2","reduce-css-calc":"^1.3.0"},"devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/plugin-proposal-decorators":"^7.6.0","@babel/plugin-proposal-export-default-from":"^7.0.0","@babel/plugin-proposal-export-namespace-from":"^7.0.0","@babel/plugin-proposal-function-bind":"^7.0.0","@babel/plugin-proposal-object-rest-spread":"^7.6.2","@babel/plugin-transform-runtime":"^7.6.2","@babel/polyfill":"^7.6.0","@babel/preset-env":"^7.6.3","@babel/preset-react":"^7.6.3","@babel/runtime":"^7.6.3","babel-eslint":"^10.0.3","babel-loader":"^8.0.0","babel-plugin-istanbul":"^5.0.0","babel-plugin-lodash":"^3.3.0","babel-preset-airbnb":"^2.6.0","chai":"^4.2.0","chai-enzyme":"^1.0.0-beta.1","cross-env":"^5.2.1","d3-scale-chromatic":"^1.5.0","enzyme":"^3.6.0","enzyme-adapter-react-16":"^1.15.1","eslint":"^5.6.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.0","eslint-plugin-react":"^7.16.0","json-loader":"^0.5.7","karma":"^4.3.0","karma-chai":"^0.1.0","karma-chrome-launcher":"^2.2.0","karma-coverage":"^1.1.0","karma-coveralls":"^2.1.0","karma-firefox-launcher":"^1.2.0","karma-mocha":"^1.3.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.0-rc.2","mocha":"^4.0.1","pre-commit":"^1.1.3","react":"^16.10.2","react-dom":"^16.10.2","react-hot-loader":"^1.3.0","react-router-dom":"^5.1.2","react-test-renderer":"^16.10.2","rimraf":"^2.7.1","sinon":"^7.5.0","webpack":"^4.41.2","webpack-bundle-analyzer":"^3.5.2","webpack-cli":"^3.3.9","webpack-dev-server":"^3.8.2"},"license":"MIT","gitHead":"0eec145b1dedad72ecfb60b7f2329870cedad3f8","_id":"@bedscales/recharts@1.8.5","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-2j5C9933O+bwR5SIBJAH5pYIrq02LXBD0OtYdqeVuNNiVTNdkMKol6WYerkhTp37cXSzq015Hww4EBRdB74VLw==","shasum":"a05f266f5560875fb63aba8d3373bd76e6dd5a87","tarball":"https://registry.npmjs.org/@bedscales/recharts/-/recharts-1.8.5.tgz","fileCount":252,"unpackedSize":6432261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0/aJCRA9TVsSAnZWagAApckP/i+kjDKRTnMBrFRrdEZa\nmmENvvGVbYw4PqtvrUxeWyfwNNZkzv0uB8rALj9ynorNTh9SZUTZ2/4GHD7H\n5PdRc/c9+fVkbY1ObiwfdN01TYZfgpeSjI8lYIIK1K2FLV3UhMHMkbN+t/9i\nKFGoEAjquV26DoWiwiQyN304vXgK33MtfnyoHypPR1M75ksyK2nGXIJeCG+7\nTAHyR6ONhVN7e2knQfOwoA7tEfk9Lmh1f4+m2dZxmQVPzu4tCx2qqCC5zBOG\nwp++sz+JufkON42ftDQiz9Pt0xl0iA9GNmu9qllRzGOPCVHC4JA440I4ANiY\n+LJ62ZkBrdHyYhUb9y15iRapyZfQP6slFSINNYz6F4yX1CHMPeakcWk/EWuM\nacmnRlHXrQ9CyLmpvDL/VmVff8dCEFYg0nohVWgYuZcJZZLk5ytNhDpLdlei\nB4rR7ZmtGG68E1jAkUK6tj9Asf0/2vn1P9qG6Vt3yySViKGhHnygGT2qAP0c\nd9+2s316xUphVMnXKEHh2+0tx1OiCAUPPszlkIPPaRpXJ1PqKkAEPU7xur4p\nmblJ+XYWKQKDyT1bzNABCMxoB6E9S4W67C4EKou8U8YS/tULeUAn3yJIUW3F\nBQfELeKJOA7er3KTyEjwJIdt+bk+v/l/bQqk6ivYZ2MKTqLirxBpcGxZJ3PI\nNw2n\r\n=O8PQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4zgTmSGaA+I57wOczeNQpFwZivSNbz1yKLFMxKqXk1gIgBgp69M5zfj2fqKd0njvX7/F82j+84Tnw8CVDF/BcEf4="}]},"maintainers":[{"name":"zalalov","email":"ruslanzalalov@gmail.com"}],"_npmUser":{"name":"zalalov","email":"ruslanzalalov@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/recharts_1.8.5_1574172296931_0.14741832371785946"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-19T14:04:56.698Z","1.8.5":"2019-11-19T14:04:57.103Z","modified":"2022-04-04T18:09:21.989Z"},"maintainers":[{"name":"zalalov","email":"ruslanzalalov@gmail.com"}],"description":"React charts","homepage":"https://github.com/recharts/recharts","keywords":["react","reactjs","chart","react-component"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"license":"MIT","readme":"# Recharts\n\n[![Sponsors on Open Collective](https://opencollective.com/recharts/sponsors/badge.svg)](https://opencollective.com/recharts#sponsors)\n[![Backers on Open Collective](https://opencollective.com/recharts/backers/badge.svg)](https://opencollective.com/recharts#backer)\n[![Rocket.Chat](https://demo.rocket.chat/images/join-chat.svg)](https://demo.rocket.chat/channel/recharts)\n[![Build Status](https://travis-ci.org/recharts/recharts.svg)](https://travis-ci.org/recharts/recharts)\n[![Coverage Status](https://coveralls.io/repos/recharts/recharts/badge.svg?branch=master&service=github)](https://coveralls.io/github/recharts/recharts?branch=master)\n[![npm version](https://badge.fury.io/js/recharts.svg)](http://badge.fury.io/js/recharts)\n[![npm downloads](https://img.shields.io/npm/dm/recharts.svg?style=flat-square)](https://www.npmjs.com/package/recharts)\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/recharts/recharts/raw/master/LICENSE)\n\n## Introduction\n\nRecharts is a **Redefined** chart library built with [React](https://facebook.github.io/react/) and [D3](http://d3js.org).\n\nThe main purpose of this library is to help you to write charts in React applications without any pain. Main principles of Recharts are:\n\n1. **Simply** deploy with React components.\n1. **Native** SVG support, lightweight depending only on some D3 submodules.\n1. **Declarative** components, components of charts are purely presentational.\n\n## Examples\n\n```jsx\n<LineChart\n  width={400}\n  height={400}\n  data={data}\n  margin={{ top: 5, right: 20, left: 10, bottom: 5 }}\n>\n  <XAxis dataKey=\"name\" />\n  <Tooltip />\n  <CartesianGrid stroke=\"#f5f5f5\" />\n  <Line type=\"monotone\" dataKey=\"uv\" stroke=\"#ff7300\" yAxisId={0} />\n  <Line type=\"monotone\" dataKey=\"pv\" stroke=\"#387908\" yAxisId={1} />\n</LineChart>\n```\n\nAll the components of Recharts are clearly separated. The lineChart is composed of x axis, tooltip, grid, and line items, and each of them is an independent React Component. The clear separation and composition of components is one of the principle Recharts follows.\n\n## Installation\n\n### npm\n\nNPM is the easiest and fastest way to get started using Recharts. It is also the recommended installation method when building single-page applications (SPAs). It pairs nicely with a CommonJS module bundler such as Webpack.\n\n\n```sh\n# latest stable\n$ npm install recharts\n```\n\n### umd\n\nThe UMD build is also available on unpkg.com:\n\n```html\n <script src=\"https://unpkg.com/react/umd/react.production.min.js\"></script>\n <script src=\"https://unpkg.com/react-dom/umd/react-dom.production.min.js\"></script>\n <script src=\"https://unpkg.com/prop-types/prop-types.min.js\"></script>\n <script src=\"https://unpkg.com/recharts/umd/Recharts.min.js\"></script>\n```\n\nThen you can find the library on `window.Recharts`.\n\n### dev build\n\n```sh\n$ git clone https://github.com/recharts/recharts.git\n$ cd recharts\n$ npm install\n$ npm run build\n```\n\n## Demo\n\nTo examine the demos in your local build, execute:\n\n```sh\n$ npm run[-script] demo\n```\n\nand then browse to http://localhost:3000.\n\n## Module Formats\n\n- [babel-plugin-recharts](https://github.com/recharts/babel-plugin-recharts) A simple transform to cherry-pick Recharts modules so you don’t have to.\n\n## Contribution\n\nWe'd love :heart: to hear what you think we should build. Please create an issue to write your usage or ideas.\n\nWe are looking for like-minded people who share the same idea about Recharts. The goal of this project is create a more flexible charting library for the  React community.\n\n## Sponsoring\n\nMost of the core team members do this open source work in their free time. If you use recharts for a important work, and you'd like us to invest more time on it, please [donate](https://opencollective.com/recharts#sponsors). Thanks!\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2015-2019 Recharts Group.\n","readmeFilename":"README.md"}