UNPKG

@grafana/ui

Version:
193 lines • 6.13 kB
{ "author": "Grafana Labs", "license": "Apache-2.0", "name": "@grafana/ui", "version": "13.1.3", "description": "Grafana Components Library", "keywords": [ "grafana", "react", "react-component", "typescript" ], "sideEffects": false, "repository": { "type": "git", "url": "http://github.com/grafana/grafana.git", "directory": "packages/grafana-ui" }, "main": "./dist/cjs/index.cjs", "module": "./dist/esm/index.mjs", "types": "./dist/types/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "@grafana-app/source": "./src/index.ts", "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.mjs", "require": "./dist/cjs/index.cjs" }, "./unstable": { "@grafana-app/source": "./src/unstable.ts", "types": "./dist/types/unstable.d.ts", "import": "./dist/esm/unstable.mjs", "require": "./dist/cjs/unstable.cjs" } }, "publishConfig": { "access": "public" }, "files": [ "./dist", "!./dist/storybook", "./README.md", "./CHANGELOG.md", "./LICENSE_APACHE2" ], "scripts": { "build": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.ts --configPlugin esbuild", "bundle": "rollup -c rollup.config.ts --configPlugin esbuild", "clean": "rimraf ./dist ./compiled ./unstable ./package.tgz", "storybook": "storybook dev -p 9001 -c .storybook --no-open", "storybook:build": "storybook build -o ./dist/storybook -c .storybook", "storybook:test": "test-storybook --url http://localhost:9001", "typecheck": "tsc --emitDeclarationOnly false --noEmit", "prepack": "cp package.json package.json.bak && node ../../scripts/prepare-npm-package.js", "postpack": "mv package.json.bak package.json" }, "browserslist": [ "defaults", "not IE 11" ], "dependencies": { "@codemirror/autocomplete": "6.20.1", "@codemirror/lang-json": "6.0.2", "@codemirror/lang-sql": "6.10.0", "@codemirror/state": "6.6.0", "@codemirror/view": "6.41.0", "@emotion/css": "11.13.5", "@emotion/react": "11.14.0", "@emotion/serialize": "1.3.3", "@floating-ui/react": "0.27.19", "@grafana/data": "13.1.3", "@grafana/e2e-selectors": "13.1.3", "@grafana/faro-web-sdk": "^2.7.0", "@grafana/i18n": "13.1.3", "@grafana/react-data-grid": "7.0.0-beta.57", "@grafana/schema": "13.1.3", "@hello-pangea/dnd": "18.0.1", "@monaco-editor/react": "4.7.0", "@popperjs/core": "2.11.8", "@rc-component/cascader": "1.9.0", "@rc-component/drawer": "1.3.0", "@rc-component/slider": "1.0.1", "@rc-component/tooltip": "1.4.0", "@react-aria/dialog": "3.5.31", "@react-aria/focus": "3.21.2", "@react-aria/overlays": "3.30.0", "@tanstack/react-virtual": "^3.5.1", "@types/jquery": "3.5.33", "@types/lodash": "4.17.20", "@types/react-table": "7.7.20", "@uiw/codemirror-theme-vscode": "4.25.9", "@uiw/react-codemirror": "4.25.9", "calculate-size": "1.1.1", "classnames": "2.5.1", "clsx": "^2.1.1", "date-fns": "4.1.0", "downshift": "^9.0.6", "hoist-non-react-statics": "3.3.2", "immutable": "^5.1.5", "is-hotkey": "0.2.0", "jquery": "3.7.1", "lodash": "^4.17.23", "micro-memoize": "^4.1.2", "monaco-editor": "0.34.1", "ol": "10.7.0", "prismjs": "1.30.0", "react-calendar": "^6.0.0", "react-colorful": "5.6.1", "react-custom-scrollbars-2": "4.5.0", "react-dropzone": "14.3.8", "react-highlight-words": "0.21.0", "react-hook-form": "^7.49.2", "react-inlinesvg": "4.3.0", "react-loading-skeleton": "3.5.0", "react-router-dom": "5.3.4", "react-router-dom-v5-compat": "^6.26.1", "react-select": "5.10.2", "react-table": "7.8.0", "react-transition-group": "4.4.5", "react-use": "^17.6.0", "react-window": "1.8.11", "rxjs": "7.8.2", "slate": "0.47.9", "slate-plain-serializer": "0.7.13", "slate-react": "0.22.10", "tinycolor2": "1.6.0", "uplot": "1.6.32", "uwrap": "0.1.2" }, "devDependencies": { "@faker-js/faker": "^9.0.0", "@grafana/test-utils": "^13.1.3", "@rollup/plugin-node-resolve": "16.0.1", "@storybook/addon-a11y": "10.3.6", "@storybook/addon-docs": "10.3.6", "@storybook/addon-webpack5-compiler-swc": "^4.0.3", "@storybook/preset-scss": "1.0.3", "@storybook/react": "10.3.6", "@storybook/react-webpack5": "10.3.6", "@storybook/test-runner": "^0.24.3", "@testing-library/dom": "10.4.1", "@testing-library/jest-dom": "6.6.4", "@testing-library/react": "16.3.0", "@testing-library/user-event": "14.6.1", "@types/chance": "^1.1.7", "@types/common-tags": "^1.8.0", "@types/hoist-non-react-statics": "3.3.7", "@types/is-hotkey": "0.1.10", "@types/jest": "29.5.14", "@types/mock-raf": "1.0.6", "@types/node": "24.10.1", "@types/prismjs": "1.26.5", "@types/react": "18.3.18", "@types/react-dom": "18.3.5", "@types/react-highlight-words": "0.20.0", "@types/react-transition-group": "4.4.12", "@types/react-window": "1.8.8", "@types/slate": "0.47.11", "@types/slate-plain-serializer": "0.7.5", "@types/slate-react": "0.22.9", "@types/tinycolor2": "1.4.6", "chance": "^1.1.13", "common-tags": "1.8.2", "css-loader": "7.1.2", "csstype": "3.1.3", "esbuild": "0.25.8", "fs-extra": "^11.2.0", "mock-raf": "1.0.1", "msw": "^2.10.2", "msw-storybook-addon": "^2.0.7", "react": "18.3.1", "react-dom": "18.3.1", "react-element-to-jsx-string": "^17.0.1", "react-select-event": "^5.1.0", "remark-gfm": "^4.0.1", "rimraf": "6.0.1", "rollup": "^4.60.1", "rollup-plugin-copy": "3.5.0", "rollup-plugin-esbuild": "6.2.1", "rollup-plugin-node-externals": "^8.0.0", "rollup-plugin-svg-import": "3.0.0", "sass-loader": "16.0.5", "storybook": "10.3.6", "style-loader": "4.0.0", "typescript": "6.0.2", "webpack": "^5.105.0" }, "peerDependencies": { "react": "^18.0.0", "react-dom": "^18.0.0" } }