mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
112 lines
3.4 KiB
JSON
112 lines
3.4 KiB
JSON
{
|
|
"author": "Grafana Labs",
|
|
"license": "AGPL-3.0-only",
|
|
"name": "@grafana/prometheus",
|
|
"version": "12.1.0-pre",
|
|
"description": "Grafana Prometheus Library",
|
|
"keywords": [
|
|
"typescript",
|
|
"prometheus",
|
|
"grafana"
|
|
],
|
|
"sideEffects": false,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/grafana/grafana.git",
|
|
"directory": "packages/grafana-prometheus"
|
|
},
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"files": [
|
|
"./dist",
|
|
"./README.md",
|
|
"./CHANGELOG.md",
|
|
"./LICENSE_AGPL"
|
|
],
|
|
"publishConfig": {
|
|
"main": "./dist/cjs/index.cjs",
|
|
"module": "./dist/esm/index.mjs",
|
|
"types": "./dist/types/index.d.ts",
|
|
"access": "public"
|
|
},
|
|
"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 ./package.tgz",
|
|
"i18n-extract": "i18next --config src/locales/i18next-parser.config.cjs",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/css": "11.13.5",
|
|
"@floating-ui/react": "0.27.13",
|
|
"@grafana/data": "12.1.0-pre",
|
|
"@grafana/e2e-selectors": "12.1.0-pre",
|
|
"@grafana/i18n": "12.1.0-pre",
|
|
"@grafana/plugin-ui": "0.10.7",
|
|
"@grafana/runtime": "12.1.0-pre",
|
|
"@grafana/schema": "12.1.0-pre",
|
|
"@grafana/ui": "12.1.0-pre",
|
|
"@hello-pangea/dnd": "18.0.1",
|
|
"@leeoniya/ufuzzy": "1.0.18",
|
|
"@lezer/common": "1.2.3",
|
|
"@lezer/highlight": "1.2.1",
|
|
"@lezer/lr": "1.4.2",
|
|
"@prometheus-io/lezer-promql": "0.304.2",
|
|
"@reduxjs/toolkit": "2.5.1",
|
|
"@types/debounce-promise": "3.1.9",
|
|
"@types/lodash": "4.17.15",
|
|
"@types/react": "18.3.18",
|
|
"@types/react-dom": "18.3.5",
|
|
"@types/react-highlight-words": "0.20.0",
|
|
"@types/react-window": "1.8.8",
|
|
"@types/semver": "7.7.0",
|
|
"@types/uuid": "10.0.0",
|
|
"debounce-promise": "3.1.2",
|
|
"lodash": "4.17.21",
|
|
"moment": "2.30.1",
|
|
"moment-timezone": "0.5.47",
|
|
"monaco-promql": "1.7.4",
|
|
"pluralize": "8.0.0",
|
|
"prismjs": "1.30.0",
|
|
"react-highlight-words": "0.21.0",
|
|
"react-use": "17.6.0",
|
|
"react-window": "1.8.11",
|
|
"rxjs": "7.8.2",
|
|
"semver": "7.7.2",
|
|
"uuid": "11.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@grafana/tsconfig": "^2.0.0",
|
|
"@rollup/plugin-dynamic-import-vars": "2.1.5",
|
|
"@rollup/plugin-image": "3.0.3",
|
|
"@rollup/plugin-json": "6.1.0",
|
|
"@rollup/plugin-node-resolve": "16.0.0",
|
|
"@testing-library/jest-dom": "6.6.3",
|
|
"@testing-library/react": "16.2.0",
|
|
"@testing-library/user-event": "14.6.1",
|
|
"@types/jest": "29.5.14",
|
|
"@types/node": "22.15.0",
|
|
"@types/pluralize": "^0.0.33",
|
|
"@types/prismjs": "1.26.5",
|
|
"esbuild": "0.25.0",
|
|
"i18next-parser": "9.3.0",
|
|
"jest": "29.7.0",
|
|
"jest-environment-jsdom": "29.7.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-select-event": "5.5.1",
|
|
"rimraf": "6.0.1",
|
|
"rollup": "^4.22.4",
|
|
"rollup-plugin-esbuild": "6.2.0",
|
|
"rollup-plugin-node-externals": "^8.0.0",
|
|
"testing-library-selector": "0.3.1",
|
|
"typescript": "5.8.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
}
|
|
}
|