{"_id":"@deep27/supersetpluginchart-helloworld","name":"@deep27/supersetpluginchart-helloworld","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@deep27/supersetpluginchart-helloworld","version":"0.0.1","description":"Superset Plugin Chart Hello World","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":"My Name"},"license":"MIT","publishConfig":{"access":"public"},"peerDependencies":{"@airbnb/config-babel":"^2.0.1","@superset-ui/chart-controls":"*","@superset-ui/core":"*","react":"^16.13.1"},"devDependencies":{"@babel/cli":"^7.16.0","@types/jest":"^26.0.4","jest":"^26.6.3","rimraf":"^3.0.2","typescript":"^4.1.2"},"directories":{"lib":"lib","test":"test"},"repository":{"type":"git","url":"test"},"keywords":["test"],"dependencies":{"abab":"^2.0.6","acorn":"^8.10.0","acorn-globals":"^6.0.0","acorn-walk":"^7.2.0","agent-base":"^6.0.2","ansi-escapes":"^4.3.2","ansi-regex":"^5.0.1","ansi-styles":"^4.3.0","anymatch":"^3.1.3","argparse":"^1.0.10","arr-diff":"^4.0.0","arr-flatten":"^1.1.0","arr-union":"^3.1.0","array-unique":"^0.3.2","assign-symbols":"^1.0.0","asynckit":"^0.4.0","atob":"^2.1.2","babel-jest":"^26.6.3","babel-plugin-istanbul":"^6.1.1","babel-plugin-jest-hoist":"^26.6.2","babel-preset-current-node-syntax":"^1.0.1","babel-preset-jest":"^26.6.2","balanced-match":"^1.0.2","base":"^0.11.2","binary-extensions":"^2.2.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browser-process-hrtime":"^1.0.0","browserslist":"^4.21.10","bser":"^2.1.1","buffer-from":"^1.1.2","cache-base":"^1.0.1","callsites":"^3.1.0","camelcase":"^5.3.1","caniuse-lite":"^1.0.30001527","capture-exit":"^2.0.0","chalk":"^4.1.2","char-regex":"^1.0.2","chokidar":"^3.5.3","ci-info":"^2.0.0","cjs-module-lexer":"^0.6.0","class-utils":"^0.3.6","cliui":"^6.0.0","co":"^4.6.0","collect-v8-coverage":"^1.0.2","collection-visit":"^1.0.0","color-convert":"^2.0.1","color-name":"^1.1.4","combined-stream":"^1.0.8","commander":"^4.1.1","component-emitter":"^1.3.0","concat-map":"^0.0.1","convert-source-map":"^1.9.0","copy-descriptor":"^0.1.1","cross-spawn":"^7.0.3","cssom":"^0.4.4","cssstyle":"^2.3.0","data-urls":"^2.0.0","debug":"^4.3.4","decamelize":"^1.2.0","decimal.js":"^10.4.3","decode-uri-component":"^0.2.2","deepmerge":"^4.3.1","define-property":"^0.2.5","delayed-stream":"^1.0.0","detect-newline":"^3.1.0","diff-sequences":"^26.6.2","domexception":"^2.0.1","electron-to-chromium":"^1.4.508","emittery":"^0.7.2","emoji-regex":"^8.0.0","end-of-stream":"^1.4.4","error-ex":"^1.3.2","escalade":"^3.1.1","escape-string-regexp":"^2.0.0","escodegen":"^2.1.0","esprima":"^4.0.1","estraverse":"^5.3.0","esutils":"^2.0.3","exec-sh":"^0.3.6","execa":"^4.1.0","exit":"^0.1.2","expand-brackets":"^2.1.4","expect":"^26.6.2","extend-shallow":"^2.0.1","extglob":"^2.0.4","fast-json-stable-stringify":"^2.1.0","fb-watchman":"^2.0.2","fill-range":"^7.0.1","find-up":"^4.1.0","for-in":"^1.0.2","form-data":"^3.0.1","fragment-cache":"^0.2.1","fs-readdir-recursive":"^1.1.0","fs.realpath":"^1.0.0","function-bind":"^1.1.1","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-package-type":"^0.1.0","get-stream":"^5.2.0","get-value":"^2.0.6","glob":"^7.2.3","glob-parent":"^5.1.2","globals":"^11.12.0","graceful-fs":"^4.2.11","growly":"^1.3.0","has":"^1.0.3","has-flag":"^4.0.0","has-value":"^1.0.0","has-values":"^1.0.0","hosted-git-info":"^2.8.9","html-encoding-sniffer":"^2.0.1","html-escaper":"^2.0.2","http-proxy-agent":"^4.0.1","https-proxy-agent":"^5.0.1","human-signals":"^1.1.1","iconv-lite":"^0.4.24","import-local":"^3.1.0","imurmurhash":"^0.1.4","inflight":"^1.0.6","inherits":"^2.0.4","is-accessor-descriptor":"^1.0.0","is-arrayish":"^0.2.1","is-binary-path":"^2.1.0","is-buffer":"^1.1.6","is-ci":"^2.0.0","is-core-module":"^2.13.0","is-data-descriptor":"^1.0.0","is-descriptor":"^1.0.2","is-docker":"^2.2.1","is-extendable":"^0.1.1","is-extglob":"^2.1.1","is-fullwidth-code-point":"^3.0.0","is-generator-fn":"^2.1.0","is-glob":"^4.0.3","is-number":"^3.0.0","is-plain-object":"^2.0.4","is-potential-custom-element-name":"^1.0.1","is-stream":"^2.0.1","is-typedarray":"^1.0.0","is-windows":"^1.0.2","is-wsl":"^2.2.0","isarray":"^1.0.0","isexe":"^2.0.0","isobject":"^3.0.1","istanbul-lib-coverage":"^3.2.0","istanbul-lib-instrument":"^4.0.3","istanbul-lib-report":"^3.0.1","istanbul-lib-source-maps":"^4.0.1","istanbul-reports":"^3.1.6","jest-changed-files":"^26.6.2","jest-cli":"^26.6.3","jest-config":"^26.6.3","jest-diff":"^26.6.2","jest-docblock":"^26.0.0","jest-each":"^26.6.2","jest-environment-jsdom":"^26.6.2","jest-environment-node":"^26.6.2","jest-get-type":"^26.3.0","jest-haste-map":"^26.6.2","jest-jasmine2":"^26.6.3","jest-leak-detector":"^26.6.2","jest-matcher-utils":"^26.6.2","jest-message-util":"^26.6.2","jest-mock":"^26.6.2","jest-pnp-resolver":"^1.2.3","jest-regex-util":"^26.0.0","jest-resolve":"^26.6.2","jest-resolve-dependencies":"^26.6.3","jest-runner":"^26.6.3","jest-runtime":"^26.6.3","jest-serializer":"^26.6.2","jest-snapshot":"^26.6.2","jest-util":"^26.6.2","jest-validate":"^26.6.2","jest-watcher":"^26.6.2","jest-worker":"^26.6.2","js-tokens":"^4.0.0","js-yaml":"^3.14.1","jsdom":"^16.7.0","jsesc":"^2.5.2","json-parse-even-better-errors":"^2.3.1","json5":"^2.2.3","kind-of":"^3.2.2","kleur":"^3.0.3","leven":"^3.1.0","lines-and-columns":"^1.2.4","locate-path":"^5.0.0","lodash":"^4.17.21","lru-cache":"^6.0.0","make-dir":"^2.1.0","makeerror":"^1.0.12","map-cache":"^0.2.2","map-visit":"^1.0.0","merge-stream":"^2.0.0","micromatch":"^4.0.5","mime-db":"^1.52.0","mime-types":"^2.1.35","mimic-fn":"^2.1.0","minimatch":"^3.1.2","minimist":"^1.2.8","mixin-deep":"^1.3.2","ms":"^2.1.2","nanomatch":"^1.2.13","natural-compare":"^1.4.0","nice-try":"^1.0.5","node-int64":"^0.4.0","node-notifier":"^8.0.2","node-releases":"^2.0.13","normalize-package-data":"^2.5.0","normalize-path":"^3.0.0","npm-run-path":"^4.0.1","nwsapi":"^2.2.7","object-copy":"^0.1.0","object-visit":"^1.0.1","object.pick":"^1.3.0","once":"^1.4.0","onetime":"^5.1.2","p-each-series":"^2.2.0","p-finally":"^1.0.0","p-limit":"^2.3.0","p-locate":"^4.1.0","p-try":"^2.2.0","parse-json":"^5.2.0","parse5":"^6.0.1","pascalcase":"^0.1.1","path-exists":"^4.0.0","path-is-absolute":"^1.0.1","path-key":"^2.0.1","path-parse":"^1.0.7","picocolors":"^1.0.0","picomatch":"^2.3.1","pify":"^4.0.1","pirates":"^4.0.6","pkg-dir":"^4.2.0","posix-character-classes":"^0.1.1","pretty-format":"^26.6.2","prompts":"^2.4.2","psl":"^1.9.0","pump":"^3.0.0","punycode":"^2.3.0","querystringify":"^2.2.0","react-is":"^17.0.2","read-pkg":"^5.2.0","read-pkg-up":"^7.0.1","readdirp":"^3.6.0","regex-not":"^1.0.2","remove-trailing-separator":"^1.1.0","repeat-element":"^1.1.4","repeat-string":"^1.6.1","require-directory":"^2.1.1","require-main-filename":"^2.0.0","requires-port":"^1.0.0","resolve":"^1.22.4","resolve-cwd":"^3.0.0","resolve-from":"^5.0.0","resolve-url":"^0.2.1","ret":"^0.1.15","rsvp":"^4.8.5","safe-regex":"^1.1.0","safer-buffer":"^2.1.2","sane":"^4.1.0","saxes":"^5.0.1","semver":"^6.3.1","set-blocking":"^2.0.0","set-value":"^2.0.1","shebang-command":"^2.0.0","shebang-regex":"^3.0.0","shellwords":"^0.1.1","signal-exit":"^3.0.7","sisteransi":"^1.0.5","slash":"^3.0.0","snapdragon":"^0.8.2","snapdragon-node":"^2.1.1","snapdragon-util":"^3.0.1","source-map":"^0.6.1","source-map-resolve":"^0.5.3","source-map-support":"^0.5.21","source-map-url":"^0.4.1","spdx-correct":"^3.2.0","spdx-exceptions":"^2.3.0","spdx-expression-parse":"^3.0.1","spdx-license-ids":"^3.0.13","split-string":"^3.1.0","sprintf-js":"^1.0.3","stack-utils":"^2.0.6","static-extend":"^0.1.2","string-length":"^4.0.2","string-width":"^4.2.3","strip-ansi":"^6.0.1","strip-bom":"^4.0.0","strip-eof":"^1.0.0","strip-final-newline":"^2.0.0","supports-color":"^7.2.0","supports-hyperlinks":"^2.3.0","supports-preserve-symlinks-flag":"^1.0.0","symbol-tree":"^3.2.4","terminal-link":"^2.1.1","test-exclude":"^6.0.0","throat":"^5.0.0","tmpl":"^1.0.5","to-fast-properties":"^2.0.0","to-object-path":"^0.3.0","to-regex":"^3.0.2","to-regex-range":"^5.0.1","tough-cookie":"^4.1.3","tr46":"^2.1.0","type-detect":"^4.0.8","type-fest":"^0.21.3","typedarray-to-buffer":"^3.1.5","union-value":"^1.0.1","universalify":"^0.2.0","unset-value":"^1.0.0","update-browserslist-db":"^1.0.11","urix":"^0.1.0","url-parse":"^1.5.10","use":"^3.1.1","uuid":"^8.3.2","v8-to-istanbul":"^7.1.2","validate-npm-package-license":"^3.0.4","w3c-hr-time":"^1.0.2","w3c-xmlserializer":"^2.0.0","walker":"^1.0.8","webidl-conversions":"^6.1.0","whatwg-encoding":"^1.0.5","whatwg-mimetype":"^2.3.0","whatwg-url":"^8.7.0","which":"^2.0.2","which-module":"^2.0.1","wrap-ansi":"^6.2.0","wrappy":"^1.0.2","write-file-atomic":"^3.0.3","ws":"^7.5.9","xml-name-validator":"^3.0.0","xmlchars":"^2.2.0","y18n":"^4.0.3","yallist":"^4.0.0","yargs":"^15.4.1","yargs-parser":"^18.1.3"},"gitHead":"5de9ce8c7dbcc89ca39dfc1401b9fed82ed7d7ff","_id":"@deep27/supersetpluginchart-helloworld@0.0.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"integrity":"sha512-56Xgzhyqk3UavUSYwzDhwZ6E1WBaxL6cgIOjDHN0WbgqrYpDUvNpTgEyPYH0nf2OeJeKLpAf1igq+qQh9zx/ww==","shasum":"a85c5237e75f04b1f4bce1654c2aa4d2807af71e","tarball":"https://registry.npmjs.org/@deep27/supersetpluginchart-helloworld/-/supersetpluginchart-helloworld-0.0.1.tgz","fileCount":10,"unpackedSize":37525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHk2gyD5P04lwP03JW1OZTD34sJvunDrD46kdyu7dysHAiAXheADYr4W4cQ/UwP+PnGrbYLCZdekWFgcMBrlho0Uvw=="}]},"_npmUser":{"name":"deep27","email":"deepprabhu1995@gmail.com"},"maintainers":[{"name":"deep27","email":"deepprabhu1995@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/supersetpluginchart-helloworld_0.0.1_1694082878558_0.9816794532934667"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-07T10:34:38.479Z","0.0.1":"2023-09-07T10:34:38.765Z","modified":"2023-09-07T10:34:39.029Z"},"maintainers":[{"name":"deep27","email":"deepprabhu1995@gmail.com"}],"description":"Superset Plugin Chart Hello World","keywords":["test"],"repository":{"type":"git","url":"test"},"author":{"name":"My Name"},"license":"MIT","readme":"# superset-plugin-chart-hello-world\r\n\r\nThis is the Superset Plugin Chart Hello World Superset Chart Plugin.\r\n\r\n### Usage\r\n\r\nTo build the plugin, run the following commands:\r\n\r\n```\r\nnpm ci\r\nnpm run build\r\n```\r\n\r\nAlternatively, to run the plugin in development mode (=rebuilding whenever changes are made), start the dev server with the following command:\r\n\r\n```\r\nnpm run dev\r\n```\r\n\r\nTo add the package to Superset, go to the `superset-frontend` subdirectory in your Superset source folder (assuming both the `superset-plugin-chart-hello-world` plugin and `superset` repos are in the same root directory) and run\r\n```\r\nnpm i -S ../../superset-plugin-chart-hello-world\r\n```\r\n\r\nIf your Superset plugin exists in the `superset-frontend` directory and you wish to resolve TypeScript errors about `@superset-ui/core` not being resolved correctly, add the following to your `tsconfig.json` file:\r\n\r\n```\r\n\"references\": [\r\n  {\r\n    \"path\": \"../../packages/superset-ui-chart-controls\"\r\n  },\r\n  {\r\n    \"path\": \"../../packages/superset-ui-core\"\r\n  }\r\n]\r\n```\r\n\r\nYou may also wish to add the following to the `include` array in `tsconfig.json` to make Superset types available to your plugin:\r\n\r\n```\r\n\"../../types/**/*\"\r\n```\r\n\r\nFinally, if you wish to ensure your plugin `tsconfig.json` is aligned with the root Superset project, you may add the following to your `tsconfig.json` file:\r\n\r\n```\r\n\"extends\": \"../../tsconfig.json\",\r\n```\r\n\r\nAfter this edit the `superset-frontend/src/visualizations/presets/MainPreset.js` and make the following changes:\r\n\r\n```js\r\nimport { SupersetPluginChartHelloWorld } from 'superset-plugin-chart-hello-world';\r\n```\r\n\r\nto import the plugin and later add the following to the array that's passed to the `plugins` property:\r\n```js\r\nnew SupersetPluginChartHelloWorld().configure({ key: 'superset-plugin-chart-hello-world' }),\r\n```\r\n\r\nAfter that the plugin should show up when you run Superset, e.g. the development server:\r\n\r\n```\r\nnpm run dev-server\r\n```\r\n","readmeFilename":"README.md"}