{"_id":"@anieshaz/waterfall-anieshaz-plugin","name":"@anieshaz/waterfall-anieshaz-plugin","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@anieshaz/waterfall-anieshaz-plugin","version":"0.1.0","description":"Waterfall Horizontal Bars Plugin by @anieshaz","sideEffects":false,"main":"lib/index.js","module":"esm/index.js","private":false,"scripts":{"build":"npm run build-cjs && npm run build-esm && npm run ts-types","build-cjs":"babel src --extensions \".ts,.tsx,.js,.jsx\" --copy-files --out-dir lib","build-clean":"npm run clean && npm run build","build-esm":"BABEL_OUTPUT=esm babel src --extensions \".ts,.tsx,.js,.jsx\" --copy-files --out-dir esm","dev":"BABEL_OUTPUT=esm babel src --extensions \".ts,.tsx,.js,.jsx\" --watch --copy-files --out-dir esm","prebuild":"rimraf {lib,esm,tsconfig.tsbuildinfo}","postbuild":"npm run test","ts-types":"tsc --build","test":"jest"},"author":{"name":"Animesh Srivastava"},"license":"Apache-2.0","publishConfig":{"access":"public"},"peerDependencies":{"@ant-design/plots":"^1.0.9","@superset-ui/chart-controls":"*","@superset-ui/core":"*","react":"^16.13.1","react-dom":"^16.13.0"},"devDependencies":{"@airbnb/config-babel":"^2.0.1","@babel/cli":"^7.16.0","@types/jest":"^26.0.3","jest":"^26.6.3","process":"^0.11.10","rimraf":"^3.0.2","typescript":"^4.5.4"},"directories":{"test":"test"},"repository":{"type":"git","url":"git+https://github.com/anisriva/waterfall-anieshaz-plugin.git"},"bugs":{"url":"https://github.com/anisriva/waterfall-anieshaz-plugin/issues"},"homepage":"https://github.com/anisriva/waterfall-anieshaz-plugin#readme","gitHead":"facee9c0a0424f5338176243051dffbda5798dff","_id":"@anieshaz/waterfall-anieshaz-plugin@0.1.0","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-p7/mQv944m+1t5daBegiCjaxqxQswyfe/Cfq82ADQpyOQncgN5t8JZwgdmxma67Ye29wo+Bkha9vBM1uIAh3Gw==","shasum":"361af6631a3d546d047ca4470360a7289ec1d24a","tarball":"https://registry.npmjs.org/@anieshaz/waterfall-anieshaz-plugin/-/waterfall-anieshaz-plugin-0.1.0.tgz","fileCount":2,"unpackedSize":2861,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGSnhrqld6t/K/E1rK+JhJd942vSeRX24XKFeo4BAWMgIgSgArHiFDvXG9mej7AifshlaW3jN1ehCiNHfvgMUogw4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqMISACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbTg/+NAy6hQEhEagyqBhr6qM56qhELHkHPkO2IG0pwP9V091CeJ8X\r\nf7I1P+p4ud2VJ9Si6N/AQQOkCOCMXD6PXED7MEgamIYdfXJFfJclTo0cb/d3\r\nBg9lEWK2Yzz9gAqxIGrxYwHDxm8VMSa47/bfUfHB4DxdRzwJJo5hL2faQWir\r\nJzVe6Z61ouuis0+KQTQ5sHVSU8lfZGU4pOqBgGEHcTCOd5+htfc6BWYxH/FO\r\nRm2Bv3jnjLlVJUaHeR6NZnGwpbvq81MXPJmhH1BXPcpiMceddDKdYaAxSrhD\r\nUpLDgPzCbXl9m6BFAmfmQ2CVMRn7K77tR7ujoWqk5/ODZi8hgzi1hGNhp7ij\r\ngtATy2LbK5C81xF1GP2Toim4Msw79pxTzBWQQ+EO/wwoxgOa47mCueN7HHxI\r\nFdpZ6rfxIHNF0G5PKcqchsoCMs4OfpGf+OCeVjWcpWpmsjC6BcVzzhapJWyM\r\n5zaeghFrcMsy2h5R133BfjG2srxzC1UcMpkL1Ci97pGZ+g/O/IxLHhfCguXd\r\nvNyZaqXTasj5TpuUx62Vpaa+4zdg7G4cck4R6ExOdyiOtGJxKsHd83N2qWlK\r\nZuUt1wruS3Xl8ZLFhFMCmXWMYwqmUhoum3c6uEvJ01S1jMmDBPUivItzFrjs\r\ndemdvz7iU10wjO9lbrXe5UHJPW6++Skx7Ck=\r\n=stYR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anieshaz","email":"postanisrivastava@outlook.com"},"maintainers":[{"name":"anieshaz","email":"postanisrivastava@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/waterfall-anieshaz-plugin_0.1.0_1655226897950_0.7677182419761481"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-14T17:14:57.847Z","0.1.0":"2022-06-14T17:14:58.122Z","modified":"2022-06-14T17:14:58.243Z"},"maintainers":[{"name":"anieshaz","email":"postanisrivastava@outlook.com"}],"description":"Waterfall Horizontal Bars Plugin by @anieshaz","homepage":"https://github.com/anisriva/waterfall-anieshaz-plugin#readme","repository":{"type":"git","url":"git+https://github.com/anisriva/waterfall-anieshaz-plugin.git"},"author":{"name":"Animesh Srivastava"},"bugs":{"url":"https://github.com/anisriva/waterfall-anieshaz-plugin/issues"},"license":"Apache-2.0","readme":"# Waterfall Chart plugin for superset\n\nThis is the Waterfall Horizontal Bars Superset Chart Plugin.\n\n### Usage\n\nTo build the plugin, run the following commands:\n\n```\nnpm ci\nnpm run build\n```\n\nAlternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:\n\n```\nnpm run dev\n```\n\nTo add the package to Superset, go to the `superset-frontend` subdirectory in your Superset source folder (assuming both the `waterfall-anieshaz-plugin` plugin and `superset` repos are in the same root directory) and run\n```\nnpm i -S ../../waterfall-anieshaz-plugin\n```\n\nAfter this edit the `superset-frontend/src/visualizations/presets/MainPreset.js` and make the following changes:\n\n```js\nimport { WaterfallAnieshazPlugin } from 'waterfall-anieshaz-plugin';\n```\n\nto import the plugin and later add the following to the array that's passed to the `plugins` property:\n```js\nnew WaterfallAnieshazPlugin().configure({ key: 'waterfall-anieshaz-plugin' }),\n```\n\nAfter that the plugin should show up when you run Superset, e.g. the development server:\n\n```\nnpm run dev-server\n```\n","readmeFilename":"README.md"}