package.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. {
  2. "name": "superset",
  3. "version": "0.0.0-dev",
  4. "description": "Superset is a data exploration platform designed to be visual, intuitive, and interactive.",
  5. "keywords": [
  6. "big",
  7. "data",
  8. "exploratory",
  9. "analysis",
  10. "react",
  11. "d3",
  12. "airbnb",
  13. "nerds",
  14. "database",
  15. "flask"
  16. ],
  17. "homepage": "https://superset.apache.org/",
  18. "bugs": {
  19. "url": "https://github.com/apache/superset/issues"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/apache/superset.git",
  24. "directory": "superset-frontend"
  25. },
  26. "license": "Apache-2.0",
  27. "author": {
  28. "name": "Apache"
  29. },
  30. "directories": {
  31. "doc": "docs",
  32. "test": "spec"
  33. },
  34. "workspaces": [
  35. "packages/*",
  36. "plugins/*",
  37. "src/setup/*"
  38. ],
  39. "scripts": {
  40. "_prettier": "prettier './({src,spec,cypress-base,plugins,packages,.storybook}/**/*{.js,.jsx,.ts,.tsx,.css,.scss,.sass}|package.json)'",
  41. "build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production BABEL_ENV=\"${BABEL_ENV:=production}\" webpack --color --mode production",
  42. "build-dev": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=development webpack --mode=development --color",
  43. "build-instrumented": "cross-env NODE_ENV=production BABEL_ENV=instrumented webpack --mode=production --color",
  44. "build-storybook": "storybook build",
  45. "build-translation": "scripts/po2json.sh",
  46. "bundle-stats": "cross-env BUNDLE_ANALYZER=true npm run build && npx open-cli ../superset/static/stats/statistics.html",
  47. "core:cover": "cross-env NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=4096\" jest --coverage --coverageThreshold='{\"global\":{\"statements\":100,\"branches\":100,\"functions\":100,\"lines\":100}}' --collectCoverageFrom='[\"packages/**/src/**/*.{js,ts}\", \"!packages/superset-ui-demo/**/*\", \"!packages/superset-core/**/*\"]' packages",
  48. "cover": "cross-env NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=4096\" jest --coverage",
  49. "dev": "webpack --mode=development --color --watch",
  50. "dev-server": "cross-env NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development",
  51. "format": "npm run _prettier -- --write",
  52. "eslint": "npm run lint",
  53. "lint": "npx oxlint --config oxlint.json --quiet",
  54. "lint:all": "npx oxlint --config oxlint.json && npm run type",
  55. "lint-fix": "npx oxlint --config oxlint.json --fix --quiet",
  56. "lint-fix:all": "npx oxlint --config oxlint.json --fix",
  57. "lint:full": "npm run lint && npm run check:custom-rules",
  58. "check:custom-rules": "node scripts/check-custom-rules.js",
  59. "ensure-oxc": "echo 'OXC linter is ready' && npx oxlint --version",
  60. "lint-stats": "node ./scripts/oxlint-metrics-uploader.js",
  61. "plugins:build": "node ./scripts/build.js",
  62. "plugins:build-assets": "node ./scripts/copyAssets.js",
  63. "plugins:build-storybook": "cd packages/superset-ui-demo && npm run build-storybook",
  64. "plugins:create-conventional-version": "npm run prune && lerna version --conventional-commits --create-release github --no-private --yes --tag-version-prefix=\"plugins-and-packages-v\"",
  65. "plugins:create-minor-version": "npm run prune && lerna version minor --no-private --yes --tag-version-prefix=\"plugins-and-packages-v\"",
  66. "plugins:create-patch-version": "npm run prune && lerna version patch --no-private --yes --tag-version-prefix=\"plugins-and-packages-v\"",
  67. "plugins:publish-all": "npm run prune && npm run plugins:build && lerna publish from-package --force-publish --yes",
  68. "plugins:release-conventional": "npm run prune && npm run plugins:build && lerna publish --conventional-commits --create-release github --yes",
  69. "plugins:release-from-tag": "npm run prune && npm run plugins:build && lerna publish from-package --yes",
  70. "plugins:storybook": "cd packages/superset-ui-demo && npm run storybook",
  71. "playwright:test": "playwright test",
  72. "playwright:ui": "playwright test --ui",
  73. "playwright:headed": "playwright test --headed",
  74. "playwright:debug": "playwright test --debug",
  75. "playwright:report": "playwright show-report",
  76. "prettier": "npm run _prettier -- --write",
  77. "prettier-check": "npm run _prettier -- --check",
  78. "prod": "npm run build",
  79. "prune": "rm -rf ./{packages,plugins}/*/{node_modules,lib,esm,tsconfig.tsbuildinfo,package-lock.json} ./.temp_cache",
  80. "storybook": "cross-env NODE_ENV=development BABEL_ENV=development storybook dev -p 6006",
  81. "tdd": "cross-env NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=8192\" jest --watch",
  82. "test": "cross-env NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=8192\" jest --max-workers=80% --silent",
  83. "test-loud": "cross-env NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=8192\" jest --max-workers=80%",
  84. "type": "tsc --noEmit",
  85. "update-maps": "cd plugins/legacy-plugin-chart-country-map/scripts && jupyter nbconvert --to notebook --execute --inplace --allow-errors --ExecutePreprocessor.timeout=1200 'Country Map GeoJSON Generator.ipynb'",
  86. "validate-release": "../RELEASING/validate_this_release.sh"
  87. },
  88. "browserslist": [
  89. "last 3 chrome versions",
  90. "last 3 firefox versions",
  91. "last 3 safari versions",
  92. "last 3 edge versions"
  93. ],
  94. "dependencies": {
  95. "@apache-superset/core": "file:packages/superset-core",
  96. "@emotion/cache": "^11.4.0",
  97. "@emotion/react": "^11.14.0",
  98. "@emotion/styled": "^11.14.1",
  99. "@reduxjs/toolkit": "^1.9.3",
  100. "@rjsf/core": "^5.24.13",
  101. "@rjsf/utils": "^5.24.3",
  102. "@rjsf/validator-ajv8": "^5.24.13",
  103. "@scarf/scarf": "^1.4.0",
  104. "@superset-ui/chart-controls": "file:./packages/superset-ui-chart-controls",
  105. "@superset-ui/core": "file:./packages/superset-ui-core",
  106. "@superset-ui/legacy-plugin-chart-calendar": "file:./plugins/legacy-plugin-chart-calendar",
  107. "@superset-ui/legacy-plugin-chart-chord": "file:./plugins/legacy-plugin-chart-chord",
  108. "@superset-ui/legacy-plugin-chart-country-map": "file:./plugins/legacy-plugin-chart-country-map",
  109. "@superset-ui/legacy-plugin-chart-horizon": "file:./plugins/legacy-plugin-chart-horizon",
  110. "@superset-ui/legacy-plugin-chart-map-box": "file:./plugins/legacy-plugin-chart-map-box",
  111. "@superset-ui/legacy-plugin-chart-paired-t-test": "file:./plugins/legacy-plugin-chart-paired-t-test",
  112. "@superset-ui/legacy-plugin-chart-parallel-coordinates": "file:./plugins/legacy-plugin-chart-parallel-coordinates",
  113. "@superset-ui/legacy-plugin-chart-partition": "file:./plugins/legacy-plugin-chart-partition",
  114. "@superset-ui/legacy-plugin-chart-rose": "file:./plugins/legacy-plugin-chart-rose",
  115. "@superset-ui/legacy-plugin-chart-world-map": "file:./plugins/legacy-plugin-chart-world-map",
  116. "@superset-ui/legacy-preset-chart-deckgl": "file:./plugins/legacy-preset-chart-deckgl",
  117. "@superset-ui/legacy-preset-chart-nvd3": "file:./plugins/legacy-preset-chart-nvd3",
  118. "@superset-ui/plugin-chart-ag-grid-table": "file:./plugins/plugin-chart-ag-grid-table",
  119. "@superset-ui/plugin-chart-cartodiagram": "file:./plugins/plugin-chart-cartodiagram",
  120. "@superset-ui/plugin-chart-echarts": "file:./plugins/plugin-chart-echarts",
  121. "@superset-ui/plugin-chart-handlebars": "file:./plugins/plugin-chart-handlebars",
  122. "@superset-ui/plugin-chart-pivot-table": "file:./plugins/plugin-chart-pivot-table",
  123. "@superset-ui/plugin-chart-table": "file:./plugins/plugin-chart-table",
  124. "@superset-ui/plugin-chart-word-cloud": "file:./plugins/plugin-chart-word-cloud",
  125. "@superset-ui/switchboard": "file:./packages/superset-ui-switchboard",
  126. "@types/d3-format": "^3.0.1",
  127. "@types/d3-time-format": "^4.0.3",
  128. "@types/react-google-recaptcha": "^2.1.9",
  129. "@visx/axis": "^3.8.0",
  130. "@visx/grid": "^3.5.0",
  131. "@visx/responsive": "^3.0.0",
  132. "@visx/scale": "^3.5.0",
  133. "@visx/tooltip": "^3.0.0",
  134. "@visx/xychart": "^3.5.1",
  135. "ag-grid-community": "34.2.0",
  136. "ag-grid-react": "34.2.0",
  137. "antd": "^5.24.9",
  138. "chrono-node": "^2.7.8",
  139. "classnames": "^2.2.5",
  140. "content-disposition": "^0.5.4",
  141. "d3-color": "^3.1.0",
  142. "d3-scale": "^2.1.2",
  143. "dayjs": "^1.11.18",
  144. "dom-to-image-more": "^3.6.0",
  145. "dom-to-pdf": "^0.3.2",
  146. "echarts": "^5.6.0",
  147. "eslint-plugin-i18n-strings": "file:eslint-rules/eslint-plugin-i18n-strings",
  148. "fast-glob": "^3.3.2",
  149. "fs-extra": "^11.2.0",
  150. "fuse.js": "^7.1.0",
  151. "geolib": "^2.0.24",
  152. "geostyler": "^14.1.3",
  153. "geostyler-data": "^1.1.0",
  154. "geostyler-openlayers-parser": "^4.3.0",
  155. "geostyler-qgis-parser": "2.0.1",
  156. "geostyler-style": "7.5.0",
  157. "geostyler-wfs-parser": "^2.0.3",
  158. "googleapis": "^154.1.0",
  159. "immer": "^10.1.1",
  160. "interweave": "^13.1.1",
  161. "jquery": "^3.7.1",
  162. "js-levenshtein": "^1.1.6",
  163. "js-yaml-loader": "^1.2.2",
  164. "json-bigint": "^1.0.0",
  165. "json-stringify-pretty-compact": "^2.0.0",
  166. "lodash": "^4.17.21",
  167. "luxon": "^3.7.1",
  168. "mapbox-gl": "^3.13.0",
  169. "markdown-to-jsx": "^7.7.4",
  170. "match-sorter": "^6.3.4",
  171. "memoize-one": "^5.2.1",
  172. "mousetrap": "^1.6.5",
  173. "mustache": "^4.2.0",
  174. "nanoid": "^5.0.9",
  175. "ol": "^7.5.2",
  176. "polished": "^4.3.1",
  177. "prop-types": "^15.8.1",
  178. "re-resizable": "^6.10.1",
  179. "react": "^17.0.2",
  180. "react-checkbox-tree": "^1.8.0",
  181. "react-diff-viewer-continued": "^3.4.0",
  182. "react-dnd": "^11.1.3",
  183. "react-dnd-html5-backend": "^11.1.3",
  184. "react-dom": "^17.0.2",
  185. "react-google-recaptcha": "^3.1.0",
  186. "react-hot-loader": "^4.13.1",
  187. "react-intersection-observer": "^9.16.0",
  188. "react-json-tree": "^0.20.0",
  189. "react-lines-ellipsis": "^0.16.1",
  190. "react-loadable": "^5.5.0",
  191. "react-redux": "^7.2.9",
  192. "react-resize-detector": "^7.1.2",
  193. "react-reverse-portal": "^2.3.0",
  194. "react-router-dom": "^5.3.4",
  195. "react-search-input": "^0.11.3",
  196. "react-sortable-hoc": "^2.0.0",
  197. "react-split": "^2.0.9",
  198. "react-table": "^7.8.0",
  199. "react-transition-group": "^4.4.5",
  200. "react-virtualized-auto-sizer": "^1.0.26",
  201. "react-window": "^1.8.10",
  202. "redux": "^4.2.1",
  203. "redux-localstorage": "^0.4.1",
  204. "redux-thunk": "^2.1.0",
  205. "redux-undo": "^1.0.0-beta9-9-7",
  206. "rison": "^0.1.1",
  207. "scroll-into-view-if-needed": "^3.1.0",
  208. "simple-zstd": "^1.4.2",
  209. "stream-browserify": "^3.0.0",
  210. "tinycolor2": "^1.4.2",
  211. "urijs": "^1.19.8",
  212. "use-event-callback": "^0.1.0",
  213. "use-immer": "^0.11.0",
  214. "use-query-params": "^1.1.9",
  215. "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
  216. "yargs": "^17.7.2"
  217. },
  218. "devDependencies": {
  219. "@applitools/eyes-storybook": "^3.60.0",
  220. "@babel/cli": "^7.28.3",
  221. "@babel/compat-data": "^7.28.4",
  222. "@babel/core": "^7.28.3",
  223. "@babel/eslint-parser": "^7.28.4",
  224. "@babel/node": "^7.22.6",
  225. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  226. "@babel/plugin-transform-export-namespace-from": "^7.27.1",
  227. "@babel/plugin-transform-modules-commonjs": "^7.26.3",
  228. "@babel/plugin-transform-runtime": "^7.28.3",
  229. "@babel/preset-env": "^7.27.2",
  230. "@babel/preset-react": "^7.27.1",
  231. "@babel/preset-typescript": "^7.26.0",
  232. "@babel/register": "^7.23.7",
  233. "@babel/runtime": "^7.28.4",
  234. "@babel/runtime-corejs3": "^7.28.2",
  235. "@babel/types": "^7.26.9",
  236. "@cypress/react": "^8.0.2",
  237. "@emotion/babel-plugin": "^11.13.5",
  238. "@emotion/jest": "^11.13.0",
  239. "@hot-loader/react-dom": "^17.0.2",
  240. "@istanbuljs/nyc-config-typescript": "^1.0.1",
  241. "@mihkeleidast/storybook-addon-source": "^1.0.1",
  242. "@playwright/test": "^1.56.0",
  243. "@storybook/addon-actions": "8.1.11",
  244. "@storybook/addon-controls": "8.1.11",
  245. "@storybook/addon-essentials": "8.1.11",
  246. "@storybook/addon-links": "8.1.11",
  247. "@storybook/addon-mdx-gfm": "8.1.11",
  248. "@storybook/components": "8.1.11",
  249. "@storybook/preview-api": "8.1.11",
  250. "@storybook/react": "8.1.11",
  251. "@storybook/react-webpack5": "8.1.11",
  252. "@svgr/webpack": "^8.1.0",
  253. "@testing-library/dom": "^8.20.1",
  254. "@testing-library/jest-dom": "^6.6.3",
  255. "@testing-library/react": "^12.1.5",
  256. "@testing-library/react-hooks": "^8.0.1",
  257. "@testing-library/user-event": "^12.8.3",
  258. "@types/content-disposition": "^0.5.9",
  259. "@types/dom-to-image": "^2.6.7",
  260. "@types/jest": "^29.5.14",
  261. "@types/js-levenshtein": "^1.1.3",
  262. "@types/json-bigint": "^1.0.4",
  263. "@types/math-expression-evaluator": "^1.3.3",
  264. "@types/mousetrap": "^1.6.15",
  265. "@types/node": "^24.8.1",
  266. "@types/react": "^17.0.83",
  267. "@types/react-dom": "^17.0.26",
  268. "@types/react-json-tree": "^0.13.0",
  269. "@types/react-loadable": "^5.5.11",
  270. "@types/react-redux": "^7.1.10",
  271. "@types/react-resizable": "^3.0.8",
  272. "@types/react-router-dom": "^5.3.3",
  273. "@types/react-transition-group": "^4.4.12",
  274. "@types/react-virtualized-auto-sizer": "^1.0.8",
  275. "@types/react-window": "^1.8.8",
  276. "@types/redux-localstorage": "^1.0.8",
  277. "@types/redux-mock-store": "^1.0.6",
  278. "@types/rison": "0.1.0",
  279. "@types/sinon": "^17.0.3",
  280. "@types/testing-library__jest-dom": "^5.14.9",
  281. "@types/tinycolor2": "^1.4.3",
  282. "@typescript-eslint/eslint-plugin": "^7.18.0",
  283. "@typescript-eslint/parser": "^7.18.0",
  284. "babel-jest": "^30.0.2",
  285. "babel-loader": "^10.0.0",
  286. "babel-plugin-dynamic-import-node": "^2.3.3",
  287. "babel-plugin-jsx-remove-data-test-id": "^3.0.0",
  288. "babel-plugin-lodash": "^3.3.4",
  289. "babel-plugin-typescript-to-proptypes": "^2.0.0",
  290. "cheerio": "1.1.0",
  291. "copy-webpack-plugin": "^13.0.1",
  292. "cross-env": "^10.0.0",
  293. "css-loader": "^7.1.2",
  294. "css-minimizer-webpack-plugin": "^7.0.2",
  295. "eslint": "^8.56.0",
  296. "eslint-config-prettier": "^7.2.0",
  297. "eslint-import-resolver-alias": "^1.1.2",
  298. "eslint-import-resolver-typescript": "^4.4.4",
  299. "eslint-plugin-cypress": "^3.6.0",
  300. "eslint-plugin-file-progress": "^1.5.0",
  301. "eslint-plugin-icons": "file:eslint-rules/eslint-plugin-icons",
  302. "eslint-plugin-import": "^2.32.0",
  303. "eslint-plugin-jest": "^27.8.0",
  304. "eslint-plugin-jest-dom": "^5.5.0",
  305. "eslint-plugin-jsx-a11y": "^6.4.1",
  306. "eslint-plugin-lodash": "^7.4.0",
  307. "eslint-plugin-no-only-tests": "^3.3.0",
  308. "eslint-plugin-prettier": "^5.5.4",
  309. "eslint-plugin-react": "^7.37.5",
  310. "eslint-plugin-react-hooks": "^4.6.2",
  311. "eslint-plugin-react-prefer-function-component": "^3.3.0",
  312. "eslint-plugin-react-you-might-not-need-an-effect": "^0.5.1",
  313. "eslint-plugin-storybook": "^0.8.0",
  314. "eslint-plugin-testing-library": "^6.4.0",
  315. "eslint-plugin-theme-colors": "file:eslint-rules/eslint-plugin-theme-colors",
  316. "fetch-mock": "^11.1.5",
  317. "fork-ts-checker-webpack-plugin": "^9.1.0",
  318. "history": "^5.3.0",
  319. "html-webpack-plugin": "^5.6.4",
  320. "imports-loader": "^5.0.0",
  321. "jest": "^30.0.2",
  322. "jest-environment-jsdom": "^29.7.0",
  323. "jest-html-reporter": "^4.3.0",
  324. "jest-websocket-mock": "^2.5.0",
  325. "jsdom": "^27.0.0",
  326. "lerna": "^8.2.3",
  327. "mini-css-extract-plugin": "^2.9.0",
  328. "open-cli": "^8.0.0",
  329. "oxlint": "^1.16.0",
  330. "po2json": "^0.4.5",
  331. "prettier": "3.6.2",
  332. "prettier-plugin-packagejson": "^2.5.19",
  333. "process": "^0.11.10",
  334. "react-resizable": "^3.0.5",
  335. "redux-mock-store": "^1.5.4",
  336. "sinon": "^18.0.0",
  337. "source-map": "^0.7.4",
  338. "source-map-support": "^0.5.21",
  339. "speed-measure-webpack-plugin": "^1.5.0",
  340. "storybook": "8.1.11",
  341. "style-loader": "^4.0.0",
  342. "thread-loader": "^4.0.4",
  343. "ts-jest": "^29.4.5",
  344. "ts-loader": "^9.5.1",
  345. "tscw-config": "^1.1.2",
  346. "tsx": "^4.20.3",
  347. "typescript": "5.4.5",
  348. "vm-browserify": "^1.1.2",
  349. "webpack": "^5.102.1",
  350. "webpack-bundle-analyzer": "^4.10.1",
  351. "webpack-cli": "^6.0.1",
  352. "webpack-dev-server": "^5.2.2",
  353. "webpack-manifest-plugin": "^5.0.1",
  354. "webpack-sources": "^3.3.3",
  355. "webpack-visualizer-plugin2": "^1.2.0"
  356. },
  357. "peerDependencies": {
  358. "ace-builds": "^1.41.0",
  359. "core-js": "^3.38.1",
  360. "handlebars": "^4.7.8",
  361. "react-ace": "^10.1.0",
  362. "regenerator-runtime": "^0.14.1"
  363. },
  364. "engines": {
  365. "node": "^20.18.1",
  366. "npm": "^10.8.1"
  367. },
  368. "overrides": {
  369. "core-js": "^3.38.1",
  370. "d3-color": "^3.1.0",
  371. "puppeteer": "^22.4.1",
  372. "underscore": "^1.13.7",
  373. "jspdf": "^3.0.1",
  374. "nwsapi": "^2.2.13"
  375. },
  376. "readme": "ERROR: No README data found!",
  377. "scarfSettings": {
  378. "allowTopLevel": true
  379. },
  380. "_id": "superset@0.0.0-dev"
  381. }