{ "author": "Grafana Labs", "license": "AGPL-3.0-only", "private": true, "name": "grafana", "version": "11.0.0-pre", "repository": "github:grafana/grafana", "scripts": { "prebuild": "yarn plugin:build", "build": "yarn prebuild & NODE_ENV=production webpack --progress --config scripts/webpack/webpack.prod.js", "build:nominify": "yarn run build --env noMinify=1", "dev": "yarn prebuild & NODE_ENV=dev webpack --progress --color --config scripts/webpack/webpack.dev.js", "e2e": "./e2e/start-and-run-suite", "e2e:debug": "./e2e/start-and-run-suite debug", "e2e:dev": "./e2e/start-and-run-suite dev", "e2e:benchmark:live": "./e2e/start-and-run-suite benchmark live", "e2e:enterprise": "./e2e/start-and-run-suite enterprise", "e2e:enterprise:dev": "./e2e/start-and-run-suite enterprise dev", "e2e:enterprise:debug": "./e2e/start-and-run-suite enterprise debug", "e2e:playwright": "yarn playwright test", "e2e:playwright:ui": "yarn playwright test --ui", "e2e:playwright:report": "yarn playwright show-report", "test": "jest --notify --watch", "test:coverage": "jest --coverage", "test:coverage:changes": "jest --coverage --changedSince=origin/main", "test:accessibility-report": "./scripts/generate-a11y-report.sh", "lint": "yarn run lint:ts && yarn run lint:sass", "lint:ts": "eslint . --ext .js,.tsx,.ts --cache", "lint:sass": "yarn stylelint '{public/sass,packages}/**/*.scss' --cache", "test:ci": "mkdir -p reports/junit && JEST_JUNIT_OUTPUT_DIR=reports/junit jest --ci --reporters=default --reporters=jest-junit -w ${TEST_MAX_WORKERS:-100%}", "lint:fix": "yarn lint:ts --fix", "packages:build": "lerna run build --ignore '@grafana-plugins/*'", "packages:clean": "rimraf ./npm-artifacts && lerna run clean --parallel", "packages:prepare": "lerna version --no-push --no-git-tag-version --force-publish --exact", "packages:pack": "mkdir -p ./npm-artifacts && lerna exec --no-private -- yarn pack --out \"../../npm-artifacts/%s-%v.tgz\"", "packages:typecheck": "lerna run typecheck", "prettier:check": "prettier --check --list-different=false --log-level=warn \"**/*.{ts,tsx,scss,md,mdx,json}\"", "prettier:checkDocs": "prettier --check --list-different=false --log-level=warn \"docs/**/*.md\" \"*.md\" \"packages/**/*.{ts,tsx,scss,md,mdx,json}\"", "prettier:write": "prettier --list-different \"**/*.{js,ts,tsx,scss,md,mdx,json}\" --write", "start": "yarn themes:generate && yarn dev --watch", "start:noTsCheck": "yarn start --env noTsCheck=1", "start:noLint": "yarn start --env noTsCheck=1 --env noLint=1", "stats": "webpack --mode production --config scripts/webpack/webpack.prod.js --profile --json > compilation-stats.json", "storybook": "yarn workspace @grafana/ui storybook --ci", "storybook:build": "yarn workspace @grafana/ui storybook:build", "themes:generate": "esbuild --target=es6 ./scripts/cli/generateSassVariableFiles.ts --bundle --platform=node --tsconfig=./scripts/cli/tsconfig.json | node", "themes:usage": "eslint . --ext .tsx,.ts --ignore-pattern '*.test.ts*' --ignore-pattern '*.spec.ts*' --cache --rule '{ @grafana/theme-token-usage: \"error\" }'", "typecheck": "tsc --noEmit && yarn run packages:typecheck", "plugins:build-bundled": "find plugins-bundled -name package.json -not -path '*/node_modules/*' -execdir yarn build \\;", "watch": "yarn start -d watch,start core:start --watchTheme", "ci:test-frontend": "yarn run test:ci", "i18n:clean": "rimraf public/locales/en-US/grafana.json", "i18n:extract": "yarn run i18next -c public/locales/i18next-parser.config.js 'public/**/*.{tsx,ts}' 'packages/grafana-ui/**/*.{tsx,ts}' && yarn i18n:pseudo", "i18n:pseudo": "node ./public/locales/pseudo.js", "i18n:stats": "node ./scripts/cli/reportI18nStats.mjs", "betterer": "betterer", "betterer:json": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/bettererResultsToJson.ts", "betterer:merge": "betterer merge", "betterer:stats": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/reportBettererStats.ts", "betterer:issues": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateBettererIssues.ts", "generate-icons-bundle-cache-file": "node ./scripts/generate-icon-bundle.js", "plugin:build": "lerna run build --ignore=\"@grafana/*\" --ignore=\"@grafana-plugins/input-datasource\"", "plugin:build:commit": "lerna run build:commit --ignore=\"@grafana/*\" --ignore=\"@grafana-plugins/input-datasource\"", "plugin:build:dev": "lerna run dev --ignore=\"@grafana/*\" --ignore=\"@grafana-plugins/input-datasource\"" }, "grafana": { "whatsNewUrl": "https://grafana.com/docs/grafana/next/whatsnew/whats-new-in-v10-3/", "releaseNotesUrl": "https://grafana.com/docs/grafana/next/release-notes/" }, "devDependencies": { "@babel/runtime": "7.23.9", "@betterer/betterer": "5.4.0", "@betterer/cli": "5.4.0", "@betterer/eslint": "5.4.0", "@cypress/webpack-preprocessor": "6.0.1", "@emotion/eslint-plugin": "11.11.0", "@grafana/eslint-config": "7.0.0", "@grafana/eslint-plugin": "link:./packages/grafana-eslint-rules", "@grafana/plugin-e2e": "0.18.0", "@grafana/tsconfig": "^1.3.0-rc1", "@playwright/test": "^1.41.2", "@pmmmwh/react-refresh-webpack-plugin": "0.5.11", "@react-types/button": "3.9.2", "@react-types/menu": "3.9.7", "@react-types/overlays": "3.8.5", "@react-types/shared": "3.22.1", "@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1", "@swc/core": "1.4.2", "@swc/helpers": "0.5.6", "@testing-library/dom": "9.3.4", "@testing-library/jest-dom": "6.4.2", "@testing-library/react": "14.2.1", "@testing-library/user-event": "14.5.2", "@types/angular": "1.8.9", "@types/angular-route": "1.7.6", "@types/chance": "^1.1.3", "@types/common-tags": "^1.8.0", "@types/d3": "7.4.3", "@types/d3-force": "^3.0.0", "@types/d3-scale-chromatic": "3.0.3", "@types/debounce-promise": "3.1.9", "@types/diff": "^5", "@types/eslint": "8.56.2", "@types/eslint-scope": "^3.7.7", "@types/file-saver": "2.0.7", "@types/glob": "^8.0.0", "@types/google.analytics": "^0.0.46", "@types/gtag.js": "^0.0.19", "@types/history": "4.7.11", "@types/hoist-non-react-statics": "3.3.5", "@types/jest": "29.5.12", "@types/jquery": "3.5.29", "@types/js-yaml": "^4.0.5", "@types/jsurl": "^1.2.28", "@types/lodash": "4.14.202", "@types/logfmt": "^1.2.3", "@types/lucene": "^2", "@types/marked": "5.0.2", "@types/mousetrap": "1.6.15", "@types/node": "20.11.19", "@types/node-forge": "^1", "@types/ol-ext": "npm:@siedlerchr/types-ol-ext@3.2.4", "@types/papaparse": "5.3.14", "@types/pluralize": "^0.0.33", "@types/prismjs": "1.26.3", "@types/react": "18.2.55", "@types/react-beautiful-dnd": "13.1.8", "@types/react-dom": "18.2.19", "@types/react-grid-layout": "1.3.5", "@types/react-highlight-words": "0.16.7", "@types/react-router": "5.1.20", "@types/react-router-dom": "5.3.3", "@types/react-table": "7.7.19", "@types/react-test-renderer": "18.0.7", "@types/react-transition-group": "4.4.10", "@types/react-virtualized-auto-sizer": "1.0.4", "@types/react-window": "1.8.8", "@types/react-window-infinite-loader": "^1", "@types/redux-mock-store": "1.0.6", "@types/semver": "7.5.7", "@types/slate": "0.47.11", "@types/slate-plain-serializer": "0.7.5", "@types/slate-react": "0.22.9", "@types/systemjs": "6.13.5", "@types/testing-library__jest-dom": "5.14.9", "@types/tinycolor2": "1.4.6", "@types/uuid": "9.0.8", "@types/webpack-assets-manifest": "^5", "@types/yargs": "17.0.32", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", "autoprefixer": "10.4.17", "blob-polyfill": "7.0.20220408", "browserslist": "^4.21.4", "chance": "^1.0.10", "chrome-remote-interface": "0.33.0", "codeowners": "^5.1.1", "copy-webpack-plugin": "12.0.2", "core-js": "3.36.0", "css-loader": "6.10.0", "css-minimizer-webpack-plugin": "6.0.0", "cypress": "13.1.0", "cypress-file-upload": "5.0.8", "esbuild": "0.18.12", "esbuild-loader": "3.0.1", "esbuild-plugin-browserslist": "^0.11.0", "eslint": "8.56.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "27.8.0", "eslint-plugin-jsdoc": "48.1.0", "eslint-plugin-jsx-a11y": "6.8.0", "eslint-plugin-lodash": "7.4.0", "eslint-plugin-react": "7.33.2", "eslint-plugin-react-hooks": "4.6.0", "eslint-scope": "^8.0.0", "eslint-webpack-plugin": "4.0.1", "expose-loader": "5.0.0", "fork-ts-checker-webpack-plugin": "9.0.2", "glob": "10.3.10", "html-loader": "5.0.0", "html-webpack-plugin": "5.6.0", "http-server": "14.1.1", "i18next-parser": "8.12.0", "jest": "29.7.0", "jest-canvas-mock": "2.5.2", "jest-date-mock": "1.0.8", "jest-environment-jsdom": "29.7.0", "jest-fail-on-console": "3.1.2", "jest-junit": "16.0.0", "jest-matcher-utils": "29.7.0", "lerna": "8.1.2", "mini-css-extract-plugin": "2.8.0", "msw": "2.2.1", "mutationobserver-shim": "0.3.7", "ngtemplate-loader": "2.1.0", "node-notifier": "10.0.1", "postcss": "8.4.35", "postcss-loader": "8.1.0", "postcss-reporter": "7.1.0", "postcss-scss": "4.0.9", "prettier": "3.2.5", "react-refresh": "0.14.0", "react-select-event": "5.5.1", "react-simple-compat": "1.2.3", "react-test-renderer": "18.2.0", "redux-mock-store": "1.5.4", "rimraf": "5.0.5", "rudder-sdk-js": "2.48.1", "sass": "1.70.0", "sass-loader": "14.1.1", "style-loader": "3.3.4", "stylelint": "16.2.1", "stylelint-config-sass-guidelines": "11.0.0", "terser-webpack-plugin": "5.3.10", "testing-library-selector": "0.3.1", "tracelib": "1.0.1", "ts-jest": "29.1.2", "ts-node": "10.9.2", "typescript": "5.3.3", "webpack": "5.90.2", "webpack-bundle-analyzer": "4.10.1", "webpack-cli": "5.1.4", "webpack-dev-server": "5.0.2", "webpack-manifest-plugin": "5.0.0", "webpack-merge": "5.10.0", "yaml": "^2.0.0", "yargs": "^17.5.1" }, "dependencies": { "@daybrush/utils": "1.13.0", "@emotion/css": "11.11.2", "@emotion/react": "11.11.3", "@fingerprintjs/fingerprintjs": "^3.4.2", "@floating-ui/react": "0.26.9", "@glideapps/glide-data-grid": "^6.0.0", "@grafana-plugins/grafana-azure-monitor-datasource": "workspace:*", "@grafana-plugins/grafana-pyroscope-datasource": "workspace:*", "@grafana-plugins/grafana-testdata-datasource": "workspace:*", "@grafana-plugins/parca": "workspace:*", "@grafana-plugins/stackdriver": "workspace:*", "@grafana-plugins/tempo": "workspace:*", "@grafana-plugins/zipkin": "workspace:*", "@grafana/aws-sdk": "0.3.2", "@grafana/data": "workspace:*", "@grafana/e2e-selectors": "workspace:*", "@grafana/experimental": "1.7.10", "@grafana/faro-core": "^1.3.6", "@grafana/faro-web-sdk": "^1.3.6", "@grafana/flamegraph": "workspace:*", "@grafana/google-sdk": "0.1.2", "@grafana/lezer-logql": "0.2.3", "@grafana/monaco-logql": "^0.0.7", "@grafana/o11y-ds-frontend": "workspace:*", "@grafana/prometheus": "workspace:*", "@grafana/runtime": "workspace:*", "@grafana/scenes": "^3.5.0", "@grafana/schema": "workspace:*", "@grafana/sql": "workspace:*", "@grafana/ui": "workspace:*", "@kusto/monaco-kusto": "^7.4.0", "@leeoniya/ufuzzy": "1.0.14", "@lezer/common": "1.2.1", "@lezer/highlight": "1.2.0", "@lezer/lr": "1.3.3", "@locker/near-membrane-dom": "0.13.6", "@locker/near-membrane-shared": "0.13.6", "@locker/near-membrane-shared-dom": "0.13.6", "@msagl/core": "^1.1.16", "@msagl/parser": "^1.1.16", "@opentelemetry/api": "1.7.0", "@opentelemetry/exporter-collector": "0.25.0", "@opentelemetry/semantic-conventions": "1.21.0", "@popperjs/core": "2.11.8", "@prometheus-io/lezer-promql": "^0.37.0-rc.1", "@react-aria/dialog": "3.5.12", "@react-aria/focus": "3.16.2", "@react-aria/overlays": "3.21.1", "@react-aria/utils": "3.23.2", "@react-awesome-query-builder/core": "6.4.2", "@react-awesome-query-builder/ui": "6.4.2", "@reduxjs/toolkit": "1.9.5", "@remix-run/router": "^1.5.0", "@testing-library/react-hooks": "^8.0.1", "@types/react-resizable": "3.0.7", "@types/trusted-types": "2.0.7", "@types/webpack-env": "1.18.4", "@visx/event": "3.3.0", "@visx/gradient": "3.3.0", "@visx/group": "3.3.0", "@visx/scale": "3.5.0", "@visx/shape": "3.5.0", "@visx/tooltip": "3.3.0", "@welldone-software/why-did-you-render": "8.0.1", "angular": "1.8.3", "angular-bindonce": "0.3.1", "angular-route": "1.8.3", "angular-sanitize": "1.8.3", "ansicolor": "1.1.100", "baron": "3.0.3", "brace": "0.11.1", "calculate-size": "1.1.1", "centrifuge": "5.0.1", "classnames": "2.5.1", "combokeys": "^3.0.0", "comlink": "4.4.1", "common-tags": "1.8.2", "d3": "7.8.5", "d3-force": "3.0.0", "d3-scale-chromatic": "3.0.0", "dangerously-set-html-content": "1.1.0", "date-fns": "3.3.1", "debounce-promise": "3.1.2", "diff": "^5.1.0", "emotion": "11.0.0", "eventemitter3": "5.0.1", "fast-deep-equal": "^3.1.3", "fast-json-patch": "3.1.1", "file-saver": "2.0.5", "framework-utils": "^1.1.0", "history": "4.10.1", "hoist-non-react-statics": "3.3.2", "i18next": "^23.0.0", "i18next-browser-languagedetector": "^7.0.2", "immer": "10.0.3", "immutable": "4.3.5", "jquery": "3.7.1", "js-yaml": "^4.1.0", "json-markup": "^1.1.0", "json-source-map": "0.6.1", "jsurl": "^0.1.5", "kbar": "0.1.0-beta.45", "leven": "^4.0.0", "lodash": "4.17.21", "logfmt": "^1.3.2", "lru-cache": "10.2.0", "lru-memoize": "^1.1.0", "lucene": "^2.1.1", "marked": "12.0.0", "marked-mangle": "1.1.7", "memoize-one": "6.0.0", "ml-regression-polynomial": "^3.0.0", "ml-regression-simple-linear": "^3.0.0", "moment": "2.30.1", "moment-timezone": "0.5.45", "monaco-editor": "0.34.0", "monaco-promql": "1.7.4", "mousetrap": "1.6.5", "mousetrap-global-bind": "1.1.0", "moveable": "0.53.0", "nanoid": "^5.0.4", "node-forge": "^1.3.1", "ol": "7.4.0", "ol-ext": "4.0.14", "papaparse": "5.4.1", "pluralize": "^8.0.0", "prismjs": "1.29.0", "prop-types": "15.8.1", "pseudoizer": "^0.1.0", "rc-cascader": "3.21.2", "rc-drawer": "7.1.0", "rc-slider": "10.5.0", "rc-time-picker": "3.7.3", "rc-tree": "5.8.5", "re-resizable": "6.9.11", "react": "18.2.0", "react-beautiful-dnd": "13.1.1", "react-diff-viewer": "^3.1.1", "react-dom": "18.2.0", "react-draggable": "4.4.6", "react-dropzone": "^14.2.3", "react-grid-layout": "1.4.4", "react-highlight-words": "0.20.0", "react-hook-form": "^7.49.2", "react-i18next": "^12.0.0", "react-inlinesvg": "3.0.2", "react-loading-skeleton": "3.4.0", "react-moveable": "0.56.0", "react-popper": "2.3.0", "react-redux": "8.1.3", "react-resizable": "3.0.5", "react-responsive-carousel": "^3.2.23", "react-router": "5.3.3", "react-router-dom": "5.3.3", "react-router-dom-v5-compat": "^6.10.0", "react-select": "5.8.0", "react-split-pane": "0.1.92", "react-table": "7.8.0", "react-transition-group": "4.4.5", "react-use": "17.5.0", "react-virtual": "2.10.4", "react-virtualized-auto-sizer": "1.0.22", "react-window": "1.8.10", "react-window-infinite-loader": "1.0.9", "react-zoom-pan-pinch": "^3.3.0", "redux": "4.2.1", "redux-thunk": "2.4.2", "regenerator-runtime": "0.14.1", "reselect": "4.1.8", "rxjs": "7.8.1", "selecto": "1.26.3", "semver": "7.6.0", "slate": "0.47.9", "slate-plain-serializer": "0.7.13", "slate-react": "0.22.10", "symbol-observable": "4.0.0", "tether-drop": "https://github.com/torkelo/drop", "tinycolor2": "1.6.0", "tslib": "2.6.2", "tween-functions": "^1.2.0", "uplot": "1.6.30", "uuid": "9.0.1", "visjs-network": "4.25.0", "webpack-assets-manifest": "^5.1.0", "whatwg-fetch": "3.6.20", "xlsx": "https://cdn.sheetjs.com/xlsx-0.19.1/xlsx-0.19.1.tgz" }, "resolutions": { "underscore": "1.13.6", "@types/slate": "0.47.11", "ngtemplate-loader/loader-utils": "^2.0.0", "semver@~7.0.0": "7.5.4", "semver@7.3.4": "7.5.4", "debug@npm:^0.7.2": "2.6.9", "debug@npm:^0.7.4": "2.6.9", "slate-dev-environment@^0.2.2": "patch:slate-dev-environment@npm:0.2.5#.yarn/patches/slate-dev-environment-npm-0.2.5-9aeb7da7b5.patch", "react-split-pane@0.1.92": "patch:react-split-pane@npm:0.1.92#.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch", "@storybook/blocks@7.4.5": "patch:@storybook/blocks@npm%3A7.4.5#./.yarn/patches/@storybook-blocks-npm-7.4.5-5a2374564a.patch", "history@4.10.1": "patch:history@npm%3A4.10.1#./.yarn/patches/history-npm-4.10.1-ee217563ae.patch", "history@^4.9.0": "patch:history@npm%3A4.10.1#./.yarn/patches/history-npm-4.10.1-ee217563ae.patch" }, "workspaces": { "packages": [ "packages/*", "plugins-bundled/internal/*", "public/app/plugins/*/*" ] }, "engines": { "node": ">= 20" }, "packageManager": "yarn@4.1.0", "dependenciesMeta": { "prettier@3.2.5": { "unplugged": true } } }